Skip to content

Instantly share code, notes, and snippets.

@fmap
Last active August 29, 2015 14:02
Show Gist options
  • Save fmap/256cfb92f799da4624cb to your computer and use it in GitHub Desktop.
Save fmap/256cfb92f799da4624cb to your computer and use it in GitHub Desktop.
allOf :: Enum a => Bounded a => [a]
allOf = [minBound..maxBound]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment