Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update io.ts (#154)
Fix mistake in IO documentation
  • Loading branch information
dmfilipenko authored and alexandru committed Jul 28, 2019
1 parent 0c315b6 commit d6003e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/funfix-effect/src/io.ts
Expand Up @@ -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!
Expand Down

0 comments on commit d6003e7

Please sign in to comment.