jfmengels / elm-review-simplify

Provides elm-review rules to simplify your Elm code
https://package.elm-lang.org/packages/jfmengels/elm-review-simplify/latest/
BSD 3-Clause "New" or "Revised" License
20 stars 9 forks source link

Simplify not (a < b) to a >= b #126

Closed jfmengels closed 1 year ago

jfmengels commented 1 year ago

Simplify not (a < b) to a >= b, and similarly for >, <=, >=, == and /=

Solves part of https://github.com/jfmengels/elm-review-simplify/issues/115

@lue-bird your operator range work came in handy again :muscle:

(I'm really surprised I/we didn't come up with this idea before :thinking: )