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: Damien Mattei
Subject: Re: using a module : rename a single definition
Date: Wed, 27 Mar 2024 08:42:45 +0100

yes it should works. I trying to port all my scheme code in R6RS library
style for compatibility,it's a bit complex depending the integration of
R6RS in a particular scheme but i think there should be a compatibility
advantage doing that.

Damien

On Wed, Mar 20, 2024 at 12:09 AM Maxime Devos <maximedevos@telenet.be>
wrote:

> 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]