add for-syntax #%datum export to scheme/runtime-path
svn: r10091
This commit is contained in:
parent
e3f0a7ca15
commit
9956e095af
|
@ -1,5 +1,8 @@
|
|||
#lang scheme/base
|
||||
(require (for-syntax scheme/base))
|
||||
|
||||
(require mzlib/runtime-path)
|
||||
(provide (all-from-out mzlib/runtime-path))
|
||||
(provide (all-from-out mzlib/runtime-path)
|
||||
(for-syntax #%datum))
|
||||
|
||||
|
||||
|
|
|
@ -386,6 +386,11 @@ run-time path to tools like the executable and distribution creators,
|
|||
so that files and directories needed at run time are carried along in
|
||||
a distribution.
|
||||
|
||||
In addition to the bindings described below,
|
||||
@schememodname[scheme/runtime-path] provides @scheme[#%datum] in
|
||||
@tech{phase level} 1, since string constants are often used as
|
||||
compile-time expression with @scheme[define-runtime-path].
|
||||
|
||||
@defform[(define-runtime-path id expr)]{
|
||||
|
||||
Uses @scheme[expr] as both a compile-time (i.e., @tech{phase} 1)
|
||||
|
|
Loading…
Reference in New Issue
Block a user