Closed lue-bird closed 9 months ago
Free simplifications enabled by the recently added onWrapAlwaysReturnsIncomingCompositionCheck
onWrapAlwaysReturnsIncomingCompositionCheck
List.sum << List.singleton --> identity List.product << List.singleton --> identity List.concat << List.singleton --> identity Platform.Cmd.batch << List.singleton --> identity Platform.Sub.batch << List.singleton --> identity
The branch can be tried out by running:
elm-review --template jfmengels/elm-review-simplify/preview
Free simplifications enabled by the recently added
onWrapAlwaysReturnsIncomingCompositionCheck