robrix / Madness

Recursive Descent Into Madness
MIT License
291 stars 17 forks source link

`none` parser #35

Closed robrix closed 9 years ago

robrix commented 9 years ago
let none: Parser<()>.Function = const(nil)
robrix commented 9 years ago

This is or empty in derivative parsers.

robrix commented 9 years ago

This totally exists. Specifically, it was added by @sharplet in #82.