Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Why wait?

  user=> (defmacro mapp [part coll & colls]
          `(map (partial ~@part) ~coll ~@colls))
  #'user/mapp
  user=> (mapp (* 2) [1 2 3])
  (2 4 6)


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: