Some suggested naming changes
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
- 20/100
Hướng nghiên cứu
Read the issue’s naming proposals for folds, scans, parsers, and related types. Decide which naming scheme should be consistent across these APIs, then identify the affected definitions and tests; done means the chosen names are applied consistently and the relevant tests pass.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Because of termination in folds and scans there are two variants - one-shot and repeated.
fold: one-shot foldfoldMany=>groups: repeated folds, consistent with groupsWhilefoldManySepBy=>groupsSepByfoldMaybes: maybe stream folded to a Maybe; one-shotgroupMaybes: maybe stream folded to Maybes in groupsfoldEithers: either stream folded to an Either; one-shotgroupEithers: either stream foled to Eithers in groupsscanlMany=>rescanl: restart the scan after it terminates
Changing foldMany to groups makes it shorter and it is still intuitive and consistent with some other names. Alternatively, we can leave it as is and name groupMaybes, groupEtihers to foldManyMaybes, foldManyEithers etc. Or just use inconsistent naming, groups at some place and foldMany at others.
We can leave parseMany as is or rename to parseGroups?
Similar changes can be made to Folds and Parsers.
-- group* can also be named as refold* but group is more intuitive
-- Refold can be named as Infold (suggesting extra input or nesting fusion - like Unfold) instead to avoid confusion.
- Ngôn ngữ chính
- Haskell
- Star
- 926
- Fork
- 71
- Merge trung bình
- 6 giờ 49 phút
- Pull request đã merge (30 ngày)
- 3
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọ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 composewell/streamly
-
takeInterval yields nothing, dropInterval drops nothingCó thể đã có người làm @GuillaumedeVolpiano đã nhận 1 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
composewell/streamly#3271 ·
-
Parser: many accepts input that ends inside an elementCó thể đã có người làm @GuillaumedeVolpiano đã nhận 1 ngày trước. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 52/100
composewell/streamly#3270 ·
-
aspect:api
Độ khó 4/5 1-2 ngày Mức phù hợp với người mới 48/100
composewell/streamly#3206 ·
-
Rooted, unrooted path semanticsĐang mởapi:breaking aspect:api aspect:filesystem
Độ khó 4/5 1-2 ngày Mức phù hợp với người mới 35/100
composewell/streamly#3203 ·
-
type:performance
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 32/100
composewell/streamly#3200 · 2 bình luận ·
Tất cả issue của composewell/streamly
Issue tương tự
-
bug desktop
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
simplex-chat/simplex-chat#8291 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[BUG]: C# programs with top-level statements fail to compileCó thể đã có người làm @AsyncNigam đã nhận hôm nay. Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
compiler-explorer/compiler-explorer#9625 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
needs triage type: enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 3 ngày
-
reflex-0.10Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 62/100
commercialhaskell/stackage#8180 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
OpenZeppelin/canton-contracts#140 ·
Maintainer thường phản hồi trong vòng 1 ngày