Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要返回表达式路径的函数的名称。在旧的 mzscheme 时代,这两个函数被调用this-expression-file-name,this-expression-source-directory但是它们在 Racket 中是什么命名的?
this-expression-file-name
this-expression-source-directory
this-expression-file-name您仍然可以this-expression-source-directory在mzlib/etc. 但通常现在您会使用define-runtime-path来处理this-expression-source-directory和直接访问文件名的语法对象。
mzlib/etc
define-runtime-path