Remove Arbitrary?
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 12/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Lĩnh vực
- testing
Hướng nghiên cứu
Read the discussion in issue #63 and this issue's comments to understand the arguments around removing Arbitrary, deriving generators with generic-rep, and CoArbitrary. No implementation files or tests are named; first establish whether the discussion has reached a decision. Done means a settled design for how generator derivation and CoArbitrary should work.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
I'm adding this to track the discussion going on in #63.
The argument for removing Arbitrary is that instances are almost never canonical, so we almost always end up needing newtypes.
A possible downside is that we'd still need a class like Arbitrary if we want to derive generators using generic-rep. That means that we'd need some way to reflect a Gen as an instance, or we're back to Arbitrary instances anyway. CoArbitrary is also much nicer with type classes.
- Ngôn ngữ chính
- PureScript
- Star
- 108
- Fork
- 42
- Merge trung bình
- 2 ngày 23 giờ
- Pull request đã merge (30 ngày)
- 1
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của purescript/purescript-quickcheck
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
purescript/purescript-quickcheck#136 · 1 bình luận ·
-
Lazy List Arbitrary InstanceCó thể đã có người làm @eviefp đã nhận 2206 ngày trước. Đang mởtype: enhancement
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 20/100
purescript/purescript-quickcheck#111 · 2 bình luận · 2 reaction ·
-
type: documentation
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 55/100
-
purs-0.15 type: breaking change
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 20/100
purescript/purescript-quickcheck#104 · 12 bình luận ·
-
ShrinkingĐang mởtype: enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 15/100
purescript/purescript-quickcheck#103 · 6 bình luận · 4 reaction ·
Tất cả issue của purescript/purescript-quickcheck
Issue tương tự
-
[prefer-expect-resolves] autofix leaves a stray ")" when the awaited expression is parenthesizedĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
jest-community/eslint-plugin-jest#2052 ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
johanhaleby/occurrent#1505 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
jeanibarz/knowledge-base-mcp-server#1262 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
future-agi/future-agi#4092 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày