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

Obviously, bear in mind that (comp foo second) may be preferable.


Slightly different use-case, as:

    (comp foo second)
Is equivalent to:

    (fn [[_ x]] (foo x))
Not:

    (fn [_ x] (foo x))


+1.

How about:

   (comp foo second list)




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

Search: