Is there a bug in the FpToTheMax sample? (<https:/...
# arrow
k
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.