Skip to content
Permalink
Browse files

Update io.ts (#154)

Fix mistake in IO documentation
  • Loading branch information...
dmfilipenko authored and alexandru committed Jul 28, 2019
1 parent 0c315b6 commit d6003e778ee59a439ad345ef59f48c80db46905f
Showing with 1 addition and 1 deletion.
  1. +1 −1 packages/funfix-effect/src/io.ts
@@ -140,7 +140,7 @@ import {
*
* ```typescript
* function retryOnFailure<A>(times: number, io: IO<A>): IO<A> {
* return source.recoverWith(err => {
* return io.recoverWith(err => {
* // No more retries left? Re-throw error:
* if (times <= 0) return IO.raise(err)
* // Recursive call, yes we can!

0 comments on commit d6003e7

Please sign in to comment.
You can’t perform that action at this time.