On Fri, Oct 06, 2023 at 09:14:50AM +0200, Damien Mattei wrote: > On Thu, Oct 5, 2023 at 9:35 AM <to...@tuxteam.de> wrote: > > > I don't know whether it is TRT, but you might try wrapping your > > define form in (eval-when (compile) ...) or similar. > i tried this: > (eval-when (compile) (define scheme-plus-path > "/Users/mattei/Dropbox/git/Scheme-PLUS-for-Guile")) > > (include (string-append scheme-plus-path "/" "Scheme+.scm")) > > but still have the error: > In procedure string-prefix?: Wrong type argument in position 2 > (expecting string): (string-append scheme-plus-path "/" "Scheme+.scm")
Interesting. Even with the shotgun approach (eval-when (expand load eval compile) ...) include isn't seeing a value for the defined variable. My hunch is now that the define itself is special. There's some note in the docs about that, but I'm ATM at $DAYJOB and not supposed to be doing this :) Cheers -- t
signature.asc
Description: PGP signature