jackfirth / resyntax

A Racket refactoring engine
Apache License 2.0
56 stars 10 forks source link

Comparison simplification is wrong #144

Closed samdphillips closed 3 years ago

samdphillips commented 3 years ago

resyntax tried to help but gave me bad advice.

Comparison functions like < accept multiple arguments, so this condition can be simplified.
  47 (or (< base 2) (> base 36))

  47 (< 36 base 2)