Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Ruby

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

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List