lib/lisp/interpreter/core/boolean.rb in lisp-interpreter-0.5.2 vs lib/lisp/interpreter/core/boolean.rb in lisp-interpreter-0.5.3
- old
+ new
@@ -35,9 +35,9 @@
end
def if(other)
raise arg_err_build 3, 0 if other.empty?
expr, other = find_next_value other
- raise arg_err_build 3, other.size + 1 if other.size != 2
+ raise arg_err_build 3, other.size + 1 if other.size < 2
if_helper expr, other
end
end