Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

Think about typed do-notation

未關閉
#392 18 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

評估

難度
5/5
預估耗時
一週以上
新手友好度
20/100
Issue 類型
功能
描述清晰度
需要釐清
活躍度
停滯
技術堆疊
python

研究方向

先閱讀已移除的 @pipeline 討論和相關的 Failure-types issue #90,然後將列出的問題與 IOResult、FutureResult、Maybe 和 Result 進行比較。該 issue 未指定任何檔案、測試或實作入口;在專案就具體的型別化 do-notation 設計達成共識之前,工作都不算完成。

由索引模型根據 Issue 內容生成。

描述

enhancement help wanted question

I have removed @pipeline in 0.14 release.
It had lots of problems:

  1. It was not working properly with Failure types: #90
  2. It had problems with unwrapping complex values like IOResult and FutureResult
  3. It had problems unwrapping containers of different types (you were not allowed to unwrap both Maybe and Result in the same @pipeline
  4. It was encouraging imperative code in a functional codebase

I would love to have some solution instead! But, no ideas about how it should work or look like. So, any ideas are welcome.

主要語言
Python
星號
4.4k
分支
154
平均合併
3 小時 5 分鐘
30 天內合併 PR
22

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

dry-python/returns 的其他 Issue

查看 dry-python/returns 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。