unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: Maxime Devos <maximedevos@telenet.be>
To: Zelphir Kaltstahl <zelphirkaltstahl@posteo.de>,
	Guile User <guile-user@gnu.org>
Subject: Re: Advice for importing things in a Guile module
Date: Tue, 26 Dec 2023 00:23:26 +0100	[thread overview]
Message-ID: <2c5b9796-af5c-a658-bd57-905bf23811a7@telenet.be> (raw)
In-Reply-To: <070b2158-1c3c-32fa-4291-f7835f3a46f7@posteo.de>


[-- Attachment #1.1.1: Type: text/plain, Size: 678 bytes --]



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.

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 929 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]

      parent reply	other threads:[~2023-12-25 23:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-29  9:35 Advice for importing things in a Guile module Zelphir Kaltstahl
2023-12-24 16:19 ` Zelphir Kaltstahl
2023-12-25 23:23 ` Maxime Devos [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2c5b9796-af5c-a658-bd57-905bf23811a7@telenet.be \
    --to=maximedevos@telenet.be \
    --cc=guile-user@gnu.org \
    --cc=zelphirkaltstahl@posteo.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).