{"url":"https://sirocco.hatenadiary.org/entry/20090410/1239368211","categories":["Haskell"],"image_url":null,"blog_title":"sirocco \u306e\u66f8\u3044\u3066\u3082\u3059\u3050\u306b\u5fd8\u308c\u308b\u30e1\u30e2","width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsirocco.hatenadiary.org%2Fentry%2F20090410%2F1239368211\" title=\"concatMap - sirocco \u306e\u66f8\u3044\u3066\u3082\u3059\u3050\u306b\u5fd8\u308c\u308b\u30e1\u30e2\" 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://sirocco.hatenadiary.org/","version":"1.0","author_url":"https://blog.hatena.ne.jp/sirocco/","height":"190","description":"\u300c\u3075\u3064\u3046\u306eHaskell\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u300dP71 \u25cfconcatMap \u306f concat \u3068 map \u3092\u304f\u3063\u3064\u3051\u305f\u3082\u306e\u3002 Prelude> :t concat concat :: [ [ a ] ] -> [a] Prelude> concat [ [1,2,3],[4,5,6 ] ] [1,2,3,4,5,6] Prelude> concat [ [ 'a','b','c' ], [ 'd','e','f' ] ] \"abcdef\" Prelude> concat [\"abc\", [ 'd','e','f' ] ] \"abcdef\" Prelude> \"abc\"==['a','b','c'] \u2026","published":"2009-04-10 21:56:51","title":"concatMap","provider_url":"https://hatena.blog","author_name":"sirocco","provider_name":"Hatena Blog","type":"rich"}