guile-devel
[Top][All Lists]
Advanced

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

Re: (ice-9 time)


From: Keisuke Nishida
Subject: Re: (ice-9 time)
Date: Tue, 20 Mar 2001 21:26:49 -0500
User-agent: Wanderlust/2.4.0 (Rio) SEMI/1.13.7 (Awazu) FLIM/1.13.2 (Kasanui) Emacs/21.0.99 (i686-pc-linux-gnu) MULE/5.0 (SAKAKI)

At 21 Mar 2001 01:21:28 +0100,
Marius Vollmer wrote:
> 
> why did you write `time' as a macro?  It does not actually expand into
> code, but performs the action itself.  This will make it fail with a
> compiler.  (It doesn't matter in the repl, but `time' can easily be of
> broader use.)
> 
> Also, it does use `eval' which I find counter-intuitive.  (Because of
> `eval', you can't really time code in a lexical environment.)
> 
> I would have written it like this:

This is better.  I have updated it.  Thanks!



reply via email to

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