Created
December 15, 2009 16:21
-
-
Save andymatuschak/257053 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type Call = Call { funcName :: String, | |
funcParams :: [Integer] } | |
parser :: Parser Call | |
parser = do | |
name <- ident | |
params <- commaSep integer | |
return (Call name params) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment