good way to do side effects on lists?
danny_shevitz at yahoo.com
Thu Sep 23 17:02:42 CEST 2004
Michael Hoffman <m.h.3.9.1.without.dots.at.cam.ac.uk at example.com> wrote in message news:<cit221$a33$1 at pegasus.csx.cam.ac.uk>...
> But with all that set-up it's not really a one-liner. And what's wrong with
> your first proposal anyway?
Nothing is really wrong with it. I assume it runs a little slower than
something native, and since it's inside a Monte Carlo code it may
matter a little. Mostly it just feels like there should be a way to do
More information about the Python-list