Join Slack
Hi folks, I was just looking at the `curry()` extension methods on functions of arity 2 in arrow-cor...
# arrow
m
marc0der
07/07/2020, 3:36 PM
Hi folks, I was just looking at the
curry()
extension methods on functions of arity 2 in
arrow-core:
https://github.com/arrow-kt/arrow-core/blob/master/arrow-core-data/src/main/kotlin/arrow/core/predef.kt#L5
marc0der
07/07/2020, 3:37 PM
I require the same functionality on higher arity functions, am I missing something or is this already available somewhere? If not, would you accept a PR to add more of these extensions? (up to say arity 22 for the sake of completeness)
f
fteychene
07/07/2020, 3:41 PM
They exists in
arrow-syntax
https://github.com/arrow-kt/arrow-core/blob/master/arrow-syntax/src/main/kotlin/arrow/syntax/function/currying.kt
They go until arity 22
m
marc0der
07/07/2020, 3:54 PM
Thanks
@fteychene
! And so I was missing something 😁
👍 1
31
Views
Open in Slack
Previous
Next
kotlinlang
A modern programming language that makes developers happier.
Powered by