Do not commute multiplication when normalizing
1 files changed, 1 insertions(+), 2 deletions(-) M lib/dhall/ast.rb
M lib/dhall/ast.rb => lib/dhall/ast.rb +1 -2
@@ 34,8 34,7 @@ module Dhall end def *(other) - case other - when Natural + if other.is_a?(Natural) && other.zero? other * self else Operator::Times.new(lhs: self, rhs: other)