[Haskell-cafe] Re: "Haskell is a scripting language inspired by Python."

Jonathan Geddes geddes.jonathan at gmail.com
Thu Nov 4 10:16:42 EDT 2010

Regardless of which languages got which features for which other
languages, Haskell is surely NOT a "scripting language inspired by

Also, it was my understanding that Python got list comprehensions
straight from Haskell. Unless, of course, some of the pre-Haskells
also had this feature.

Haskell: [f x | x <- xs, x <= 15]
Python: [f(x) for x in xs if x <= 15]

The Python version reads the way I would speak the Haskell one if I
were reading code aloud, though I might say "such that" rather than

--Jonathan Geddes

On Thu, Nov 4, 2010 at 6:05 AM, Stephen Tetley <stephen.tetley at gmail.com> wrote:
> On 4 November 2010 12:03, Stephen Tetley <stephen.tetley at gmail.com> wrote:
>> Python is approximately as old as Python and most likely got
>> indentation from ABC.
> Apologies that should read - "as old as Haskell"
> Obviously IDSWIM - (I _don't_ say what I mean).
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe

More information about the Haskell-Cafe mailing list