Kombinatoren für Parser (I)

zahl :: Parser Char Integer = do 
   zs <- many1 ziffer 
   return $ foldl ( \ a z -> 10*a+z ) 0 zs



2010-10-12