Closed lue-bird closed 9 months ago
2 simple withDefault composition checks
withDefault
Maybe.withDefault a << Just --> identity Result.withDefault a << Ok --> identity
+ a new helper that makes adding similar checks easy.
The branch can be tried out by running:
elm-review --template jfmengels/elm-review-simplify/preview
2 simple
withDefault
composition checks+ a new helper that makes adding similar checks easy.