Haskell's Data.List in erlang.