{"type":"rich","blog_title":"\u4f3c\u975e\u30d7\u30ed\u30b0\u30e9\u30de\u306e\u899a\u3048\u66f8\u304d","width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fredcat-prog.hatenadiary.org%2Fentry%2F20120801%2F1343756758\" title=\"\u914d\u5217\u3092\u96c6\u5408\u306b\u898b\u7acb\u3066\u3066\u3079\u304d\u96c6\u5408\u3092\u751f\u6210\u3059\u308b(Haskell \u7248) - \u4f3c\u975e\u30d7\u30ed\u30b0\u30e9\u30de\u306e\u899a\u3048\u66f8\u304d\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_url":"https://hatena.blog","image_url":null,"author_name":"redcat_prog","provider_name":"Hatena Blog","description":"\u300c\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0 Haskell\u300d\u306b subs \u3068\u3044\u3046\u95a2\u6570\u304c\u66f8\u3044\u3066\u3042\u3063\u305f\u3002 subs :: [a] -> [[a]] subs [] = [[]] subs (x : xs) = (subs xs) ++ map (x :) (subs xs) Haskell \u306f\u795e\u306e\u8a00\u8a9e\u304b\u2026? \u3061\u306a\u307f\u306b\u4e00\u8aac\u306b\u3088\u308c\u3070\u4e00\u884c\u3067\u3082\u5b9a\u7fa9\u3067\u304d\u308b\u3089\u3057\u3044\u306e\u3060\u304c\u2026\u3002\u8ffd\u8a18 : \u53ef\u8aad\u6027\u3084\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u306e\u3057\u3084\u3059\u3055\u3092\u8003\u616e\u3059\u308b\u3068\u884c\u6570\u304c\u5897\u3048\u308b\u304c\u3053\u3046\u66f8\u3044\u305f\u65b9\u304c\u826f\u3044\u3002 subs :: [a] -> [[a]] subs [] = [[]] subs (x : xs) = xss ++ map (x :) xss where xss = subs\u2026","blog_url":"https://redcat-prog.hatenadiary.org/","categories":["Haskell"],"author_url":"https://blog.hatena.ne.jp/redcat_prog/","version":"1.0","title":"\u914d\u5217\u3092\u96c6\u5408\u306b\u898b\u7acb\u3066\u3066\u3079\u304d\u96c6\u5408\u3092\u751f\u6210\u3059\u308b(Haskell \u7248)","height":"190","published":"2012-08-01 02:45:58","url":"https://redcat-prog.hatenadiary.org/entry/20120801/1343756758"}