Skip to content

Instantly share code, notes, and snippets.

@shigemk2
Created February 18, 2015 11:24
Show Gist options
  • Save shigemk2/b652ae2a9c55f9f4316f to your computer and use it in GitHub Desktop.
Save shigemk2/b652ae2a9c55f9f4316f to your computer and use it in GitHub Desktop.
import Data.List
main = do
print $ nub [3,3,3,4,5] -- [3,4,5]
print $ nub [3,3,3,4,5] -- [3,4,5]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment