Example usage missing in docs
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 1/5
- Thời gian dự kiến
- Dưới một giờ
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Lĩnh vực
- documentation
Hướng nghiên cứu
The issue points to the Data.Time module but names no documentation file or test. Read its docs and locate the main data type’s documentation; add a construction example based on the snippet in the issue. Done when the docs show a clear example of constructing a Time value.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Even a single example of how to construct the main data type in a module would be really helpful.
For example in Data.Time, you need a lot of understanding and experience to figure out that you're supposed to do something like:
import Data.Enum (toEnum)
myTime2 :: Maybe Time
myTime2 = Time <$> toEnum 11 <*> toEnum 30 <*> toEnum 59 <*> toEnum 213
I didn't have that experience... (Helpful people on #purescript-beginners Slack suggested the above.)
Would you consider adding that kind of example to the docs?
- Ngôn ngữ chính
- PureScript
- Star
- 51
- Fork
- 48
- 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
- Đọ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-datetime
-
Week number of the YearĐang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 25/100
purescript/purescript-datetime#102 · 5 bình luận ·
-
Add constructors for Date / Time components using type-level integersCó thể làm lại được Pull request cho issue này đã bị đóng mà không được merge. Đang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 15/100
purescript/purescript-datetime#96 · 1 bình luận ·
-
type: documentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 35/100
purescript/purescript-datetime#92 · 1 bình luận ·
-
status: needs more info
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
purescript/purescript-datetime#90 · 3 reaction ·
-
Addjust by Month, YearĐang mởstatus: needs more info
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 20/100
Tất cả issue của purescript/purescript-datetime
Issue tương tự
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
kubescape/node-agent#1099 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[workshop-sim] Improve: Provide a concrete example and activity checks in agentic intro (step 5)Đang mởfeedback simulation workshop
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
githubnext/gh-aw-workshop#5715 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
README Quick Start query command fails, and doctor points to a missing Prerequisites sectionĐang mởdocumentation type/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
area-multi-tenancy p1-recommended technical-debt
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Docs: 2 broken linksĐang mởBug pulumi/pulumi-terraform-bridge R2 S2
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
pulumi/pulumi-terraform-bridge#3713 ·
Maintainer thường phản hồi trong vòng 1 ngày