I'm familiar with partial and comp from learning functional programming in JavaScript. E.g. Ramda or lodash/fp where everything was curried. I do find myself thinking in terms of composition and partial application so built in functions for both are a huge plus for me. I actually wish there was a shorter syntax for partial.
Loved the article. Found myself using some of it in code I wrote today.
Depending on your editor, you can make comp and partial appear as a single symbol (still typing them out for the most part as far as I know). I have a coworker using spacemacs that has set this up for comp, partial, and fn.
3
u/foobarbazquix May 26 '17
I'm familiar with partial and comp from learning functional programming in JavaScript. E.g. Ramda or lodash/fp where everything was curried. I do find myself thinking in terms of composition and partial application so built in functions for both are a huge plus for me. I actually wish there was a shorter syntax for partial.
Loved the article. Found myself using some of it in code I wrote today.