Make StreamK based types as well using MkType module

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

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
28/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
haskell
Lĩnh vực
backend

Hướng nghiên cứu

Start by reading the existing MkType module and the Nested type in the Stream module; the issue does not name file paths or tests. Work out how to move shared functionality into streamly-core and add options for generating StreamK based types and optional mtl instances. Done means the macros can generate the proposed Nested and FairNested variants with the requested instance options.

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

Mô tả

  • We can move the common functionality to streamly-core, so that we can generate the types defined in streamly-core also using the same macros.
  • The Nested type in the Stream module can be generated using this with mtl instances like MonadReader, MonadState etc. we can have an option to generate mtl instances or not. In streamly-core we can omit those.
  • We can also have an option to use StreamK instead of Stream so that StreamK based Nested, FairNested types can be generated using these.
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

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 composewell/streamly

Tất cả issue của composewell/streamly

Issue tương tự

Thêm issue về Haskell

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.