[plt-scheme] this-expression-source-file
There isn't, but the definition of this-expression-source-directory is
pretty short, and could be adapted to what build the macro you want.
(It uses split-path to drop the filename and probably you can just not
do that).
Robby
At Thu, 22 Apr 2004 08:09:58 -0700 (PDT), Ron Stanonik wrote:
> For list-related administrative tasks:
> http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>
> Hi,
>
> Is there anyway to determine the file containing an expression?
>
> (this-expression-source-directory) gives the directory.
>
> Is there anything like (this-expression-source-file)?
>
> Thanks,
>
> Ron
> stanonik at cogsci.ucsd.edu