[plt-scheme] this-expression-source-file

From: Robby Findler (robby at cs.uchicago.edu)
Date: Thu Apr 22 11:14:39 EDT 2004

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


Posted on the users mailing list.