patch applied (packages/polyparse): Remove initial-space discard
from the numeric parsers.
Malcolm Wallace
Malcolm.Wallace at cs.york.ac.uk
Thu Feb 26 10:27:56 EST 2009
Thu Feb 26 07:21:11 PST 2009 Malcolm.Wallace at cs.york.ac.uk
* Remove initial-space discard from the numeric parsers.
It was incorrect inside parseInt etc, because individual parts of a
Float are parsed as ints, but there should be no spaces internal to a
Float. So the discards need to be moved further out - to the instance
decls for Int and Float etc.
M ./src/Text/Parse.hs -16 +15
View patch online:
http://darcs.haskell.org/packages/polyparse/_darcs/patches/20090226152111-6871e-cfb349befa3129ae2762ddffeb4f7fb55dd508f7.gz
More information about the Cvs-libraries
mailing list