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:12

Ruby also returns a value that can be assigned to a variable, and doesn’t actually require the case to have any parameters (acting a bit like an else if statement):

catfood = case
          when cat.age <= 1: junior
          when cat.age > 10: senior
          else               normal
          end

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