Reputation: 31147
I need the name of the function that returns the path of the expression. In the old mzscheme days the two functions were called this-expression-file-name
and this-expression-source-directory
but what are they named in Racket?
Upvotes: 2
Views: 88
Reputation: 5053
You can still find this-expression-file-name
and this-expression-source-directory
in mzlib/etc
. But usually now you'd use define-runtime-path
to handle this-expression-source-directory
, and direct access to the syntax object for the file name.
Upvotes: 3