[Baypiggies] Baypiggies snippets

Keith Dart keith at dartworks.biz
Fri Mar 30 01:50:46 CEST 2007


On Thu, 29 Mar 2007 10:19:26 -0700
Doug Landauer <zia at cruzio.com> wrote:

> To me, it's analogous to "list.sort()" vs "sorted( iterable ... )".
> "flattened(...)" could be the function that Keith described, and
> ".flatten()" could be the method that I described, if there were
> any class in which to define it.

I see. Well, you could actually subclass "list" and add that method
there. 

-- 

-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   Keith Dart <keith at dartworks.biz>
   public key: ID: 19017044
   <http://www.dartworks.biz/>
   =====================================================================


More information about the Baypiggies mailing list