{"provider_url":"https://hatena.blog","blog_title":"\u307f\u305a\u3074\u30fc\u65e5\u8a18","published":"2007-06-20 00:00:00","blog_url":"https://mzp.hatenadiary.org/","provider_name":"Hatena Blog","description":"30\u5206\u30d7\u30ed\u30b0\u30e9\u30e0\u3001\u305d\u306e61\u3002Haskell\u3089\u3057\u3044fizzbuzz/OCaml\u3089\u3057\u3044fizzbuzz\u3092\u66f8\u3044\u3066\u307f\u3088\u3046\u3002 fizzbuzz :: [Int]->[String] fizzbuzz = map f where f n | n `mod` 15 == 0 = \"fizzbuzz\" | n `mod` 3 == 0 = \"fizz\" | n `mod` 5 == 0 = \"buzz\" | otherwise = show n fizzbuzzList :: [String] fizzbuzzList = fizzbuzz [1..] main = mapM_ putStrLn $ take\u2026","author_url":"https://blog.hatena.ne.jp/mzp/","version":"1.0","author_name":"mzp","type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmzp.hatenadiary.org%2Fentry%2F20070620%2Ffizzbuzz\" title=\"Haskell\u3089\u3057\u3044fizzbuzz/OCaml\u3089\u3057\u3044fizzbuzz - \u307f\u305a\u3074\u30fc\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","height":"190","url":"https://mzp.hatenadiary.org/entry/20070620/fizzbuzz","width":"100%","categories":["Haskell","Ocaml"],"title":"Haskell\u3089\u3057\u3044fizzbuzz/OCaml\u3089\u3057\u3044fizzbuzz","image_url":null}