
19 Sep
2005
19 Sep
'05
11:20 a.m.
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é