{"blog_url":"https://sirocco.hatenadiary.org/","provider_url":"https://hatena.blog","description":"GHCi\u3067\u30d1\u30bf\u30fc\u30f3\u30de\u30c3\u30c1\u306e\u3088\u3046\u306a\u8907\u6570\u884c\u306e\u95a2\u6570\u3092\u5b9a\u7fa9\u3057\u3088\u3046\u3068\u3059\u308b\u3068\u5f8c\u3067\u5b9a\u7fa9\u3057\u305f\u884c\u306e\u307f\u304c\u6709\u52b9\u306b\u306a\u3063\u3066\u3057\u307e\u3046\u3002 Prelude> let fact 0 = 1 Prelude> let fact n = n * fact (n-1) Prelude> fact 10 *** Exception: stack overflow Prelude> :t fact fact :: (Num a) => a -> a\u6b21\u306e\u3088\u3046\u306b\u3059\u308b\u3068\u304ak\u3002 Prelude> :{ Prelude| let { fact 0 = 1 Prelude| ; fact n = n * fact (n-1) Prelude| } P\u2026","type":"rich","author_name":"sirocco","provider_name":"Hatena Blog","version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsirocco.hatenadiary.org%2Fentry%2F20090417%2F1239994537\" title=\"GHCi\u3067\u8907\u6570\u884c\u306e\u95a2\u6570\u3092\u5b9a\u7fa9 - sirocco \u306e\u66f8\u3044\u3066\u3082\u3059\u3050\u306b\u5fd8\u308c\u308b\u30e1\u30e2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_url":"https://blog.hatena.ne.jp/sirocco/","url":"https://sirocco.hatenadiary.org/entry/20090417/1239994537","width":"100%","categories":["Haskell"],"published":"2009-04-17 03:55:37","height":"190","blog_title":"sirocco \u306e\u66f8\u3044\u3066\u3082\u3059\u3050\u306b\u5fd8\u308c\u308b\u30e1\u30e2","image_url":null,"title":"GHCi\u3067\u8907\u6570\u884c\u306e\u95a2\u6570\u3092\u5b9a\u7fa9"}