4 ms·
I would agree with this. The ability to do things like complicated functional composition, 'flip', and other higher-order function tricks is in large part facil
by thinkpad20 11y ago
I would agree with this. The ability to do things like complicated functional composition, 'flip', and other higher-order function tricks is in large part facilitated by Haskell's powerful and expressive type system, and of course established idioms and nice syntax which facilitates using those techniques in real-world code in a clear way. Unfortunately, without those things I feel like this comes across as a bunch of "cute tricks" rather than actual code you'd want to use in a code base (outside of personal projects perhaps). That, and the particulars of the functions are different because they are aimed at multi-parameter functions rather than currying, which makes their behavior different from their Haskell counterparts anyway.