Name:
Anonymous
2011-03-14 6:23
Is Ruby an acceptable Lisp? It has everything you need except macros.
Name:
Anonymous
2011-03-14 10:10
In Ruby, due to its handling of === equality, the statement can be used to test for variable’s class:
case input
when Array: puts 'input is an Array!'
when Hash: puts 'input is a Hash!'
end