Data.List.NonEmpty.intersect and Data.List.NonEmpty.intersectBy throw when intersection empty
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 1/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Lĩnh vực
- backend
Hướng nghiên cứu
Start by comparing Data.List.NonEmpty.intersect and intersectBy with the corresponding NonEmptyArray functions, as the issue suggests. Review the discussion in #184 and the linked pull request #217 before deciding what outcome is intended. Done means the intersection functions handle empty results consistently with the chosen API direction.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
I think they should be changed to match the implementation of the corresponding functions in NonEmptyArray, i.e. return a List instead of a NonEmptyList.
Alternatively, I saw the discussion in #184 about potentially removing the set functions from Array, List, NonEmptyList, NonEmptyArray, etc. and replacing them with an ordered set type. This might be more evidence supporting those who want to remove them.
- Ngôn ngữ chính
- PureScript
- Star
- 61
- Fork
- 50
- Merge trung bình
- 2 ngày 6 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-lists
-
ZipList is BindĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
purescript/purescript-lists#219 · 1 bình luận · 1 reaction ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 48/100
purescript/purescript-lists#218 ·
-
type: enhancement
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
purescript/purescript-lists#197 · 1 bình luận ·
-
type: enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 24/100
purescript/purescript-lists#194 · 5 bình luận ·
-
type: enhancement
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
purescript/purescript-lists#192 · 4 bình luận · 1 reaction ·
Tất cả issue của purescript/purescript-lists
Issue tương tự
-
ManageSieve proxy: a backend's NO/BYE greeting is skipped as a capability line and reported as EOFĐang mởbug
Độ 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 1 ngày
-
Mend: dependency security vulnerability
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
ManageIQ/manageiq-pods#1476 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
mcp: typed tool handlers lose wrapped JSON-RPC errorsCó thể làm lại được Pull request cho issue này đã bị đóng mà không được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
modelcontextprotocol/go-sdk#1529 · 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 66/100
FinanceFlash/unvibecode#818 ·
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 70/100