{"blog_title":"kmizu\u306e\u65e5\u8a18","version":"1.0","title":"S-99: Ninety-Nine Scala Problems(P11-P20)\u3092\u89e3\u3044\u3066\u307f\u305f","image_url":null,"provider_url":"https://hatena.blog","height":"190","author_name":"kmizushima","published":"2009-05-25 16:20:20","author_url":"https://blog.hatena.ne.jp/kmizushima/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkmizu.hatenablog.com%2Fentry%2F20090525%2F1243236020\" title=\"S-99: Ninety-Nine Scala Problems(P11-P20)\u3092\u89e3\u3044\u3066\u307f\u305f - kmizu\u306e\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>","url":"https://kmizu.hatenablog.com/entry/20090525/1243236020","provider_name":"Hatena Blog","type":"rich","description":"S-99: Ninety-Nine Scala Problems(P01-P10)\u3092\u89e3\u3044\u3066\u307f\u305f\u306e\u7d9a\u304d\u3002\u4eca\u56de\u306f\u3001\u8868\u984c\u306e\u901a\u308a\u3001P11-P20\u307e\u3067\u3092\u89e3\u3044\u3066\u307f\u305f\u3002\u3068\u308a\u3042\u3048\u305a\u6700\u521d\u306e\u56de\u7b54\u3092\u4f5c\u308b\u307e\u3067\u306b\u5927\u4f5350\u5206\u304f\u3089\u3044\u3002\u305d\u306e\u5f8c\u3001drop\u3068rotate\u306b\u3064\u3044\u3066\u984c\u610f\u3092\u52d8\u9055\u3044\u3057\u3066\u3044\u305f\u306e\u306b\u6c17\u3065\u3044\u3066\u30b3\u30fc\u30c9\u3092\u4fee\u6b63\u3002\u4ee5\u4e0b\u3001\u56de\u7b54\u306e\u30b3\u30fc\u30c9\u3002 object P11toP20 { import P01toP10._ def flatMap[A, B](list: List[A])(f: A => List[B]): List[B] = { foldLeft(list, List[B]()){(b, a) => append(b, \u2026","blog_url":"https://kmizu.hatenablog.com/","categories":["Scala","S-99"],"width":"100%"}