Hi all I am a newbie in Kotlin world and I would l...
# arrow
z
Hi all I am a newbie in Kotlin world and I would like to use arrow. I have experience with functional programming(Haskell, Scala). What I am trying to solve is, to make the following code snippet more typesafe with arrow:
Copy code
fun Program.read(id: UUID): UserMapper =
    queries.read(id)?.toMapper() ?: throw UserNotFoundException()