2006-04-19 lambdaキーワード Ruby f = lambda do |x| x * x end puts f[5] #=> 25追記:proc関数をlambdaという「キーワード」にした、という意味。id:argius:20060420:1145533951