Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Passed to Primitive Procedure
(define (seval-define sexp env)
(let ((name (define-name sexp))
(value (define-value sexp)))
(seval value
(lambda (result fail2)
(define-in-environment env name (actual-value value env name result)) fail env)
)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment