Skip to content

Instantly share code, notes, and snippets.

View diasandre's full-sized avatar
🏠
Working from home

André Dias da Silva diasandre

🏠
Working from home
View GitHub Profile
@diasandre
diasandre / arrow-kt-partial-method-reference.kt
Last active April 21, 2021 00:32
arrow-kt partial method reference using partially1 and curried
import arrow.core.curried
import arrow.core.partially1
fun main() {
val application = Application()
val value = "value"
val usePartially1 = value
.let((application::functionWith2parameters::partially1)("first"))