Document possible CyclesInDeclaration error when using defaults
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 35/100
- Issue 类型
- 文档
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
调研方向
Read the Foldable instance documentation and the linked CycleInDeclaration error documentation to locate where this case belongs. Reproduce the reported foldl = foldlDefault cycle and confirm the suggested fold f = foldlDefault f form resolves it; done means the documentation explains the problem and its fix with a small example.
由索引模型根据 Issue 内容生成。
描述
I just bumped into the problem mentioned here https://stackoverflow.com/a/38490637/3237351 and the solution was also indeed to go from foldl = foldlDefault to fold f = foldlDefault f. It feels like this could be better documented in the Foldable instance. Maybe by simply giving a trivial example like the one in SO.
Possibly adding this case to the error documentation at https://github.com/purescript/documentation/blob/master/errors/CycleInDeclaration.md would also be a good idea. I'll submit an issue there too.
- 主要语言
- PureScript
- 星标
- 51
- 派生
- 57
- 平均合并
- 3 天 14 分钟
- 30 天内合并 PR
- 1
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
purescript/purescript-foldable-traversable 的其他 Issue
-
type: breaking change
难度 5/5 一周以上 新手友好度 36/100
purescript/purescript-foldable-traversable#151 · 1 条评论 · 3 个 reaction ·
-
Add `count`未关闭status: accepted type: enhancement
难度 2/5 1-3 小时 新手友好度 35/100
purescript/purescript-foldable-traversable#140 · 7 条评论 ·
-
`Data.Traversable` re-exports `sum` from `Data.Foldable` but not `product`可能已有人在做 @triallax 于 1959 天前认领。 未关闭type: enhancement
难度 2/5 1-3 小时 新手友好度 25/100
purescript/purescript-foldable-traversable#137 · 5 条评论 ·
-
foldrM未关闭type: enhancement
难度 3/5 1-2 天 新手友好度 35/100
purescript/purescript-foldable-traversable#136 · 3 条评论 ·
-
purs-0.15 type: breaking change
难度 3/5 1-2 天 新手友好度 25/100
purescript/purescript-foldable-traversable#132 · 4 条评论 ·
查看 purescript/purescript-foldable-traversable 的全部 Issue
相似的 Issue
-
1.3 documentation
难度 1/5 1-3 小时 新手友好度 78/100
-
documentation Needs Human Review
难度 2/5 1-3 小时 新手友好度 72/100
NQCD/NQCDynamics.jl#526 ·
-
bug
难度 1/5 1 小时以内 新手友好度 75/100
MetrolistGroup/Metrolist#4554 ·
维护者通常 1 天内回复
-
intake mcp-intake needs-human-review priority:high type:bug
难度 2/5 1-3 小时 新手友好度 66/100
Ikalus1988/MisakaNet#4903 · 2 条评论 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复