Nested Guards

Taral taralx at
Sat Jul 1 16:05:21 EDT 2006

On 7/1/06, Bas van Dijk <basvandijk at> wrote:
> "To ensure that at least one of the alternatives of a nested guard will be
> successful, a nested guarded alternative must always have a 'default case' as
> last alternative."

Okay, that sounds like they don't have fall-through semantics in
Clean. Probably for the best -- accidental fallthrough might be a
nasty source of bugs.

Taral <taralx at>
"You can't prove anything."
    -- Gödel's Incompetence Theorem

More information about the Haskell-prime mailing list