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

[REBOL] copy/deep

From: rotenca::telvia::it at: 24-Jul-2003 15:04

I should like that with a new refinement (es. only) copy/deep does not make 2 copies of the same block, referenced twice, but only one and adjust references. For example now happens: a: [] b: reduce [a a]; == [[] []] same? b/1 b/2; == true c: copy/deep b; == [[] []] same? c/1 c/2;== false Instead I should like: c: copy/deep/only b; == [[] []] same? c/1 c/2; == true --- Ciao Romano