Arc Forumnew | comments | leaders | submitlogin
mappend and maps
6 points by shiro 6113 days ago | 2 comments
I can't tell the (operational) difference between these two:

    (def mappend (f . args)
      (apply + nil (apply map f args)))

    (def maps (fn . args)
      (apply join (apply map fn args)))


3 points by pg 6113 days ago | link

Oops, looks like a dup.

-----

1 point by treef 6113 days ago | link

i was documenting it and could not figure out what mappend did differently

-----