guile-user
[Top][All Lists]
Advanced

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

removing #:renamer


From: Thien-Thi Nguyen
Subject: removing #:renamer
Date: Sun, 14 Feb 2010 16:34:39 +0100

A while back, i added #:renamer to the `define-module' processing.
Since then, `define-module' has gained #:prefix, which is nicer (IMHO),
so now i'm thinking of removing #:renamer for Guile 1.9 (and thus 2.0).
(Specifically: by 21-February.)

This goes along with the general philosophy of "if anything should be
removed, especially backward incompatibly, do it on a major release".
In practice, this means if you have code like:

  #:use-module (FOO #:renamer (symbol-prefix-proc 'BAR))

then you can equally express that as:

  #:use-module (FOO #:prefix BAR)

That seemed/seems to be the large majority of use cases that i've seen.
Does anyone use #:renamer differently?

thi




reply via email to

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