1. map (flip foo 5) my_list_of_lists_of_doubles 2. map (`foo` 5) my_list_of_lists_of_doubles 3. map (\x->foo x 5) my_list_of_lists_of_doubles 4. [foo x 5 | x <- my_list_of_lists_of_doubles] 5. map (foo `flip` 5) my_list_of_lists_of_doubles
Thank you all, for your answers. This nice discussion made even more clear to me how powerful Haskell is.
Cheers, André _______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
