{"blog_url":"https://mzp.hatenadiary.org/","author_name":"mzp","version":"1.0","height":"190","provider_url":"https://hatena.blog","description":"30\u5206\u30d7\u30ed\u30b0\u30e9\u30e0\u3001\u305d\u306e730\u3002\u3079\u304d\u96c6\u5408\u3092\u3082\u3068\u3081\u308b\u95a2\u6570\u3002\u524d\u306b\u3079\u304d\u96c6\u5408\u3092\u4e00\u884c\u3067\u6c42\u3081\u308b\u30b3\u30fc\u30c9\u3092\u898b\u305f\u3053\u3068\u3042\u308b\u3088\u3046\u306a\u6c17\u304c\u3059\u308b\u3051\u3069\u3001\u601d\u3044\u51fa\u305b\u306a\u304b\u3063\u305f\u3057\u3001\u8fbf\u308a\u3064\u3051\u306a\u304b\u3063\u305f\u3002\u3061\u3047\u30fc\u3002 \u4f7f\u3044\u65b9 Prelude> powerSet [1..3] [[1,2,3],[2,3],[1,3],[3],[1,2],[2],[1],[]] \u30bd\u30fc\u30b9\u30b3\u30fc\u30c9 powerSet:: [a] -> [[a]] powerSet [] = [[]] powerSet (x:xs) = concat [ [ (x : ys), ys ] | ys <- powerSet xs ] \u53c2\u8003 \u904e\u53bb\u306e30\u5206\u30d7\u30ed\u30b0\u30e9\u30e0","type":"rich","width":"100%","author_url":"https://blog.hatena.ne.jp/mzp/","blog_title":"\u307f\u305a\u3074\u30fc\u65e5\u8a18","image_url":null,"provider_name":"Hatena Blog","published":"2010-02-02 00:00:00","title":"\u3079\u304d\u96c6\u5408","categories":["Haskell","30\u5206\u30d7\u30ed\u30b0\u30e9\u30e0"],"url":"https://mzp.hatenadiary.org/entry/20100202/powerset","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmzp.hatenadiary.org%2Fentry%2F20100202%2Fpowerset\" title=\"\u3079\u304d\u96c6\u5408 - \u307f\u305a\u3074\u30fc\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>"}