29 May
2009
29 May
'09
6:35 a.m.
Hi Everybody (especially Parsec Creator), is there any reason why float parses only positive numbers? I find following defition: float = lexeme floating <?> "float" floating = do{ n <- decimal ; fractExponent n } If floating was defined like floating = do{ n <- integer ... or floating = do{ n <- int ... instead then it would parse negative ones as well. Best regards, Bartek