Skip to content

Instantly share code, notes, and snippets.

@tylerholien
Created March 13, 2014 08:43
Show Gist options
  • Save tylerholien/9524506 to your computer and use it in GitHub Desktop.
Save tylerholien/9524506 to your computer and use it in GitHub Desktop.
pairToList :: (a,a) -> [a]
pairToList = (flip map) [fst,snd] . flip ($)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment