lib/nydp/compiler.rb in nydp-0.1.15 vs lib/nydp/compiler.rb in nydp-0.2.0

- old
+ new

@@ -22,14 +22,14 @@ compile_pair expression, bindings end end def self.maybe_cons a, b - Nydp.NIL.is?(a) ? b : cons(a, b) + Nydp::NIL.is?(a) ? b : cons(a, b) end def self.compile_each expr, bindings - if Nydp.NIL.is?(expr) + if Nydp::NIL.is?(expr) expr elsif pair?(expr) maybe_cons compile(expr.car, bindings), compile_each(expr.cdr, bindings) else compile(expr, bindings)