bug-guile
[Top][All Lists]
Advanced

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

Re: 1.8.2 srfi-19 warns about current-time


From: Ludovic Courtès
Subject: Re: 1.8.2 srfi-19 warns about current-time
Date: Mon, 08 Oct 2007 20:00:02 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)

Hi,

Gregory Marton <address@hidden> writes:

> I indeed hadn't noticed that it was intentional, but I'm in agreement
> with Ludovic.  I'm concerned that my customer shouldn't be confused
> and worried by a warning, and I see no way to override the warning
> myself.

You can insert the following line at the beginning of your program:

  (default-duplicate-binding-handler 'last)

This will instruct Guile to always use the `last' duplicate binding
handler, thereby not issuing any warning (make sure you understand what
it does, looking at the manual).

Another solution would be (again, execute it ASAP):

  (module-replace! (resolve-module '(srfi srfi-19))
                   '(current-time))

Use at your own risk.  :-)

Thanks,
Ludovic.





reply via email to

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