[Haskell-cafe] Why does Haskell have the if-then-else syntax?

Andreas Rossberg rossberg at ps.uni-sb.de
Thu Jul 27 13:51:02 EDT 2006

Brian Hulley wrote:
> Anyway, how about changing the syntax to:
>    "if" exp "{" "then" exp ";" "else" exp "}"

Layout has to be triggered by distinguished keywords before the brace.

Andreas Rossberg, rossberg at ps.uni-sb.de

More information about the Haskell-Cafe mailing list