lib/lisp/interpreter/core/boolean.rb in lisp-interpreter-0.4.0 vs lib/lisp/interpreter/core/boolean.rb in lisp-interpreter-0.4.1

- old
+ new

@@ -28,10 +28,10 @@ end def not(other) raise arg_err_build 1, other.size if other.size != 1 valid = check_for_bool other[0] - raise data_type_err '<boolean>', other[0].type unless valid + raise type_err '<boolean>', other[0].type unless valid other[0] == '#t' ? '#f' : '#t' end def if(other) raise arg_err_build 3, 0 if other.empty?