Megatest

Artifact [bdd95212bd]
Login

Artifact bdd95212bdd59747820252699290d25bf0fe8ff4:



(module tryit
 *

(import scheme
	chicken)

(define (read-from-file fname)
  (handle-exceptions
      exn
    #f
    (with-input-from-file fname
      read)))


(define (read-gazillions num fname)
  (let loop ((res '())
	     (count 0))
    (if (< count num)
	(begin
	  (loop (cons (read-from-file fname) res)
		(+ count 1)))
	res)))

)

(import tryit)