On 1/26/06, Donald Bruce Stewart <[EMAIL PROTECTED]> wrote:
> Something like pattern guards?
>
>     f x | Just _ <- x = putStrLn "something"

These subsume pattern guards...

--
Taral <[EMAIL PROTECTED]>
"Computer science is no more about computers than astronomy is about
telescopes."
    -- Edsger Dijkstra
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to