{"description":"obelisk.hatenablog.com \u3053\u3053\u3067 Ruby \u3067\u3084\u3063\u3066\u3044\u308b\u3053\u3068\u3092\u3001Elixir \u3067\u3084\u3063\u3066\u307f\u307e\u3057\u305f\u3002 \u3053\u3046\u3044\u3046\u306e\u3092\u8868\u793a\u3057\u307e\u3059\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 \u30b3\u30fc\u30c9 pascal_triangle.exs defmodule PascalTriangle do def draw(1), do: [1] def draw(2), do: [1, 1] def draw(n) do [1] ++ (draw(n - 1) |> contract) ++\u2026","author_name":"obelisk2","provider_name":"Hatena Blog","blog_title":"Camera Obscura","blog_url":"https://obelisk.hatenablog.com/","published":"2022-03-12 15:45:36","width":"100%","version":"1.0","height":"190","title":"\u30d1\u30b9\u30ab\u30eb\u306e\u4e09\u89d2\u5f62\uff08Elixir\uff09","image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fobelisk.hatenablog.com%2Fentry%2F2022%2F03%2F12%2F154536\" title=\"\u30d1\u30b9\u30ab\u30eb\u306e\u4e09\u89d2\u5f62\uff08Elixir\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>","categories":["Elixir","\u6570\u5b66"],"provider_url":"https://hatena.blog","type":"rich","url":"https://obelisk.hatenablog.com/entry/2022/03/12/154536","author_url":"https://blog.hatena.ne.jp/obelisk2/"}