Skip to content

Instantly share code, notes, and snippets.

@ktvoelker
Created September 7, 2010 04:27
Show Gist options
  • Save ktvoelker/567867 to your computer and use it in GitHub Desktop.
Save ktvoelker/567867 to your computer and use it in GitHub Desktop.
foo1 :: Parser Foo
foo1 = do
bar <- int
baz <- int
-- This line is boring:
return Foo { bar = bar, baz = baz }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment