{"description":"map(\u5199\u50cf)\u306f\u3001\u518d\u5e30\u3067\u66f8\u304f\u3068\u3053\u3046 mapp _ [] = [] mapp f (x: xs) = f x : mapp f xs \u30ea\u30b9\u30c8\u5185\u5305\u8868\u8a18\u3092\u4f7f\u3063\u305f\u5834\u5408\u306f\u3053\u3046\u306a\u308b map f xs = [f x | x <- xs] filter(\u6ffe\u904e)\u306f\u518d\u5e30\u3067\u66f8\u304f\u3068\u3053\u3046 filter _ [] = [] filter p (x:xs) = if (f x) then (x:(filter p xs)) else (filter p xs) \u30ea\u30b9\u30c8\u5185\u5305\u8868\u8a18\u3092\u4f7f\u3063\u305f\u5834\u5408\u306f\u3053\u3046\u306a\u308b filter p xs = [x | x <- xs, p x]","title":" \u30ea\u30b9\u30c8\u5185\u5305\u8868\u8a18\u3067map\u3068filter","author_url":"https://blog.hatena.ne.jp/faith_and_brave/","width":"100%","url":"https://faithandbrave.hateblo.jp/entry/20090227/1235725973","provider_url":"https://hatena.blog","image_url":null,"blog_url":"https://faithandbrave.hateblo.jp/","published":"2009-02-27 18:12:53","height":"190","version":"1.0","provider_name":"Hatena Blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ffaithandbrave.hateblo.jp%2Fentry%2F20090227%2F1235725973\" title=\" \u30ea\u30b9\u30c8\u5185\u5305\u8868\u8a18\u3067map\u3068filter - Faith and Brave - C++\u3067\u904a\u307c\u3046\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_name":"faith_and_brave","categories":["Haskell"],"blog_title":"Faith and Brave - C++\u3067\u904a\u307c\u3046","type":"rich"}