{"url":"https://h-sakurai.hatenadiary.org/entry/20110804/p1","width":"100%","published":"2011-08-04 00:00:00","blog_title":"Scala \u3067 TAPL\u3092\u52c9\u5f37\u3057\u3064\u3064 LLVM \u30b3\u30f3\u30d1\u30a4\u30e9\u3092\u4f5c\u308b\u65e5\u8a18","categories":["scala"],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fh-sakurai.hatenadiary.org%2Fentry%2F20110804%2Fp1\" title=\"\u30a2\u30c9\u30ec\u30b9\u3092\u6c42\u3081\u308b\u8a08\u7b97\u306e\u7df4\u7fd2 - Scala \u3067 TAPL\u3092\u52c9\u5f37\u3057\u3064\u3064 LLVM \u30b3\u30f3\u30d1\u30a4\u30e9\u3092\u4f5c\u308b\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>","version":"1.0","description":"\u5909\u6570\u3068\u5024\u306e\u30ea\u30b9\u30c8\u304b\u3089\u3001\u30a2\u30c9\u30ec\u30b9\u3092\u6c42\u3081\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u4f5c\u3063\u3066\u307f\u307e\u3057\u305f\u3002 \u30de\u30c3\u30c1\u30f3\u30b0\u3084\u3089\u30bf\u30d7\u30eb\u3084\u3089\u672b\u5c3e\u518d\u5e30\u3084\u3089\u3001\u3084\u3063\u3071\u308aScala\u4fbf\u5229\u3067\u3059\u3002 object main { def main(argv:Array[String]) { val tes = List((\"a\",1),(\"b\",2),(\"a\",3),(\"d\",5),(\"e\",6)); val rc = test(tes,Map()) println(\"test\"+ rc) } def test(a:List[(String,Int)],b:Map[String,Int]):Map[String,Int] = a match { case L\u2026","provider_url":"https://hatena.blog","height":"190","title":"\u30a2\u30c9\u30ec\u30b9\u3092\u6c42\u3081\u308b\u8a08\u7b97\u306e\u7df4\u7fd2","provider_name":"Hatena Blog","image_url":null,"blog_url":"https://h-sakurai.hatenadiary.org/","type":"rich","author_url":"https://blog.hatena.ne.jp/h_sakurai/","author_name":"h_sakurai"}