[Haskell-cafe] Re: How to translate Haskell to other languages?

mail at justinbogner.com mail at justinbogner.com
Sat Oct 11 18:19:56 EDT 2008

"Jason Dagit" <dagit at codersbase.com> writes:

> I don't recall if I mentioned this in my original email.  My goal is to do automatic
> translations.  So, no you can't partially apply zipWith, but then that's because Python doesn't
> support partial application.  On the other hand, you can easily use a lambda to get around this. 
> So in an automatic translation I would replace partial application with lambdas.  This shouldn't
> be a problem right?

Partial application can be done in python, though somewhat awkwardly.
Take a look at functools.partial.

Green's Law of Debate:
	Anything is possible if you don't know what you're talking about.

More information about the Haskell-Cafe mailing list