{"image_url":"https://m.media-amazon.com/images/I/41GJyhilXBL._SL500_.jpg","blog_title":"Cogito Ergo Sum.","provider_name":"Hatena Blog","version":"1.0","blog_url":"https://terai-s.hatenadiary.org/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fterai-s.hatenadiary.org%2Fentry%2F2024%2F01%2F09%2F193825\" title=\"6\u65e5\u76ee\u306eFizzBuzz - Cogito Ergo Sum.\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"\u30fb6\u65e5\u76ee\u306eFizzBuzz main = loop 1 100loop n limit | n > limit = return () | otherwise = do putStrLn(fizzBuzz n) loop (n + 1) limitfizzBuzz x | x `mod` 15 == 0 = \"FizzBuzz\" | x `mod` 5 == 0 = \"Buzz\" | x `mod` 3 == 0 = \"Fizz\" | otherwise = show x \u6839\u3063\u304b\u3089\u306e\u300c\u624b\u7d9a\u304d\u578b\u5fd7\u5411\u300d\u300c\u547d\u4ee4\u578b\u601d\u8003\u300d\u30d7\u30ed\u30b0\u30e9\u30de\u3067\u3042\u308b\u5f53\u65b9\u3001\u300c1\u65e5\u76ee\u306eFizzBuzz\u300d\u3092\u66f4\u306b\u300c\u9000\u5316\u300d\u3055\u305b\u305f\u30b3\u30fc\u30c9\u304c\u53ef\u80fd\u2026","provider_url":"https://hatena.blog","width":"100%","author_url":"https://blog.hatena.ne.jp/terai-s/","height":"190","categories":["\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0","\u30c0\u30a4\u30a2\u30ea\u30fc"],"url":"https://terai-s.hatenadiary.org/entry/2024/01/09/193825","type":"rich","author_name":"terai-s","title":"6\u65e5\u76ee\u306eFizzBuzz","published":"2024-01-09 19:38:25"}