diff --git a/README.md b/README.md index 507146c..01c60be 100644 --- a/README.md +++ b/README.md @@ -561,7 +561,7 @@ val tryMonad = Try.monad() fun stackSafeTestProgram(n: Int, stopAt: Int): Free = tryMonad.bindingStackSafe { val v = Try {n + 1}.bind() - val r = if (v < stopAt) stackSafeTestProgram(M, v, stopAt).bind() else Try { v }.bind() + val r = if (v < stopAt) stackSafeTestProgram(v, stopAt).bind() else Try { v }.bind() r }