https://kotlinlang.org logo
#arrow
Title
k

kartoffelsup

03/01/2019, 9:59 PM
Is there a bug in the FpToTheMax sample? (https://github.com/arrow-kt/arrow/blob/master/modules/docs/arrow-examples/src/test/kotlin/arrow/FpToTheMax.kt) It does not ask:
"Do you want to continue, $name?"
. However, if you change
val (_) = putStrLn("Do you want to continue, $name?")
to
putStrLn("Do you want to continue, $name?").bind()
it works.
3 Views