Hacker News new | ask | show | jobs
by asragab 3055 days ago
The rhyme for the altered Parser: A parser for things is a function from strings to potentially a pair of that thing and its string.
1 comments

At the end they mention the yoctoparsec library which abstracts away the String to a free stream type.

    type Parser b t a = FreeT ((->) t) b a
I'd like to see someone make a rhyme out of that.
A parser just means A function from streams To maybe a pair, One in which there Is the stream, and the thing that it means
You should win a Grammy for that.