[Python-ideas] @return?

Greg Ewing greg.ewing at canterbury.ac.nz
Thu Apr 15 02:58:54 CEST 2010


Masklinn wrote:
> there's no reason why it should be unsolvable, Haskell manages to 
 > have lambdas even using offside syntax (though it has a few properties
> which probably make it easier to handle than in Python)

Yes. Haskell doesn't have imperative control structures,
everything is an expression returning a value.

The two languages are sufficiently different that you
can't easily transplant selected features from one to
the other.

-- 
Greg



More information about the Python-ideas mailing list