Closed lue-bird closed 9 months ago
Adds the Result.fromMaybe simplifications listed in #2
Result.fromMaybe
Result.fromMaybe x (Just a) --> (Ok a) Result.fromMaybe x Nothing --> Err x -- not included in summary for example Result.fromMaybe x << Just --> Ok
The branch can be tried out by running:
elm-review --template jfmengels/elm-review-simplify/preview
Adds the
Result.fromMaybe
simplifications listed in #2