unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* using a module : rename a single definition
@ 2024-03-03  8:46 Damien Mattei
  2024-03-03 11:50 ` Tomas Volf
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Damien Mattei @ 2024-03-03  8:46 UTC (permalink / raw)
  To: guile-user

hello,

is it possible to import a module having just one variable renamed (not
all) , as in Racket:

(require (rename-in srfi/42
             (: s42:))) ; Eager Comprehensions

it seems in Guile either all is imported and prefixed or only a selection
of bindings can be imported:

https://www.gnu.org/software/guile/manual/html_node/Using-Guile-Modules.html

(use-modules ((ice-9 popen)
              #:select ((open-pipe . pipe-open) close-pipe)
              #:prefix unixy:))

regards,


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2024-03-27 11:44 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-03  8:46 using a module : rename a single definition Damien Mattei
2024-03-03 11:50 ` Tomas Volf
2024-03-03 14:37   ` Damien Mattei
2024-03-03 12:55 ` tomas
2024-03-19 23:09 ` Maxime Devos
2024-03-27  7:42   ` Damien Mattei
2024-03-27 10:47     ` Hans-Werner Roitzsch
2024-03-27 11:44       ` Damien Mattei

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).