{"blog_url":"https://www.shigemk2.com/","provider_url":"https://hatena.blog","categories":["Haskell"],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.shigemk2.com%2Fentry%2F20120817%2F1345196959\" title=\"\u4e00\u822c\u7684\u306aHaskell\u306e\u578b - by shigemk2\" 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://www.shigemk2.com/entry/20120817/1345196959","blog_title":"by shigemk2","author_url":"https://blog.hatena.ne.jp/shigemk2/","image_url":null,"type":"rich","published":"2012-08-17 18:49:19","title":"\u4e00\u822c\u7684\u306aHaskell\u306e\u578b","author_name":"shigemk2","height":"190","provider_name":"Hatena Blog","description":"-- \u3053\u306e\u3088\u3046\u306b\u95a2\u6570\u3092\u578b\u5ba3\u8a00\u3059\u308b\u3053\u3068\u304c\u51fa\u6765\u308b factorial :: Integer -> Integer factorial n = product [1..n] -- \u5ba3\u8a00\u3059\u308b\u578b\u304c Float \u3068 Double \u3068\u3067\u3001\u7d50\u679c\u304c\u5909\u308f\u308b circumference :: Float -> Float circumference r = 2 * pi * r circumference' :: Double -> Double circumference' r = 2 * pi * r Main> :t factorial factorial :: Integer -> Integer Main\u2026","width":"100%","version":"1.0"}