{"width":"100%","categories":["haskell"],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmike-neck.hatenadiary.com%2Fentry%2F2015%2F06%2F24%2F152405\" title=\"Haskell\u306edo\u8a18\u6cd5 - mike-neck\u306e\u30d6\u30ed\u30b0\" 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://mike-neck.hatenadiary.com/entry/2015/06/24/152405","title":"Haskell\u306edo\u8a18\u6cd5","image_url":null,"blog_title":"mike-neck\u306e\u30d6\u30ed\u30b0","published":"2015-06-24 15:24:05","description":"\u3044\u307e\u3044\u3061\u30d4\u30f3\u3068\u304d\u3066\u3044\u306a\u304b\u3063\u305f\u304b\u3089\u3001\u5c11\u3057\u3060\u3051\u8abf\u3079\u305f\u3002 Haskell/do notation - Wikibooks, open books for an open world \u6b21\u306e\u3088\u3046\u306a\u30e2\u30ca\u30c9\u3063\u307d\u3044\u5024\u3092\u8fd4\u3059\u95a2\u6570\u304c\u3042\u3063\u3066\u3001\u9023\u7d9a\u3067\u5229\u7528\u3059\u308b\u3068\u304d\u306b\u4f7f\u3046\u3089\u3057\u3044\u3002 monadicFun1 :: Maybe Int monadicFun1 = return 1 monadicFun2 :: Maybe Int monadicFun2 = return 2 monadicFun3 :: Num a => a -> a -> Maybe a monadicFun3 x y = Just (x + y) // M\u2026","version":"1.0","author_name":"mike_neck","type":"rich","provider_url":"https://hatena.blog","provider_name":"Hatena Blog","blog_url":"https://mike-neck.hatenadiary.com/","height":"190","author_url":"https://blog.hatena.ne.jp/mike_neck/"}