Hi

I have a list
>main [(1,2,3),(4,5,6),(3,4,5)]

and i want all Elements at the 1. Pos.  in new List:
>[1,4,3]

You might want to take a look at list comprehensions, they fit very
nicely for this sort of problem.

Thanks

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

Reply via email to