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

It's not because you can use any function with pipeline and with dots chaining you can use only methods returned by previous function call.


That is false; you cannot chain functions that do not return a value that is suitable as an argument to the next function.

a.this().that() requires that a.this() returns an object on which .that() can be invoked.

(that (this a)) requires that (this a) returns an object that is a suitable argument to that.




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

Search: