Numeric read seems too strict

David Feuer david.feuer at
Mon Sep 12 17:53:32 UTC 2016

I noticed the other day that

readMaybe (fix ('a':)) :: Maybe Double

is an infinite loop. The problem is that the lexer doesn't know that it's
expected to lex a number. It just keeps scanning and scanning to get to the
end of the endless token. Shall we fix this?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Libraries mailing list