{"description":"\u3053\u3053\u306e\u3068\u3053\u308d\u3001\u3061\u3089\u307b\u3089\u3068\u300c\u3042\u30fc\u3053\u308cHaskell\u306a\u3089\u2026\u300d\u3068\u304b\u8003\u3048\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u3002\u3057\u304b\u3057\u4f1a\u793e\u3067\u4f8b\u3048\u3070\u3001 // \u591a\u5206Maybe\u306a\u30b3\u30fc\u30c9 using boost::optional; using boost::result_of; using boost::bind; // >>=\u306f\u53f3\u7d50\u5408\u3067()\u66f8\u304f\u306e\u304c\u9762\u5012\u306a\u306e\u3067>=\u306b\u3057\u305f template<typename T, typename F> typename result_of<F(T)>::type operator>=(optional<T> const & maybe, F f) { return if (maybe) f(*val); else\u2026","author_name":"DigitalGhost","image_url":null,"title":"\u3075\u3064\u3051\u308b\u8aad\u3093\u3067\u304b\u3089\u3068\u3044\u3046\u3082\u306e","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdechimal.hatenadiary.com%2Fentry%2F20080821%2F1219336307\" title=\"\u3075\u3064\u3051\u308b\u8aad\u3093\u3067\u304b\u3089\u3068\u3044\u3046\u3082\u306e - \u30c7-mk6\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","categories":["C++","Haskell"],"author_url":"https://blog.hatena.ne.jp/DigitalGhost/","blog_title":"\u30c7-mk6","height":"190","url":"https://dechimal.hatenadiary.com/entry/20080821/1219336307","width":"100%","blog_url":"https://dechimal.hatenadiary.com/","type":"rich","provider_url":"https://hatena.blog","published":"2008-08-21 01:31:47","version":"1.0","provider_name":"Hatena Blog"}