Re: Multiline lamba implementation in python.

2007-06-15 Thread Josh Gilbert
On Wednesday 13 June 2007 4:04 am, Duncan Booth wrote: > "Gabriel Genellina" <[EMAIL PROTECTED]> wrote: > > But you already have "multiline" lambdas right now in that sense, no > > need to add anything. I think you were talking about lambdas *with* > > statements inside. > > > > bin = lambda x:((

Re: Questions about mathematical and statistical functionality in Python

2007-06-14 Thread Josh Gilbert
e Software equivalent to Spotfire. The closest I've found (and they're nowhere near as good) are Orange (http://www.ailab.si/orange) and WEKA (http://www.cs.waikato.ac.nz/ml/weka/). Orange is written in Python, but its tied to QT 2.x as the 3.x series was not available on Windows under the GPL. Josh Gilbert -- http://mail.python.org/mailman/listinfo/python-list

Re: Multiline lamba implementation in python.

2007-06-12 Thread Josh Gilbert
On 6/12/07, Facundo Batista <[EMAIL PROTECTED]> wrote: Josh Gilbert wrote: > I don't expect multiline lambdas to be added to Python. I'm not so sure that > that's a bad thing. Regardless, isn't it possible to write your own Yes, it is a bad thing. Why? Be

Multiline lamba implementation in python.

2007-06-11 Thread Josh Gilbert
I don't expect multiline lambdas to be added to Python. I'm not so sure that that's a bad thing. Regardless, isn't it possible to write your own implementation of multiline lambdas as functions? Wouldn't that be a win-win for everyone? Anyway, the meat of the idea is this: def myLambda(args, bod