File: bench-case.scm

package info (click to toggle)
sigscheme 0.8.3-4
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 9,672 kB
  • ctags: 7,108
  • sloc: lisp: 37,498; ansic: 30,947; sh: 9,257; makefile: 791; asm: 333; ruby: 288
file content (11 lines) | stat: -rw-r--r-- 160 bytes parent folder | download | duplicates (20)
1
2
3
4
5
6
7
8
9
10
11
(define loop
  (lambda (i l)
    (case 6
      ((1 2 3 4 5) #f)
      ((6)
       (if (< i l)
	   (loop (+ 1 i) l)
	   l)))))

(write (loop 0 20000))
(newline)