Skip to content

Commit

Permalink
Merge pull request #272 from mattphillips/patch-1
Browse files Browse the repository at this point in the history
Fix typos
  • Loading branch information
andywhite37 authored May 27, 2020
2 parents 95febbe + cf66b00 commit fcc01f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Relude_IO.re
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ let async: 'a 'e. ((result('a, 'e) => unit) => unit) => t('a, 'e) =
onDone => Async(onDone);

/**
[IO.fromOption] onverts an [option('a)] to an [IO.t('a, 'e)] by providing a
[IO.fromOption] converts an [option('a)] to an [IO.t('a, 'e)] by providing a
callback to use when the [option] is [None].
Because the option is already evaluated, no effort is made to suspend any
Expand Down Expand Up @@ -310,7 +310,7 @@ let apply: 'a 'b 'e. (t('a => 'b, 'e), t('a, 'e)) => t('b, 'e) =
let (<*>) = apply;

/**
[IO.flatMap] pplies an effectful function ['a => IO.t('b, 'e)] on the ['a] value
[IO.flatMap] applies an effectful function ['a => IO.t('b, 'e)] on the ['a] value
inside the [IO] to produce an [IO.t('b, 'e)].
*/
let flatMap: 'a 'b 'e. ('a => t('b, 'e), t('a, 'e)) => t('b, 'e) =
Expand Down

0 comments on commit fcc01f6

Please sign in to comment.