[Haskell-cafe] HTML framework for web-ui

Daniel Trstenjak daniel.trstenjak at gmail.com
Tue May 21 15:41:58 CEST 2013


Hi Adrian,

> What's an exception? I thought Haskell used Maybe.

Haskell also has exceptions:

dan at machine ~> ghci
Prelude> head []
*** Exception: Prelude.head: empty list


I also consider them as quite problematic, especially if they're used in
libraries, but sometimes we're all a bit lazy and the 'error' function
comes in handy ...


Greetings,
Daniel



More information about the Haskell-Cafe mailing list