{"width":"100%","title":" \u3075\u3064\u3051\u308b 4\u7ae0 - \u30e6\u30cb\u30fc\u30af\u306b\u306a\u3089\u306a\u3044","blog_url":"https://boxnos.hatenablog.com/","type":"rich","author_url":"https://blog.hatena.ne.jp/tanakaBox/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fboxnos.hatenablog.com%2Fentry%2F20080428%2F1209375125\" title=\" \u3075\u3064\u3051\u308b 4\u7ae0 - \u30e6\u30cb\u30fc\u30af\u306b\u306a\u3089\u306a\u3044 - \u30dc\u30af\u30ce\u30b9\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","published":"2008-04-28 18:32:05","categories":["Haskell"],"image_url":null,"description":"\u4e45\u3057\u3076\u308a\u306b\u3075\u3064\u3051\u308b\u8aad\u307f\u3002\u306f\u307e\u308a\u307e\u304f\u308a\u3063\u3059\u3088\u3002\u306f\u307e\u308a\u307e\u304f\u308a\u3002 uniq\u3092\u4f5c\u308c (\u30d2\u30f3\u30c8: group\u4f7f\u3048\u3070\u3044\u3044\u3088\uff01\uff01) \u3063\u3066\u66f8\u3044\u3066\u3042\u308b\u3093\u3060\u3051\u3069\u3001\u5168\u7136\u30e6\u30cb\u30fc\u30af\u306b\u306a\u3089\u306a\u3044\u3002group\u306f\u96a3\u63a5\u3057\u3066\u308c\u3070\u3001\u30b0\u30eb\u30fc\u30d7\u306b\u307e\u3068\u3081\u308b\u307f\u305f\u3044\u3002 Prelude> import List Prelude List> group [1, 1, 2, 1, 1] [[1,1],[2],[1,1]]\u3060\u3081\u3058\u3083\u3093\u3002group\u306funiq\u3059\u308b\u306b\u306f\u5411\u3044\u3066\u306a\u3044\u3068\u601d\u3046\u3093\u3060\u3088\u3002 \u3058\u3083\u3001\u304a\u5144\u3055\u3093\u304cuniq\u66f8\u3044\u3061\u3083\u3046\u305e\u301c \u3068\u601d\u3063\u3066\u66f8\u3044\u3066\u307f\u305f\u3089\u306f\u307e\u308a\u307e\u304f\u308a\u3002 remove :: (a -> Bool) -> [a] -> [a] remove f \u2026","provider_url":"https://hatena.blog","author_name":"tanakaBox","height":"190","blog_title":"\u30dc\u30af\u30ce\u30b9","provider_name":"Hatena Blog","url":"https://boxnos.hatenablog.com/entry/20080428/1209375125","version":"1.0"}