On Wednesday, December 6, 2017 at 9:47:55 AM UTC-5, Jan Mercl wrote: > > On Wed, Dec 6, 2017 at 3:41 PM T L <tapi...@gmail.com <javascript:>> > wrote: > > > ok, I get it. But how about this: > > It would be helpful if you state where do you see the problem so others do > not have to guess. > > Anyway, the behavior is correct. The loop equals to > > // initially {3, 5, 7} > x[2] = x[0] // {3, 5, 3} > x[2] = x[1] // {3, 5, 5} > x[2] = x[2] // {3, 5, 5} > > -- > > -j >
yes, thanks for the explanation. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.