Join Slack
Powered by
is it possible to do partial application with KFun...
# announcements
r
robstoll
07/21/2019, 4:19 PM
is it possible to do partial application with KFunction1 (to reduce it to KFunction0)
c
christophsturm
07/21/2019, 4:39 PM
something like that?
https://realjenius.com/2017/08/24/kotlin-curry/
r
robstoll
07/21/2019, 4:40 PM
this one I am aware of. But I would like to do the same on a meta level.
robstoll
07/21/2019, 4:40 PM
partial application for KFunction1<T, R> so that I get a KFunction0<R>
c
christophsturm
07/21/2019, 4:42 PM
something like that?
https://github.com/MarioAriasC/funKTionale/blob/master/funktionale-currying/src/main/kotlin/org/funktionale/currying/namespace.kt
r
robstoll
07/21/2019, 4:43 PM
no, thats still partial application for Function1 but not for KFunction1
c
christophsturm
07/21/2019, 4:50 PM
did you see this keep?
https://github.com/Kotlin/KEEP/pull/89
r
robstoll
07/21/2019, 5:03 PM
no
Open in Slack
Previous
Next