{"published":"2015-07-21 00:31:11","version":"1.0","type":"rich","provider_name":"Hatena Blog","height":"190","author_name":"kamekoopa","description":"\u9ad8\u968e\u95a2\u6570\u3001\u591a\u76f8\u95a2\u6570\u3002 \u3053\u3053\u3067\u8a00\u3046\u591a\u76f8\u306f\u7d99\u627f\u7b49\u306b\u3088\u308b\u591a\u76f8*1\u3067\u306f\u306a\u304f\u3001\u578b\u5909\u6570\u3092\u5229\u7528\u3057\u305f(\u7dcf\u79f0)\u591a\u76f8\u95a2\u6570*2\u3002 \u3053\u306e\u8fba\u308a\u306f\u7279\u306b\u76ee\u65b0\u3057\u3044\u3053\u3068\u306f\u7121\u304b\u3063\u305f\u3002 \u30c7\u30fc\u30bf\u578b(List) List[+A]\u3068\u3057\u3066\u5909\u4f4d\u3092\u5171\u5909\u306b\u3057\u3066Nil extends List[Nothing]\u3068\u3059\u308b\u3053\u3068\u3067val l: List[Int] = Nil\u307f\u305f\u3044\u306b\u3067\u304d\u308b\u3002 \u6f14\u7fd2\u554f\u984c // Exercise 2.2 def isSorted[A](array: Array[A], p: (A, A) => Boolean): Boolean = { @annotation.tailrec def loop(n: Int): Boolean\u2026","provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/kamekoopa/","blog_title":"\u65b0\u3057\u3044\u30d5\u30a9\u30eb\u30c0 (3)","width":"100%","image_url":null,"title":" FP in Scala\u52c9\u5f37\u30e1\u30e2(2)","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkamekoopa.hateblo.jp%2Fentry%2F20150721%2F1437492671\" title=\" FP in Scala\u52c9\u5f37\u30e1\u30e2(2) - \u65b0\u3057\u3044\u30d5\u30a9\u30eb\u30c0 (3)\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","categories":["Scala"],"blog_url":"https://kamekoopa.hateblo.jp/","url":"https://kamekoopa.hateblo.jp/entry/20150721/1437492671"}