lambda in list comprehension acting funny

Steven D'Aprano steve+comp.lang.python at pearwood.info
Thu Jul 12 08:18:42 CEST 2012


On Wed, 11 Jul 2012 22:04:51 -0700, 88888 Dihedral wrote:

> I have to make sure my functor to keep the state variable values for
> different objects  that call the same functor to behave correctly in
> order to avoid  passing extra parameters in various objects using the
> same functor.

Yo dawg, I heard you liked functors, so I put a functor in your functor 
so you can train your markov chains with extra functor parameters to 
functor objects that are functor factory decorator functors.



-- 
Steven



More information about the Python-list mailing list