> Further, do monads warn the user when there is an ambiguity in the "grammar"?
I'm not aware of a parser combinator library that does this. The way you build parser combinators in Haskell doesn't exactly preclude it from being done but it wouldn't be totally trivial either.
Googling for it didn't turn up much that wasn't a veiled reference to this paper:
I'm not aware of a parser combinator library that does this. The way you build parser combinators in Haskell doesn't exactly preclude it from being done but it wouldn't be totally trivial either.
Googling for it didn't turn up much that wasn't a veiled reference to this paper:
http://richard.myweb.cs.uwindsor.ca/PUBLICATIONS/PADL_08.pdf