3 ms·
CLIs are (or can/should be) composable. This is what really makes functional programming languages so powerful -- they give you a few connective frameworks, an
by pklausler 9y ago
CLIs are (or can/should be) composable. This is what really makes functional programming languages so powerful -- they give you a few connective frameworks, and a box of components that can be glued into them, and one can compose great things from simple things.
Or, in other words, "|" in the shell is "." in Haskell (with operands reversed).
- dualogy 9y ago> Or, in other words, "|" in the shell is "." in Haskell (with operands reversed). Well for real power you also throw partial application and arbitrary sub-lambdas / case-switches / let-binders into this mix and now that basic 'pluggable' composability truly shines =)
- alkonaut 9y agoIt's really powerful in one sense (the composing part) and so limiting because you immediately force applications to talk in lowest common denominator speak. It's exactly like the dot in haskell but you have no types. Haskell without types is pretty terrible.