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

[REBOL] Re: On mutability and sameness

From: agem:crosswinds at: 6-Jun-2001 23:02

>>>>>>>>>>>>>>>>>> Ursprüngliche Nachricht <<<<<<<<<<<<<<<<<<
Am 06.06.01, 22:03:52, schrieb "GS Jones" <[gjones05--mail--orion--org]> zum Thema [REBOL] Re: On mutability and sameness:
> From: "Ladislav Mecir" > > Hi Volker, > > > > ...snip... > > > > > > it seems reasonable to conclude that the first transcript > > > > demonstrates changing a component of a date "in place", which > > > > would mean that DATE! values *are* mutable. However, > > > > > > they are > > > > > > > try to mutate/alter (i.e. not replace) the first element of BLOCK: > > > > block: [1/1/2001] > Hi, Ladislav, > How about this approach? Does this work? > b1: [1/1/2001] ;== [1-Jan-2001] > b2: b1 ;== [1-Jan-2001] > same? b1 b2 ;== true > b1/1/3: 3 ; == 3 > b1 ; == [3-Jan-2001] > b2 ; == [3-Jan-2001] > same? b1 b2 ; == true
Hey, Scott, that's unfair. Was just posting that! Remind me to delete my mail ;-)