Kilns icon indicating copy to clipboard operation
Kilns copied to clipboard

can't call LOAD with a variable

Open sellout opened this issue 15 years ago • 2 comments

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).

sellout avatar Sep 29 '10 10:09 sellout

This may be related to issue #2. I basically need to do a thorough review of what gets evaluated when.

sellout avatar Oct 15 '10 15:10 sellout

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.

sellout avatar Oct 17 '10 23:10 sellout