scalaz / ioeffect

An effect monad for Scalaz 7.2
Other
55 stars 9 forks source link

Minor typo in readme #41

Closed danielyli closed 6 years ago

danielyli commented 6 years ago

Readme currently reads:

  def run(args: List[String]): IO[Void, ExitStatus] =
    myAppLogic.attempt.map(_.fold(_ => 1)(_ => 0)).map(ExitStatus.ExitNow(_))

It should read:

  def run(args: List[String]): IO[Void, ExitStatus] =
    myAppLogic.attempt.map(_.fold(_ => 1, _ => 0)).map(ExitStatus.ExitNow(_))
fommil commented 6 years ago

please send a PR to fix this. The README has an edit button on it.

fommil commented 6 years ago

ah! You did :smile: