guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GOOPS question


From: tomas
Subject: Re: GOOPS question
Date: Sun, 2 May 2021 12:35:35 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

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

[Prev in Thread] Current Thread [Next in Thread]