{"type":"rich","provider_name":"Hatena Blog","width":"100%","provider_url":"https://hatena.blog","blog_url":"https://nishiohirokazu.hatenadiary.org/","height":"190","image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnishiohirokazu.hatenadiary.org%2Fentry%2F20100519%2F1274276378\" title=\"IO\u30e2\u30ca\u30c9\u306e\u30ea\u30b9\u30c8 - \u897f\u5c3e\u6cf0\u548c\u306e\u306f\u3066\u306a\u30c0\u30a4\u30a2\u30ea\u30fc\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","version":"1.0","url":"https://nishiohirokazu.hatenadiary.org/entry/20100519/1274276378","title":"IO\u30e2\u30ca\u30c9\u306e\u30ea\u30b9\u30c8","author_name":"nishiohirokazu","published":"2010-05-19 22:39:38","categories":["Haskell"],"author_url":"https://blog.hatena.ne.jp/nishiohirokazu/","description":"IO Int\u304c100\u500b\u5165\u3063\u3066\u3044\u308b\u30ea\u30b9\u30c8\u304c\u3042\u308b\u3093\u3067\u3059\u304c\u3001Int\u304c1\u306e\u7269\u306e\u500b\u6570\u3092\u8abf\u3079\u308b\u306b\u306f\u3069\u3046\u3057\u305f\u3089\u3044\u3044\u306e\u3067\u3057\u3087\u3046\u3002\u3053\u3093\u306a\u95a2\u6570\u3092\u4f5c\u3063\u305f\u3089IO\u306a\u3093\u3066\u30c7\u30fc\u30bf\u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\u306f\u306a\u3044\u3068\u8a00\u308f\u308c\u307e\u3057\u305f\u3002 won :: IO Int -> Int -> Bool won (IO x) y = (x == y) The monad laws IO \u30e2\u30ca\u30c9\u306f Haskell \u306b\u304a\u3051\u308b\u3088\u304f\u77e5\u3089\u308c\u305f\u4e00\u65b9\u5411\u30e2\u30ca\u30c9\u306e\u4f8b\u3067\u3059\u3002IO \u30e2\u30ca\u30c9\u304b\u3089\u8131\u51fa\u3059\u308b\u3053\u3068\u306f\u3067\u304d\u307e\u305b\u3093\u304b\u3089\u3001 IO \u30e2\u30ca\u30c9\u4e2d\u3067\u8a08\u7b97\u3092\u884c\u3046\u306b\u3082\u304b\u304b\u308f\u3089\u305a\u3001\u7d50\u679c\u306e\u5024\u3068\u3057\u3066\u578b\u69cb\u7bc9\u5b50 IO \u3092\u542b\u307e\u306a\u3044\u3088\u3046\u306a\u95a2\u6570\u306e\u5b9a\u7fa9\u3092\u66f8\u304f\u3053\u3068\u306f\u4e0d\u53ef\u80fd\u3067\u3059\u3002 \u3063\u3066\u3053\u3068\u306f won :: IO \u2026","blog_title":"\u897f\u5c3e\u6cf0\u548c\u306e\u306f\u3066\u306a\u30c0\u30a4\u30a2\u30ea\u30fc"}