{"description":"\u300c\u30d1\u30b9\u30ab\u30eb\u306e\u4e09\u89d2\u5f62\u300d\u3068\u3044\u3046\u306e\u306f\u3053\u3046\u3044\u3046\u3084\u3064\u3067\u3059\u306d\u3002 1 1 1 1 2 1 1 3 3 1 1 4 6 4 1 1 5 10 10 5 1 1 6 15 20 15 6 1 1 7 21 35 35 21 7 1 \u3053\u306e\u51fa\u529b\u3092\u76ee\u6a19\u306b\u3001Haskell \u3067\u66f8\u3044\u3066\u307f\u307e\u3059\u3002\u4ee5\u524d\u306b Ruby \u3067\u66f8\u3044\u3066\u307f\u307e\u3057\u305f\u3002\u305d\u306e\u30b3\u30fc\u30c9\u3092\u518d\u63b2\u3057\u307e\u3057\u3087\u3046\u3002 pascal = ->(n) { each_cons = ->(ar) { (ar.size < 2) ? [] : [ar[0] + ar[1]] + each_cons[ar.drop(1)] } n.zero? ? [1] : [1] + each_cons[pa\u2026","height":"190","blog_url":"https://obelisk.hatenablog.com/","version":"1.0","provider_url":"https://hatena.blog","image_url":"https://images-fe.ssl-images-amazon.com/images/I/51P6NdS4IGL._SL160_.jpg","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fobelisk.hatenablog.com%2Fentry%2F2018%2F04%2F06%2F081623\" title=\"\u30d1\u30b9\u30ab\u30eb\u306e\u4e09\u89d2\u5f62\uff08Haskell\uff09 - Camera Obscura\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","url":"https://obelisk.hatenablog.com/entry/2018/04/06/081623","categories":["Haskell","\u304b\u3093\u305f\u3093\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0"],"type":"rich","published":"2018-04-06 08:16:23","author_url":"https://blog.hatena.ne.jp/obelisk2/","width":"100%","title":"\u30d1\u30b9\u30ab\u30eb\u306e\u4e09\u89d2\u5f62\uff08Haskell\uff09","blog_title":"Camera Obscura","provider_name":"Hatena Blog","author_name":"obelisk2"}