{"image_url":null,"width":"100%","type":"rich","author_url":"https://blog.hatena.ne.jp/sirocco/","description":"do\u8a18\u6cd5\u306f\u69cb\u6587\u7cd6\u3067\u3059\u3002 Real World Haskell p356 14\u7ae0\u30e2\u30ca\u30c9\uff1a\u300c\u30e2\u30ca\u30c9\u521d\u5fc3\u8005\u3060\u3068\u611f\u3058\u3066\u3044\u308b\u3046\u3061\u306f\u69cb\u6587\u7cd6\u3067\u3042\u308bdo\u8a18\u6cd5\u3092\u4f7f\u3046\u3088\u308a(>>=)\u3092\u660e\u793a\u7684\u306b\u66f8\u3044\u305f\u65b9\u304c\u826f\u3044\u3067\u3057\u3087\u3046\u300d\u3068\u3042\u308a\u307e\u3059\u306e\u3067\u3001\u3068\u308a\u3042\u3048\u305a\u3001\u6975\u529bdo\u8a18\u6cd5\u306f\u907f\u3051\u308b\u3088\u3046\u52aa\u529b\u3057\u3066\u307f\u307e\u3059\u3002 ioHello, ioWorld :: IO String ioHello = return \"Hello\" ioWorld = return \"world!\" hello :: IO () hello = do a <- ioHello b <- ioWorld putStrLn $ a ++ \",\" ++ b hello2 :: \u2026","categories":["Haskell"],"blog_url":"https://sirocco.hatenadiary.org/","blog_title":"sirocco \u306e\u66f8\u3044\u3066\u3082\u3059\u3050\u306b\u5fd8\u308c\u308b\u30e1\u30e2","provider_url":"https://hatena.blog","title":"do \u8a18\u6cd5\u304b\u3089(>>=)\u3092\u4f7f\u3063\u305f\u8a18\u6cd5\u3078\u5909\u63db","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsirocco.hatenadiary.org%2Fentry%2F20110404%2F1301929161\" title=\"do \u8a18\u6cd5\u304b\u3089(&gt;&gt;=)\u3092\u4f7f\u3063\u305f\u8a18\u6cd5\u3078\u5909\u63db - sirocco \u306e\u66f8\u3044\u3066\u3082\u3059\u3050\u306b\u5fd8\u308c\u308b\u30e1\u30e2\" 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","version":"1.0","provider_name":"Hatena Blog","url":"https://sirocco.hatenadiary.org/entry/20110404/1301929161","author_name":"sirocco","published":"2011-04-04 23:59:21"}