On 12/4/07, Roberto Zunino <[EMAIL PROTECTED]> wrote:
> server text
>    | Just xs <- parse text = let
>      x | "field1" `elem` xs   = error "... do one thing ..."
>        | "field2" `elem` xs   = error "... do something else ..."
>      in x
> server  _ = error "... invalid request ..."

Not the same fallthrough properties. You'd have to clone the "server
_" clause into the x clause.

-- 
Taral <[EMAIL PROTECTED]>
"Please let me know if there's any further trouble I can give you."
    -- Unknown
_______________________________________________
Haskell mailing list
Haskell@haskell.org
http://www.haskell.org/mailman/listinfo/haskell

Reply via email to