Greg Jaxon wrote: > Bresticker, Shalom wrote: > >> Krinshanu Debnath wrote: > >>> obj = '{a, '{2{b,c}}}; >>> >>> Now if I want to assign value in 1D array obj1, I would extend >>> it to .. >>> >>> obj1 = '{3{'{a, '{2{b,c}}}}}; >> >> Here, you want to do >> obj1 = '{3{obj}} ; >> >> But if you substitute the structure literal for obj, then you omit the >> leading '. You can think of it as moving to precede the {3. > > Not so. There are no such magic rules about how replication works. > > The example on page 12 is wrong, and its expansion has been bungled. > Here is a corrected version: > <snip> Thanks Greg, for the confirmation. Krishanu -- "/Pedantry/ is just a word used by people who don't care about accuracy to describe the attitude of those people who do." --Richard Heathfield, comp.lang.cReceived on Thu Jan 5 22:10:46 2006
This archive was generated by hypermail 2.1.8 : Thu Jan 05 2006 - 22:12:12 PST