Arie,

Ok, so when do I use nub instead of 'map head.group.sort' ?

Well, for one thing, |map head . group . sort| produces a sorted list, wheras |nub| preserves the order of the input list.

Cheers,

  Stefan
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to