Hi,

Gregory Marton <[EMAIL PROTECTED]> writes:

> On Mon, 8 Oct 2007, Ludovic Courtès wrote:

>> You can insert the following line at the beginning of your program:
>>
>>  (default-duplicate-binding-handler 'last)
>
> This affects all bindings, not just the ones I no longer want to be
> warned about.

Yes.

> resolve-module finds the module with the given name and returns it.
> http://gnu.rtin.bz/software/guile/docs/docs-1.8/guile-ref/Module-System-Reflection.html
>
> module-replace! forces the list of symbols in its second argument to
> be put into the :replace list?
>   (could not find documentation)

Correct.  It's not documented (yet).

> What's the risk, besides unwittingly using srfi-19's current-time when
> I wanted to use the core current-time?

The risk is that you're using undocumented features that might change or
vanish someday.

Note that using `:renamer' as Jon suggested is more "future-proof",
albeit slightly less convenient.

> As a question outside the scope of this conversation, why does srfi-19
> not use time-monotonic to mean what the core current-time means, and
> make that default instead of utc?

Because the argument to SRFI-19 `current-time' defaults to `time-utc',
and we can't change it.  :-)

Thanks,
Ludovic.



_______________________________________________
Bug-guile mailing list
Bug-guile@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-guile

Reply via email to