mention problem with #lang afl racket/kernel in docs
This commit is contained in:
parent
ecfb418f52
commit
4991fb39f7
|
@ -26,6 +26,13 @@ adds anonymous function literals to @racketmodname[racket/base], so that
|
||||||
@racketmod[afl @#,racketmodname[racket/base]
|
@racketmod[afl @#,racketmodname[racket/base]
|
||||||
(map @#,afl[(+ % 1)] '(1 2 3))]
|
(map @#,afl[(+ % 1)] '(1 2 3))]
|
||||||
produces @racket['(2 3 4)]
|
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}
|
@section{afl/reader}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user