[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] export/rename
From: |
Peter Bex |
Subject: |
Re: [PATCH] export/rename |
Date: |
Tue, 3 Oct 2023 09:51:57 +0200 |
On Mon, Oct 02, 2023 at 06:31:44PM +0200, felix.winkelmann@bevuta.com wrote:
> This patch adds a new special form to explicitly export renamed bindings
> from a module:
>
> (export/rename (OLD NEW) ...)
Why not add it to the regular "export" form? It's already extendable,
as it has syntax: and interface:. So for example we could have:
(export (rename: OLD NEW) ...)
Saves having yet another top-level special-case form.
Cheers,
Peter
signature.asc
Description: PGP signature