3 ms·
I love the idea of using underscore to represent partial currying. Somewhat related, here's a similar PR for native support of this feature in Julia: https://g
by blindseer 5y ago
I love the idea of using underscore to represent partial currying.
Somewhat related, here's a similar PR for native support of this feature in Julia: https://github.com/JuliaLang/julia/pull/24990 https://github.com/JuliaLang/julia/pull/24990.
In my opinion, I'd love to see this baked in as part of the language. Getting buy in from my team to use this in production is just not going to happen. But cool package though!
- cgrimm1994 5y agoThanks! I would love to see it baked in as well. It'd be nice if, (1) all functions defaulted to behaving like better_partial.partial decorated functions and (2) similar to Ellipsis, there was some other special sentinel that we could use in place of _ (to avoid conflicting with the convention of using _ for unused variables).