Closed lue-bird closed 1 year ago
Adds the Maybe.mapN simplifications from #2
Maybe.mapN
-- the following simplifications for map2 work for all Maybe.mapN Maybe.map2 f firstMaybe Nothing --> Nothing Maybe.map2 f (Just a) (Just b) --> Just (f a b)
The branch can be tried out by running:
elm-review --template jfmengels/elm-review-simplify/preview
Adds the
Maybe.mapN
simplifications from #2