[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Advice for importing things in a Guile module
From: |
Maxime Devos |
Subject: |
Re: Advice for importing things in a Guile module |
Date: |
Tue, 26 Dec 2023 00:23:26 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 |
Op 29-06-2023 om 11:35 schreef Zelphir Kaltstahl:
What can I do to use everything from rnrs base, except where things
clash and avoid the warnings?
Set #:duplicates to (last), and order things from low-preference to high
preference (like you are doing currently). Alternatively, set it to
(first) and do things in the reverse order.
(See: (guile)Creating Guile modules. Untested.).
Is there a way with `define-module' to
import everything except something specific?
Yes, modify Guile to implement such functionality. Given that such
functionality exists for (define-)library, it wouldn't expect much trouble.
Best regards,
Maxime Devos.
OpenPGP_0x49E3EE22191725EE.asc
Description: OpenPGP public key
OpenPGP_signature
Description: OpenPGP digital signature