{"blog_title":"sinclains's blog","description":"\u8272\u3005\u30e2\u30c1\u30d9\u30fc\u30b7\u30e7\u30f3\u304c\u4f4e\u304f\u3066\u5168\u7136\u3084\u3063\u3066\u3044\u306a\u304b\u3063\u305f\u306e\u3067\u518d\u5165\u9580 \u305d\u3057\u3066\u3001\u3044\u304d\u306a\u308a\uff13\u7ae0 1.\u30ea\u30b9\u30c8\u306e\u4e2d\u306e\u8981\u7d20\u6570\u3092\u6570\u3048\u308b\u95a2\u6570\u3092\u66f8\u304d\u306a\u3055\u3044\u3002\u6a19\u6e96\u95a2\u6570length\u3068\u540c\u3058\u7b54\u3048\u306b\u306a\u308b\u3088\u3046\u306b\u3002 2.\u578b\u30b7\u30b0\u30cd\u30c1\u30e3\u8ffd\u52a0 myLength :: [a] -> Int myLength [] = 0 myLength (x:xs) = 1 + myLength xs 3.\u30ea\u30b9\u30c8\u306e\u5e73\u5747\u5024\u3092\u8a08\u7b97\u3059\u308b\u95a2\u6570\u3092\u4f5c\u308a\u306a\u3055\u3044\u3002 listAverage :: [Double] -> Double listAverage [] = 0.0 listAverage xs = sumList xs / fromIntegral (length\u2026","version":"1.0","image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsinclains.hateblo.jp%2Fentry%2F20100929%2F1285772969\" title=\" Real World Haskell Chapter 3 - sinclains&#39;s blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","categories":["Haskell"],"width":"100%","author_url":"https://blog.hatena.ne.jp/sinclains/","title":" Real World Haskell Chapter 3","url":"https://sinclains.hateblo.jp/entry/20100929/1285772969","type":"rich","height":"190","blog_url":"https://sinclains.hateblo.jp/","provider_url":"https://hatena.blog","author_name":"sinclains","provider_name":"Hatena Blog","published":"2010-09-29 00:09:29"}