Posted By

deepsoul on 08/15/09


map list-of-functions

Versions (?)

Who likes this?

2 people have marked this snippet as a favorite


Reverse map

 / Published in: Haskell

pam is some sort of reverse map (hence the name). While map applies a function to a list of arguments, pam applies a list of functions to the same argument.

  1. pam :: [a -> b] -> a -> [b]
  2. pam f x = map g f
  3. where g h = h x

Report this snippet  


RSS Icon Subscribe to comments
Posted By: Jacky888 on August 6, 2018

a577vl root bestandroidtoroot

You need to login to post a comment.