by shigemk2

当面は技術的なことしか書かない

nub

Haskell : nub

removes duplicates elements from a list.

Main > nub [1,2,3,2,1]
[1,2,3]
Main > nub "AAAABBBBBBBBBBBCCCC"
"ABC"