the.bay.news

Like "deriving Read" but faster?

Haskell Community
Like "deriving Read" but faster?
I could use a parser that is equivalent to the one produced by “deriving Read” but … A) faster, and using less space (Data.Text(.Lazy) instead of String) B) streaming (parse a long list literal “[0,1,2, … ]” in constant space, produce the first cons of the result right after reading “[0”) C) with some minimal error reporting (e.g., some prefix of not-consumed input) Perhaps attoparsec with some form of early-commited choice? I do have something (only for A) at https://codeberg.org/jwaldmann/...

I could use a parser that is equivalent to the one produced by “deriving Read” but … A) faster, and using less space (Data.Text(.Lazy) instead of String) B) streaming (parse a…

0 comments

Sign in to join the discussion — your thebay.events account works here.

No comments yet.