CatQueue: prepend

Đang mở
#32 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ó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
35/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 refers to the Semigroup instance and append implementation discussed in pull request #30, but names no files or tests. Read that pull request and locate the CatQueue operations to assess how a prepend using reverse and foldl cons would fit. Done means the left queue's elements are prepended in order; the issue does not specify expected tests or behavior beyond that.

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

Mô tả

status: needs more info

The Semigroup instance and append in https://github.com/purescript/purescript-catenable-lists/pull/30 are implemented as foldl snoc that appends successive elements from the CatQueue on the right. In most cases, that's probably what you'd want. One could also implement a prepend as a reverse and foldl cons of elements from the left CatQueue.

Ngôn ngữ chính
PureScript
Star
22
Fork
11
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

  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-catenable-lists

Tất cả issue của purescript/purescript-catenable-lists

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.