
30 Sep
2009
30 Sep
'09
10:54 a.m.
On Tue, Sep 29, 2009 at 12:54:21AM -0700, Anatoly Yakovenko wrote:
number = do { num <- natural ; return $ num } main = do txt <- hGetContents stdin print $ parse number "stdin" txt
why doesn't that work?
Could you be a little more specific? What are you expecting to happen, and what happens instead/what error message do you get? -Brent