`Data.Traversable` re-exports `sum` from `Data.Foldable` but not `product`

Đang mở
#137 5 bình luận 0 reaction 0 người được giao Xem trên GitHub

@triallax đang làm issue này rồi.

Từ ngày 3/7/2021.

  • #138 của @triallax — đang mở

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ 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

The issue points to the re-exports changed in PR #131 and says the product name conflicts with another import. Read that diff and the open PR #138 to see the current proposed change and its status. The issue gives no file or test path; done means resolving whether Data.Traversable should re-export product and ensuring the import conflict is handled.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

type: enhancement

I find this to be a bit strange. Is there any difference that warrants one being re-exported but not the other, or was this an oversight?

Edit: this change appears to have been made in #131: https://github.com/purescript/purescript-foldable-traversable/pull/131/files#diff-4f5e121551e9770d2d2d5b35e21259033cc208f148e65fb21fc5ca87a3ecd0b3L15. product was the only function to be removed from the re-exports, so I think this was an actual oversight.

Edit 2: actually, this was removed because of an import of another, different product: https://github.com/purescript/purescript-foldable-traversable/pull/131/files#diff-4f5e121551e9770d2d2d5b35e21259033cc208f148e65fb21fc5ca87a3ecd0b3R22

Ngôn ngữ chính
PureScript
Star
51
Fork
57
Merge trung bình
3 ngày 14 phút
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

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của purescript/purescript-foldable-traversable

Tất cả issue của purescript/purescript-foldable-traversable

Issue tương tự

Thêm issue về Backend & API Design

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.