{"blog_title":"\u3042\u3069\u3051\u306a\u3044\u8a71","height":"190","version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkazu-yamamoto.hatenablog.jp%2Fentry%2F20120606%2F1338957783\" title=\" Haskell \u3067\u306e\u30c7\u30d0\u30c3\u30b0 - \u3042\u3069\u3051\u306a\u3044\u8a71\" 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://kazu-yamamoto.hatenablog.jp/entry/20120606/1338957783","title":" Haskell \u3067\u306e\u30c7\u30d0\u30c3\u30b0","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/k/kazu-yamamoto/20120606/20120606133921.png","width":"100%","author_url":"https://blog.hatena.ne.jp/kazu-yamamoto/","categories":[],"provider_url":"https://hatena.blog","author_name":"kazu-yamamoto","provider_name":"Hatena Blog","published":"2012-06-06 13:43:03","description":"\u300c\u7d14\u7c8b\u95a2\u6570\u578b\u8a00\u8a9e\u306f\u30c7\u30d0\u30c3\u30b0\u3057\u306b\u304f\u3044\u3002\u3060\u3063\u3066\u7d14\u7c8b\u306a\u95a2\u6570\u3067 printf \u30c7\u30d0\u30c3\u30b0\u3067\u304d\u306a\u3044\u304b\u3089\u300d\u3068\u3064\u3076\u3084\u3044\u3066\u3044\u308b\u4eba\u3092\u3088\u304f\u898b\u304b\u3051\u307e\u3059\u3002\u3053\u308c\u307e\u3067\u653e\u7f6e\u3057\u3066\u304d\u307e\u3057\u305f\u304c\u3001\u30ea\u30c4\u30a4\u30fc\u30c8\u304c50\u3092\u8d85\u3048\u305f\u306e\u3067\u3001Haskell\u3067\u306e\u30c7\u30d0\u30c3\u30b0\u306b\u3064\u3044\u3066\u66f8\u304d\u307e\u3059\u3002\u4f8b\u5916\u51e6\u7406\u3068\u540c\u3058\u3088\u3046\u306b\u3001Haskell \u3067\u306e\u30c7\u30d0\u30c3\u30b0\u3067\u306f\u3001\u7d14\u7c8b\u306a\u95a2\u6570\u3068 IO \u3092\u5206\u3051\u3066\u8003\u3048\u308b\u5fc5\u8981\u3042\u308a\u307e\u3059\u3002 IO \u3067\u306e printf \u30c7\u30d0\u30c3\u30b0 IO \u3067\u306f\u3001putStrLn \u3084 print \u304c\u4f7f\u3048\u308b\u304b\u3089\u554f\u984c\u306a\u3044\u3067\u3059\u3088\u306d\uff1f foo :: Int -> IO Bool foo i = do x <- \u3042\u308c\u3057\u3066 i putStrLn $ \"x = \" ++ show x \u3053\u308c\u2026","blog_url":"https://kazu-yamamoto.hatenablog.jp/","type":"rich"}