Kilns
Kilns copied to clipboard
can't call LOAD with a variable
Note, this happens at definition time, not even waiting until it's triggered.
> (trigger {load ?filename} (load ?filename))
ERROR: value ?filename is not of the expected type (common-lisp:or common-lisp:pathname common-lisp:stream common-lisp:string).
This may be related to issue #2. I basically need to do a thorough review of what gets evaluated when.
This can be worked around by doing
(trigger {load ?filename} (lisp (load #.?filename)))
like we usually do to call out to lisp stuff, but since load is a part of Kilns, it'd be nice if we didn't have to.