[REBOL] Re: On mutability and sameness
From: agem:crosswinds at: 7-Jun-2001 18:57
>>>>>>>>>>>>>>>>>> Ursprüngliche Nachricht <<<<<<<<<<<<<<<<<<
Am 07.06.01, 14:47:15, schrieb Joel Neely <[joel--neely--fedex--com]> zum
Thema [REBOL] Re: On mutability and sameness:
> Hello, all!
> Of course, the point of all this discussion of mutability,
> representation, etc. is not merely idle speculation. The
> goal (at least for me) is to develop the simplest possible
> (accurate!) model of REBOL data type behavior.
> It must be "simplest" to maximize learnability.
> It must be "accurate" to allow correct interpretation and
> prediction of the behavior of a piece of REBOL code, based
> on reading the code and not by trial-and-error experiment.
> So... Here's a revised cut based on what's been said thus
> far in this thread.
> > Class of data SAME?-ness EQUAL?-ity Values
> Sample types in class based on based on mutable?
> ======================== ========== ========== > Atomic scalar data
value data value no
> CHAR!, INTEGER!
> Composite scalar data value data value yes, via
> DATE!, TIME! refinemts
> Built-in reference reference content yes
> STRING!, BLOCK! comparison comparison
> User-defined reference reference unsupported yes
> OBJECT! comparison (always false)
> =============================================================
and suddenly i see a clear picture of what i was trying
to explain. Wonderfull!
hm, maybe we should put the need for [new: copy []] somewhere in?
its redundant with data/reference, but fits somehow?
just an idea.
> Comments, changes, corrections welcome.
> Next step -- place all REBOL data types at the correct spot in
> the above table.
have done [help datatype!] already.
now putting this in a block with 1/2/3/4 for type.
then some dump-routine.. /view or <html> ?
> -jn-
-Volker