Numeric read seems too strict
David Feuer
david.feuer at gmail.com
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: <http://mail.haskell.org/pipermail/libraries/attachments/20160912/a3221764/attachment.html>
More information about the Libraries
mailing list