Re: Data-E for Caja mystery

Kevin Reid <[email protected]>
Newsgroups gmane.comp.lang.e.general
Message-ID <[email protected]>
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/>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.