Take a look in Data.List, in particular "nub", "unzip", and "map".
You may also be interested in this function from the Prelude: fst :: (a,b) -> a fst (a,_) = a -- ryan _______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
