guile-user
[Top][All Lists]
Advanced

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

RE: using a module : rename a single definition


From: Maxime Devos
Subject: RE: using a module : rename a single definition
Date: Wed, 20 Mar 2024 00:09:15 +0100

Yes, with ‘library’ or ‘define-library’ forms.
 
(see https://www.gnu.org/software/guile/manual/html_node/R6RS-Libraries.html)

(library (insert name here)
  (export [insert exports here])
  (import
    (guile) ; standard imports
    (rename (ice-9 popen) (open-pipe pipe-open)))
  [insert definitions here])



reply via email to

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