discussion: describe relation between Foldable and Unfoldable and there indexed versions
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 25/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 领域
- backend
调研方向
Read the discussion about the proposed relationship between Foldable and Unfoldable and their indexed variants. The issue gives example expressions and type signatures, but no files, tests, or decided design; first determine whether the proposal is wanted and what the signatures should be before implementation.
由索引模型根据 Issue 内容生成。
描述
I had an idea:
What if instead of
Map.fromFoldable $ Map.toUnfoldable someMap
You could do:
unfoldWithIndex $ foldWithIndex someMap
where
foldWithIndex ∷ ∀ g f idx a
. Unfoldable g
⇒ FolableWithIndex idx f
⇒ f idx a
→ g (idx × a)
unfoldWithIndex ∷ ∀ g f idx a
. Foldable g
⇒ UnfoldableWithIndex idx f
⇒ g (idx × a)
→ f idx a
p.s. names foldWithIndex and unfoldWithIndex are arbitrary just types meter
- 主要语言
- 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 条评论 ·
-
type: documentation
难度 2/5 1-3 小时 新手友好度 35/100
purescript/purescript-foldable-traversable#139 · 1 条评论 ·
-
`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 条评论 ·
查看 purescript/purescript-foldable-traversable 的全部 Issue
相似的 Issue
-
ManageSieve proxy: a backend's NO/BYE greeting is skipped as a capability line and reported as EOF未关闭bug
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
Mend: dependency security vulnerability
难度 2/5 1-3 小时 新手友好度 62/100
ManageIQ/manageiq-pods#1476 ·
维护者通常 1 天内回复
-
mcp: typed tool handlers lose wrapped JSON-RPC errors可能重新可做 关联的 PR 已关闭且未合并。 未关闭
难度 2/5 1-3 小时 新手友好度 85/100
modelcontextprotocol/go-sdk#1529 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 66/100
FinanceFlash/unvibecode#818 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 70/100