28 Jul 1997 05:11
scheme48 bug
Albert Meyer <meyer <at> martigny.ai.mit.edu>
1997-07-28 03:11:04 GMT
1997-07-28 03:11:04 GMT
The definition below generates multtiple Scheme48 errors (perhaps because
it's 847 lines?). I'm using
Scheme 48 0.46 (made by jaffer on Tue Apr 8 13:47:18 EDT 1997)
on caddr. It also totally crashed my Win95 machine. Runs ok on other
schemes (MIT, GAMBITC, EDSCHEME, DRSCHEME,...). Grateful for your advice
on dealing with this asap: we're hoping to offer 6.001 students the
Gnu-emacs interface to Scheme48 in September, and we need to get the setup
smoothed out quickly. The definition below is from actual course
software.
Thanks, A.
(define (install-renaming-procs!)
(define (inc n) (+ n 1))
(define (dec n) (- n 1))
(define (enforce body)
(cond ((or (self-evaluating? body)
(symbol-expression? body)
(variable? body)
(submodel-null? body))
body)
((combination? body)
(make-combination
(map enforce (expressions-of-combination body))))
((lambda-expression? body)
(let* ((done-lam-body (enforce (body-of-lambda body)))
(formals (formals-of-lambda body))
(fresh-formals (map get-fresh formals)))
(make-lambda
(Continue reading)
RSS Feed