From 72afc958cd27b43b8b535a28b49493f55d186983 Mon Sep 17 00:00:00 2001 From: Tim Vaughan Date: Mon, 1 May 2017 18:19:47 +1200 Subject: [PATCH] Fixed bug in MCE. Now working! --- examples/metacirc.scm | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/examples/metacirc.scm b/examples/metacirc.scm index f28367b..170adaa 100644 --- a/examples/metacirc.scm +++ b/examples/metacirc.scm @@ -88,6 +88,13 @@ env) 'ok) +(define (eval-definition exp env) + (define-variable! + (definition-variable exp) + (eval (definition-value exp) env) + env) + 'ok) + (define (self-evaluating? exp) (cond ((number? exp) true) ((string? exp) true) -- 2.20.1