[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ANN] guile-file-names 0.2
From: |
Mark H Weaver |
Subject: |
Re: [ANN] guile-file-names 0.2 |
Date: |
Thu, 16 May 2019 16:06:44 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) |
Hi again,
I wrote:
> If you must override core procedures, then please use #:export and
> #:replace in the 'define-module' form, and simply 'define' the new
> binding in your module instead of using 'set!'. That way, the bindings
> in (guile) will be left unchanged, and your new bindings will only be
> used in modules that import your module.
Sorry, I meant to give an example of this. Please see srfi/srfi-45.scm
in the Guile source distribution for an example of the preferred way to
override core bindings, such that only modules that import your module
are affected.
Thanks,
Mark