[e-lang] Data-E for Caja mystery

Kevin Reid kpreid at mac.com
Wed Jul 22 22:23:00 EDT 2009


On Jul 22, 2009, at 11:39, Mark S. Miller wrote:

> var x = [1, null, 3];
> x[1] = x;
> cajita.freeze(x);
>
> If we then serialize and unserialize x into newx, AFAICT we'd end up
> with newx[1] being a resolved promise whose resolution is newx. Am I
> missing something? Or do we just live with unserialization interposing
> resolved promises at random places in the unserialization?

The Assembler [1] allows direction of the places to be less random, by  
specifying parameters which must *not* be promises.


[1] http://www.eros-os.org/pipermail/e-lang/2007-April/012009.html

-- 
Kevin Reid                                  <http://switchb.org/kpreid/>






More information about the e-lang mailing list