{"provider_name":"Hatena Blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.sakatakoichi.com%2Fentry%2F20081111%2F1226373175\" title=\"Scala\u3067CPS(\u7d99\u7d9a\u6e21\u3057\u30b9\u30bf\u30a4\u30eb) - Fight the Future\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","categories":["programming"],"published":"2008-11-12 05:12:55","url":"https://www.sakatakoichi.com/entry/20081111/1226373175","provider_url":"https://hatena.blog","author_name":"jyukutyo","image_url":null,"blog_url":"https://www.sakatakoichi.com/","title":"Scala\u3067CPS(\u7d99\u7d9a\u6e21\u3057\u30b9\u30bf\u30a4\u30eb)","author_url":"https://blog.hatena.ne.jp/jyukutyo/","height":"190","blog_title":"Fight the Future","type":"rich","version":"1.0","description":"\u307e\u308b\u3054\u3068JavaScript & Ajax ! Vol.1\u3092\u8aad\u307f\u8fd4\u3057\u3066CPS\u3092\u5b66\u3093\u3067\u307f\u308b\u3002 def sumIterTrump(i: Int, part: Int, cont: Int => Unit): Function2[Int, Int, Function0[Int]] = { if (i > 10) { cont(part) null } else { println(\"progress \" + i + \"/10\") sumIterTrump(i + 1, part + i, cont) } } sumIterTrump(1, 0, {sum: Int => println(\"sum i\u2026","width":"100%"}