boot2

Playing with the boostrap
git clone https://git.ryansepassi.com/git/boot2.git
Log | Files | Refs | README

85-internal-define-error.scm (286B)


      1 ; Internal `define` -- inside any non-empty lexical env (lambda body,
      2 ; let body, letrec body) -- is forbidden in this Scheme. eval_define
      3 ; rejects with a clear message and exits 1 via runtime_error. Use
      4 ; letrec for local recursive bindings.
      5 ((lambda () (define x 1) x))
      6 (sys-exit 0)