On 2/22/07, Gene A <[EMAIL PROTECTED]> wrote:
 The functions as I originally defined them are probably
easier for someone new to Haskell to understand what was going on than the
rather stark ($ a) in the final factoring of the function... Though the
final resulting function is far the cleaner for that notation!

This is what I came up with when I was experimenting:

map (\f -> f $ a) fs

which then helped me to see it could be rewritten as just map ($ a) fs

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

Reply via email to