From 4991fb39f7f61119559084728d6709f5f341eaae Mon Sep 17 00:00:00 2001 From: AlexKnauth Date: Thu, 16 Apr 2015 16:12:39 -0400 Subject: [PATCH] mention problem with #lang afl racket/kernel in docs --- afl/docs/afl.scrbl | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/afl/docs/afl.scrbl b/afl/docs/afl.scrbl index e922f6d..8aada0c 100644 --- a/afl/docs/afl.scrbl +++ b/afl/docs/afl.scrbl @@ -26,6 +26,13 @@ adds anonymous function literals to @racketmodname[racket/base], so that @racketmod[afl @#,racketmodname[racket/base] (map @#,afl[(+ % 1)] '(1 2 3))] produces @racket['(2 3 4)] + +For @racketmodname[afl] language to work properly for a module, the module has +to depend on @racketmodname[racket/base] in some way, although that does not +mean it has to explicitly require it or that the language it uses has to provide +anything from it. It does mean that for instance +@racket[@#,hash-lang[] @#,racketmodname[afl] @#,racketmodname[racket/kernel]] +won't work properly. } @section{afl/reader}