Hi,

Am Donnerstag, den 02.01.2014, 10:54 +0100 schrieb Krzysztof Langner:

> I'm not sure about it. From my experience it is better to leave error
> messages as simple as possible. Since when using functions in error
> messages it is possible that this function will fail and then you will
> get confusing error message (from inside function).

for most pure Haskell functions, you can be quite certain that they
don’t fail, by following simple rules (complete patterns, no use of
partial functions like head or fromJust). So while this is might be true
in other programming languages, here you can put trust in Haskell’s type
system – if it compiles, it works.

Greetings,
Joachim

-- 
Joachim “nomeata” Breitner
  [email protected]http://www.joachim-breitner.de/
  Jabber: [email protected]  • GPG-Key: 0x4743206C
  Debian Developer: [email protected]

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
ghc-devs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/ghc-devs

Reply via email to