How to tell if we're being loaded by ASDF?

Robert Goldman rpgoldman at sift.info
Mon Mar 9 00:22:32 UTC 2020


On 8 Mar 2020, at 17:22, Robert Dodier wrote:

> Hi, this is a bit off the wall, but maybe there is a way to do it. A
> web search didn't seem to find anything about it.
>
> Is there a way to know that ASDF is loading stuff?
>
> I have this situation. A file might be loaded by ASDF or it might be
> loaded by hand. If it's being loaded by ASDF, then I'd like to do some
> stuff differently.
>
> Why might this file be loaded by hand, why not always use ASDF? Well,
> it's not a Lisp file, it's a Maxima file being loaded by some
> maxima-asdf hackery. I can't count on maxima-asdf working for anybody
> else so I'm expecting that people will load it by hand instead of
> ASDF. But if it is being loaded by ASDF, then I'd like to know that.
>
> Thanks a lot for any info,
>
> Robert Dodier


Robert P. Goldman
Research Fellow
Smart Information Flow Technologies (d/b/a SIFT, LLC)

319 N. First Ave., Suite 400
Minneapolis, MN 55401

Voice:	(612) 326-3934
Email:    rpgoldman at SIFT.net



More information about the asdf-devel mailing list