[Haskell-cafe] Newbie syntax question

Bulat Ziganshin bulatz at HotPOP.com
Sat Sep 17 04:28:57 EDT 2005


Hello André,

Friday, September 16, 2005, 10:55:16 PM, you wrote:

AVAdC>     map (foo 5) my_list_of_lists_of_doubles

AVAdC>     But how to do that (if possible) when I invert the parameters list ?!

third, most iniversal solution is to create anonymous lambda function:

map (\x->foo x 5) my_list_of_lists_of_doubles

of course, it is not needed for such trivial example, really i also
prefer `foo` for this case



-- 
Best regards,
 Bulat                            mailto:bulatz at HotPOP.com





More information about the Haskell-Cafe mailing list