[Haskell-beginners] an observation about Haskell vs. Python

Ertugrul Söylemez es at ertes.de
Thu Sep 20 12:12:10 CEST 2012

Daniel Trstenjak <daniel.trstenjak at gmail.com> wrote:

> I don't think that it's possible to have intuitive understandable
> error messages for something as complex as a programming language like
> Haskell.

It isn't related to complexity, but just to certain type system
features, in particular type classes and rank-n types.  Confusing error
message in the context of the former are the most common ones as
explained in my answer.

The latter can be even more confusing, when the compiler starts
complaining about types that aren't polymorphic enough or even about
"escaping type variables".  But I'd say most people observe those
messages only when they try to use ST in an unsafe way.


Not to be or to be and (not to be or to be and (not to be or to be and
(not to be or to be and ... that is the list monad.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://www.haskell.org/pipermail/beginners/attachments/20120920/0dee9dc1/attachment.pgp>

More information about the Beginners mailing list