Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: Rebol pickling recipes ?

From: laurent:giroud:libertysurf at: 6-Oct-2002 14:08

Hi Ladislav,
> Now we can explore the properties of BLOCK3: > probe block3 ; == [xxxyyy xxxyyy] > reduce block3 ; == [1 2] > Let's suppose, that we just use the MOLD function to make BLOCK3 persistent. > If we LOAD the result back, we don't get a block having the same properties > as BLOCK3 and that is the trouble.
Ok, I get it. The problem is that MOLD (as well as PROBE) does not preserve context binding information at all (MOLD/all does preserve a bit more of it but not all). One would need to have some kind of access to this information in order to preserve it, and that would imply to rewrite a modified MOLD from scratch. It is funny to see how this thread finally rejoins the other one on binding :) I guess that it shows how important this notion is to rebol. Thanks again ! Regards, Laurent -- Laurent Giroud