From ecd0a52d855dbbdae6eb0c0f01b377ab2b7c4572 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jens=20Axel=20S=C3=B8gaard?= Date: Mon, 30 Jun 2014 00:28:01 +0200 Subject: [PATCH] Behaviour of (letrec ([x x]) x) changed in Racket The latest Racket has changed the behaviour of (letrec ([x x]) x). Currently any program beginning with #lang whalesong fails due to an "x undefined" error. The undefined value is now exported from racket/undefined. --- whalesong/lang/private/shared.rkt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/whalesong/lang/private/shared.rkt b/whalesong/lang/private/shared.rkt index 7411515..8cfbc4a 100644 --- a/whalesong/lang/private/shared.rkt +++ b/whalesong/lang/private/shared.rkt @@ -6,13 +6,13 @@ syntax/struct racket/struct-info scheme/include) + racket/undefined "traced-app.rkt") (provide shared) (define-for-syntax code-insp (current-code-inspector)) -(define undefined (letrec ([x x]) x)) (require (only-in "../kernel.rkt" [cons the-cons])) (define-syntax shared