[Haskell-cafe] Is there a null statement that does nothing?

Evan Laforge qdunkan at gmail.com
Tue Oct 27 13:33:24 EDT 2009


On Tue, Oct 27, 2009 at 10:08 AM, Kim-Ee Yeoh <a.biurvOir4 at asuhan.com> wrote:
>
> Hi Brent,
>
> Re: '"if" expressions, not statements' is an elegant clarification, one
> definitely for the haskellwiki, if not there already.
>
> Just for completeness' sake, bottom is a value for any expression.
> Wouldn't making the else clause optional by defaulting to "undefined"
> worthy of consideration for Evil Haskell?

Doesn't that already exist in 'case x of True -> ...'?


More information about the Haskell-Cafe mailing list