{"width":"100%","description":"\u5909\u66f4 \u968e\u4e57 - Wikipedia Haskell fact :: Int -> Int fact 0 = 1 fact n = n * fact (n - 1) main :: IO () main = do print (fact 10) -- > 3628800 Python def fact(n): if n == 0: return 1 return n * fact(n - 1) print(fact(10)) #-> 3628800 Ruby def fact n if n == 0 1 else n * fact(n - 1) end end puts fact 10 #-> \u2026","url":"https://cortyuming.hateblo.jp/entry/20131028/p1","version":"1.0","blog_url":"https://cortyuming.hateblo.jp/","categories":["Golang","Haskell","Java","Javascript","Lisp","PHP","Python","Ruby"],"published":"2013-10-28 00:00:00","provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcortyuming.hateblo.jp%2Fentry%2F20131028%2Fp1\" title=\" \u69d8\u3005\u306a\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u3067\u518d\u5e30\u306e\u968e\u4e57\u3092\u66f8\u3044\u3066\u307f\u308b\u30e1\u30e2 - \u724c\u8a9e\u5099\u5fd8\u9332 -pygo\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","title":" \u69d8\u3005\u306a\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u3067\u518d\u5e30\u306e\u968e\u4e57\u3092\u66f8\u3044\u3066\u307f\u308b\u30e1\u30e2","provider_name":"Hatena Blog","blog_title":"\u724c\u8a9e\u5099\u5fd8\u9332 -pygo","height":"190","image_url":null,"author_name":"CortYuming","type":"rich","author_url":"https://blog.hatena.ne.jp/CortYuming/"}