Hi -
This isn't a pure "Haskell" question, but I'm trying to use the
Parsec library to parse out space separated numbers, which could be integers
or floats and either positive or negative. I was using the "naturalOrFloat"
lexeme parser from the ParsecToken module, until I realized that it doesn't
seem to handle negative integers. I've been poking with trying to pair the
integer and float lexeme parsers with try() blocks, but I ain't no parsing
expert and am not making good progress.
Any help/hints would be appreciated!
thanks,
-andrew
---
Andrew Harris [EMAIL PROTECTED]
_______________________________________________
Haskell-Cafe mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell-cafe