unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* When do you re-export?
@ 2022-10-11 21:28 jgart
  2022-10-12  6:21 ` Wojtek Kosior via
  2022-10-22 14:15 ` Maxim Cournoyer
  0 siblings, 2 replies; 3+ messages in thread
From: jgart @ 2022-10-11 21:28 UTC (permalink / raw)
  To: Guix Help

Hi,

When should I re-export something in a module?

docs say the following:

Add all variables (which must be symbols or pairs of symbols) to the
list of re-exported bindings of the current module. Pairs of symbols
are handled as in export. Re-exported bindings must be imported by the
current module from some other module.

The docs don't explain why you would want to even do a re-export in the first place...

Could someone provide some examples as to why I would want to use this? It
would be much appreciated!

--
jgart


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

end of thread, other threads:[~2022-10-23 22:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-11 21:28 When do you re-export? jgart
2022-10-12  6:21 ` Wojtek Kosior via
2022-10-22 14:15 ` Maxim Cournoyer

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