Sha256: 8217263ecbcd21c133d31f31d57b70b24766e697162e7023ef95aec15ef66b04
Contents?: true
Size: 298 Bytes
Versions: 2
Compression:
Stored size: 298 Bytes
Contents
(define cons (native_function " Proc.new() do |arguments, interpreter| arg_1 = interpreter.evaluate(arguments[0]) arg_2 = interpreter.evaluate(arguments[1]).dup if arg_2.is_a? Array arg_2.unshift arg_1 else [arg_1, arg_2] end end "))
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
flea-0.1.1 | lib/flea/standard_library/cons.scm |
flea-0.1.0 | lib/flea/standard_library/cons.scm |