https://kotlinlang.org logo
#functional
Title
# functional
s

simon.vergauwen

08/16/2022, 7:13 AM
Hey @Muhammad Talha, not sure if you've seen #arrow which explores and offers a lot of utilities to do FP in Kotlin. I would say in general partial application is not very Kotlin idiomatic, and traditional DI with class constructors and modules is more idiomatic. An example, https://github.com/nomisRev/ktor-arrow-example/blob/main/src/main/kotlin/io/github/nomisrev/env/Dependencies.kt
👍 2
m

Muhammad Talha

08/16/2022, 7:51 AM
Thanks a ton, this is an awesome reference!
e

Emil Kantis

08/16/2022, 7:51 AM
Indeed, big thanks Simon ! 🌟
2 Views