Skip to content

Instantly share code, notes, and snippets.

@andymatuschak
Created December 15, 2009 16:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andymatuschak/257053 to your computer and use it in GitHub Desktop.
Save andymatuschak/257053 to your computer and use it in GitHub Desktop.
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