{"width":"100%","height":"190","author_url":"https://blog.hatena.ne.jp/flashingwind/","published":"2009-06-23 05:04:40","url":"https://flash.hatenablog.com/entry/20090623/1245787480","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fflash.hatenablog.com%2Fentry%2F20090623%2F1245787480\" title=\"\u300c\u5165\u9580Haskell\u300d\u9014\u4e2d\u307e\u3067\u8aad\u3093\u3060 - \u30d7\u30ed\u30b0\u30e9\u30de\u30fc\u306b\u306a\u308a\u305f\u3044\u3002\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"\u3084\u3063\u3068\u3001\u3061\u3087\u3063\u3068\u306f\u66f8\u3051\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u3002Haskell\u3068\u3044\u3044\u3064\u3064MCC\u306ecyi\u3067\u52d5\u304b\u3057\u3066\u3093\u3060\u3051\u3069\u3002 rev :: [a] -> [a] rev [] = [] rev (x:xs) = (rev xs)++[x] rev> [rev[x1,x2]|x1<-[1,2,3],x2<-[1,2,3],x1/=x2] [[2,1],[3,1],[1,2],[3,2],[1,3],[2,3]] \u3068\u304b\u3002 \u3061\u306a\u307f\u306b\u4ee5\u4e0b\u306f\u30a8\u30e9\u30fc\u306b\u306f\u306a\u3089\u306a\u3044\u3002\u3069\u3063\u3061\u3067\u3082\u5927\u4f53\u540c\u3058\u307f\u305f\u3044\u3002 rev> [[x1,x2]|x1<-[1,2,3],x2<-[1,2,3],x1/=x2] rev> [(x1,x2)|x1<-[1,2,3],\u2026","image_url":"http://ecx.images-amazon.com/images/I/41V0PH2XZGL.jpg","title":"\u300c\u5165\u9580Haskell\u300d\u9014\u4e2d\u307e\u3067\u8aad\u3093\u3060","type":"rich","categories":["\u672c","Curry"],"provider_name":"Hatena Blog","version":"1.0","author_name":"flashingwind","provider_url":"https://hatena.blog","blog_url":"https://flash.hatenablog.com/","blog_title":"\u30d7\u30ed\u30b0\u30e9\u30de\u30fc\u306b\u306a\u308a\u305f\u3044\u3002"}