On Sun, May 02, 2021 at 12:14:37PM +0200, Damien Mattei wrote:
> i use now the good way to loadmodule:
> 
> scheme@(guile-user)> (set! %load-path (reverse (cons "." (reverse
> %load-path))))

Apart from what Mikael says: if you want to modify `%load-path', you
typically want to add your "special" directories at the front (same
pattern as in the shell path): your local things take precedence,
the rest of the world is default :)

So no need for that double reverse. Unless you have some very special
requirement, that is.

Best of all (see the docs) is to use the function `add-to-load-path'
which adds your directory to the front :)

Cheers
 - t

Attachment: signature.asc
Description: Digital signature

Reply via email to