1, 1]) (2..6).each do |x| Rinda::rinda_eval(ts) do |place| _, _, prev = place.read(['fact', x - 1, nil]) ['fact', x, prev * x] end end p ts.read(['fact', 6, nil]) ɹ֊ΛٻΊΔϓϩάϥϜ λωʹͳΔλϓϧΛ͓͖ɺ nͷ֊ΛٻΊΔϓϩηεΛevalͰ࡞Γ·͢ n-1ͷ݁ՌΛread͠ɺͨ݁͡ՌΛwrite͠·͢ ʢಛʹ͘ͳ͍Ͱ͢ʣ