File: bench-let-loop.scm

package info (click to toggle)
sigscheme 0.9.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 8,660 kB
  • sloc: lisp: 37,498; ansic: 31,109; sh: 4,368; makefile: 744; asm: 333; ruby: 290
file content (11 lines) | stat: -rw-r--r-- 145 bytes parent folder | download | duplicates (19)
1
2
3
4
5
6
7
8
9
10
11
(define loop
  (lambda (i l)
    (let ((a 0)
	  (b 1)
	  (c 2))
      (if (< i l)
	  (loop (+ 1 i) l)
	  l))))

(write (loop 0 20000))
(newline)