Skip to content

Instantly share code, notes, and snippets.

@moonmaster9000
Created August 14, 2010 12:50
Show Gist options
  • Save moonmaster9000/524272 to your computer and use it in GitHub Desktop.
Save moonmaster9000/524272 to your computer and use it in GitHub Desktop.
-- is there a GHC language extension that would
-- let me break up function definitions like this:
f1 some_pattern = expression1
f2 some_other_pattern = expression2
f1 yet_another_pattern = expression3
f2 another_pattern = expression4
--instead of having to group them together like this:
f1 some_pattern = expression1
f1 yet_another_pattern = expression3
f2 another_pattern = expression4
f2 some_other_pattern = expression2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment