{"description":"\u3053\u3093\u306b\u3061\u306f\u3001chiba\u3067\u3059! \u79c1\u306fCommon Lisp\u304b\u3089\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3092\u59cb\u3081\u305f\u305b\u3044\u304b\u8fd4\u308a\u5024\u3092\u4f7f\u3063\u305f\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30bf\u30a4\u30eb\u304c\u597d\u304d\u306a\u306e\u3067\u3059\u304c\u3001Ruby\u306f\u591a\u5024\u3068\u914d\u5217\u3068\u53ef\u5909\u9577\u5f15\u6570\u304c\u7d71\u5408\u3055\u308c\u305f\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u3066\u3001\u306a\u304b\u306a\u304b\u4f7f\u3044\u52dd\u624b\u304c\u826f\u304f\u3001Ruby\u306e\u597d\u304d\u306a\u3068\u3053\u308d\u306e\u4e00\u3064\u3067\u3059\u3002\u3044\u307e\u306e\u3068\u3053\u308d\u4e00\u3064\u3067\u3059\u3002 x = 3 [0, *if x.even? [1, 2, 3] else [:a, :b, :c] end] ;\u21d2 [0, :a, :b, :c] def iota(n) if n.zero? 0 else [n, *iota(n - 1)] end end iota(10) ;\u21d2 [10, 9, 8, 7, 6\u2026","type":"rich","url":"https://tech.actindi.net/2010/01/21/3473072867","image_url":null,"published":"2010-01-21 23:27:47","categories":["chiba","Common","Lisp","\u611b"],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.actindi.net%2F2010%2F01%2F21%2F3473072867\" title=\"Ruby\u306e\u597d\u304d\u306a\u3068\u3053\u308d - \u30a2\u30af\u30c8\u30a4\u30f3\u30c7\u30a3\u958b\u767a\u8005\u30d6\u30ed\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_name":"Hatena Blog","author_name":"dev-actindi","provider_url":"https://hatena.blog","height":"190","blog_title":"\u30a2\u30af\u30c8\u30a4\u30f3\u30c7\u30a3\u958b\u767a\u8005\u30d6\u30ed\u30b0","blog_url":"https://tech.actindi.net/","title":"Ruby\u306e\u597d\u304d\u306a\u3068\u3053\u308d","author_url":"https://blog.hatena.ne.jp/dev-actindi/","version":"1.0","width":"100%"}