id:nozom:20060317#1142577630ã®ç¶ããä¸çã§æã誤解ãããè¨èªã¨ãå¼ã°ããJavascriptã使ã£ã¦ç¶ç¶æ¸¡ããæ¸ãã¦ã¿ãã ãªããJavascriptã®å¦çç³»ã¨ãã¦Rhino*1ã使ã£ããåèæç®ã¯ãå ¥éJavascriptã(ISBN:4756138713)ã function fib(n) { if ((n == 1) || (n == 2)) return 1; else return fib(n - 1) + fib(n - 2); } function fib_cps(n, k) { if ((n == 1) || (n == 2)) return k(1); else return fib_cps(n - 1, function(v1) { return fib_cps(n - 2, function(v2) { return k(v1 + v2);
{{#tags}}- {{label}}
{{/tags}}