Scan and fold type enhancements
まだ誰も着手していません。
評価
調査の方向性
Read the linked issues #1988, #2806, #2822, #1759, and #1514 to understand the pending problems, then inspect the scan, fold, and parser implementations. The issue proposes separate initial, step, and final return types and looping in final states, but does not identify files, tests, or a completion criterion; clarify the design before attempting implementation.
索引モデルが issue の本文から書いたものです。
説明
We have a few pending problems to solve:
- #1988
- #2806
- #2822
- #1759
- #1514
Scan has four operations, fold has the first three of these:
- initial
- step
- final
- extract
In parsers, we are using separate return types for initial/step/final. We can do the same for scans and folds as well. This will allow us more freedom to loop in Initial and Final states as well. Initial and Final both can have a Continue constructor if required and the driver can call them in a loop. For now we only need looping in Final in case of scans, just like in Parsers. In general, we can even switch between Step and Final, in Step we consume input whereas in Final we just produce without consuming input - this is essentially generalization to the Pipe type.
- 主要言語
- Haskell
- スター
- 926
- フォーク
- 71
- 平均マージ
- 6時間 49分
- マージ済み PR(30日)
- 3
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
composewell/streamly のほかの issue
-
takeInterval yields nothing, dropInterval drops nothing対応中かも @GuillaumedeVolpiano が 1 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
composewell/streamly#3271 ·
-
Parser: many accepts input that ends inside an element対応中かも @GuillaumedeVolpiano が 1 日前に担当しました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 52/100
composewell/streamly#3270 ·
-
aspect:api
難易度 4/5 1〜2日 初心者へのやさしさ 48/100
composewell/streamly#3206 ·
-
api:breaking aspect:api aspect:filesystem
難易度 4/5 1〜2日 初心者へのやさしさ 35/100
composewell/streamly#3203 ·
-
type:performance
難易度 4/5 3〜5日 初心者へのやさしさ 32/100
composewell/streamly#3200 · コメント 2 件 ·
composewell/streamly の issue をすべて見る
似ている issue
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
alunduil/siren-json.hs#322 ·
メンテナーはふだん 1 日以内に返信
-
Dead link in readmeオープン
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
commercialhaskell/rio#287 ·
-
wide-word-0.2オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
commercialhaskell/stackage#8181 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug desktop
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
simplex-chat/simplex-chat#8291 ·
メンテナーはふだん 1 日以内に返信
-
[BUG]: C# programs with top-level statements fail to compile対応中かも @AsyncNigam が今日担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
compiler-explorer/compiler-explorer#9625 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信