Scan and fold type enhancements
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 24/100
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- Haskell
- Stelle
- 926
- Fork
- 71
- Merge medio
- 6h 49m
- PR unite (30g)
- 3
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di composewell/streamly
-
takeInterval yields nothing, dropInterval drops nothingForse già presa @GuillaumedeVolpiano l’ha presa 1 giorno fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
composewell/streamly#3271 ·
-
Parser: many accepts input that ends inside an elementForse già presa @GuillaumedeVolpiano l’ha presa 1 giorno fa. Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 52/100
composewell/streamly#3270 ·
-
aspect:api
Difficoltà 4/5 1-2 giorni Idoneità per principianti 48/100
composewell/streamly#3206 ·
-
api:breaking aspect:api aspect:filesystem
Difficoltà 4/5 1-2 giorni Idoneità per principianti 35/100
composewell/streamly#3203 ·
-
type:performance
Difficoltà 4/5 3-5 giorni Idoneità per principianti 32/100
composewell/streamly#3200 · 2 commenti ·
Tutte le issue di composewell/streamly
Issue simili
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
alunduil/siren-json.hs#322 ·
I maintainer di solito rispondono entro 1 giorno
-
Dead link in readmeAperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
commercialhaskell/rio#287 ·
-
wide-word-0.2Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
commercialhaskell/stackage#8181 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
bug desktop
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
simplex-chat/simplex-chat#8291 ·
I maintainer di solito rispondono entro 1 giorno
-
[BUG]: C# programs with top-level statements fail to compileForse già presa @AsyncNigam l’ha presa oggi. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
compiler-explorer/compiler-explorer#9625 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno