[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: inserting a file in a module?
From: |
Damien Mattei |
Subject: |
Re: inserting a file in a module? |
Date: |
Fri, 6 Oct 2023 09:14:50 +0200 |
On Thu, Oct 5, 2023 at 9:35 AM <tomas@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")