number = do { num <- natural
            ; return $ num
            }
main = do
   txt <- hGetContents stdin
   print $ parse number "stdin" txt


why doesn't that work?
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to