haskell / haskell/binary

Implement a delimiter for Get's bytesRead

Aperta
#52 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Haskell
Stelle
120
Fork
70
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Basically something like `delimit :: Get a -> Get a` that resets the `bytesRead` counter on the inner `Get`. This would primarily be useful in conjunction with the `isolate` combinator (which can then act undelimited by default, and we can modify it to be delimited if needed) or the alignment combinator I propose in #50.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.