{"image_url":null,"author_url":"https://blog.hatena.ne.jp/jyukutyo/","version":"1.0","blog_title":"Fight the Future","width":"100%","type":"rich","provider_name":"Hatena Blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.sakatakoichi.com%2Fentry%2F20081106%2F1225937055\" title=\"\u30e2\u30ca\u30c9\u306b\u3064\u3044\u3066\u8abf\u3079\u3066\u3044\u304f(12) - Fight the Future\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","categories":["programming"],"author_name":"jyukutyo","url":"https://www.sakatakoichi.com/entry/20081106/1225937055","blog_url":"https://www.sakatakoichi.com/","height":"190","title":"\u30e2\u30ca\u30c9\u306b\u3064\u3044\u3066\u8abf\u3079\u3066\u3044\u304f(12)","provider_url":"https://hatena.blog","description":"One Div Zero: Monads are Elephants Part 1\u306e\u7ffb\u8a33\u7d9a\u304d\u3002 \u30d1\u30fc\u30c81\u306f\u3053\u308c\u3067\u7d42\u308f\u308a\u3002 Conclusion for Part I(\u30d1\u30fc\u30c81\u306e\u7d50\u8ad6) Scala monads must have map and flatMap methods. Map can be implemented via flatMap and a constructor or flatMap can be implemented via map and flatten.Scala\u306e\u30e2\u30ca\u30c9\u306fmap\u3068flatMap\u30e1\u30bd\u30c3\u30c9\u3092\u6301\u305f\u306a\u3051\u308c\u3070\u306a\u308a\u307e\u305b\u3093\u3002map\u306fflatMap\u30e1\u30bd\u30c3\u30c9\u3068\u30b3\u30f3\u30b9\u2026","published":"2008-11-07 04:04:15"}