Hacker News new | past | comments | ask | show | jobs | submit login

Of course it is, at least conceptually. See various lisps’ threading macros (which are of course functions over code; but they correspond exactly to mapping over a series of functions, each one supplying input to the next).



I totally agree, I shouldn't have been so absolute in my statement. But JS is not a lisp. The |> foo bar baz syntax doesn't jive with any other syntax in JS, but foo |> bar |> baz does.




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

Search: