add for-syntax #%datum export to scheme/runtime-path

svn: r10091
This commit is contained in:
Matthew Flatt 2008-06-02 15:11:29 +00:00
parent e3f0a7ca15
commit 9956e095af
2 changed files with 9 additions and 1 deletions

View File

@ -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))

View File

@ -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)