{"author_name":"tiny_wing","provider_name":"Hatena Blog","description":"Monads for functional programming - Philip Wadler \u30bb\u30af\u30b7\u30e7\u30f3\uff12\u306e\u30e1\u30e2\u3002\u30bb\u30af\u30b7\u30e7\u30f3\uff12\u3067\u306f\u3001\u30b7\u30f3\u30d7\u30eb\u306a\u8a55\u4fa1\u5668\u3092\u69cb\u6210\u3059\u308b\u3053\u3068\u306b\u3088\u308a\u3001\u30e2\u30ca\u30c9\u3092\u5c0e\u5165\u3057\u3001\u4fee\u6b63\u306b\u5f37\u3044\u8a55\u4fa1\u5668\u3092\u69cb\u6210\u3059\u308b\u306e\u306b\u30e2\u30ca\u30c9\u304c\u4f7f\u7528\u3067\u304d\u308b\u3053\u3068\u304c\u8aac\u660e\u3055\u308c\u3066\u3044\u308b\u3002 \u74b0\u5883 Xcode 8.0 Swift 3.0 \u6e96\u5099 forget inpure world \u30d0\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\uff10\uff1a\u57fa\u672c\u7684\u306a\u8a55\u4fa1\u5668 \u9805\u3092\u5b9a\u6570 con(Int) \u304b \u9805\u306e\u5546 div(Term, Term) \u3067\u5b9a\u7fa9\u3059\u308b\u3002 enum Term { case con(Int) indirect case div(Term, Term) } \u30ed\u30b0\u306e\u305f\u2026","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftiny-wing.hatenablog.com%2Fentry%2F2016%2F10%2F24%2F115615\" title=\"Swift\u3067\u3061\u3087\u3063\u3068\u3060\u3051\u30e2\u30ca\u30c9 - \u30bf\u30b3\u3055\u3093\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>","blog_url":"https://tiny-wing.hatenablog.com/","image_url":null,"blog_title":"\u30bf\u30b3\u3055\u3093\u30d6\u30ed\u30b0","version":"1.0","url":"https://tiny-wing.hatenablog.com/entry/2016/10/24/115615","published":"2016-10-24 11:56:15","author_url":"https://blog.hatena.ne.jp/tiny_wing/","height":"190","width":"100%","provider_url":"https://hatena.blog","categories":["swift","iOS"],"title":"Swift\u3067\u3061\u3087\u3063\u3068\u3060\u3051\u30e2\u30ca\u30c9","type":"rich"}