guile-user
[Top][All Lists]
Advanced

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

Re: lazy evaluation: Goops class/instance customization


From: Maarten Grachten
Subject: Re: lazy evaluation: Goops class/instance customization
Date: Wed, 21 May 2003 12:46:16 +0200 (CEST)

On Wed, 21 May 2003, Mikael Djurfeldt wrote:

> Why are you using `primitive-eval'?
> 
> Shouldn't it be simply "(if (promise? v) (force v) v)"?

Well, without the eval the getter gives me back just the variable, and I 
want the value of the variable (if there is one, and an unbound variable 
error otherwise).

Maarten
-- 
______________________________________________________________________________

 _/ _/ _/_|   Maarten Grachten
 / _/ _/ _|   Institut d'Investigacio en Intel.ligencia Artificial, IIIA
  _/ _/___|   Spanish Scientific Research Council, CSIC
 _/ _/ ___|   Campus UAB
 / _/    _|   08193 Bellaterra, Catalunya, Spain
              Ph.: +34 93 5809570         Fax.: +34 93 5809661
              address@hidden
______________________________________________________________________________





reply via email to

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