News for hackers. Stuff that matters.
Re:A generically typed pipe function in TypeScript by sfvisser on Sunday August 07, 2022 @01:17PM (#32378009)
Yes, more akin to what you’d normally call ‘compose’. Fun stuff nonetheless!
Re:A generically typed pipe function in TypeScript by crooked-v on Sunday August 07, 2022 @07:17PM (#32380871)
`compose` would actually imply

  compose(fourth, third, second)(first)
Re:A generically typed pipe function in TypeScript by mo_po2 on Sunday August 07, 2022 @01:39PM (#32378163)
I agree. Calling it pipe adds confusion to FL understanding for newcomers.
Re:A generically typed pipe function in TypeScript by ledauphin on Sunday August 07, 2022 @08:21PM (#32381256)
pipe is a left to right compose. this is standard nomenclature in many similar libraries.