On 1/24/07, Brian Hulley <[EMAIL PROTECTED]> wrote:

A possible syntax could represent the
value being matched explicitly, say using ? to represent the value
currently
being matched, then the pattern could be written as an equation:

    f (prodSize ? = Small) = ...
    f (prodSize ? = Medium) = ...
    f (prodSize ? = Big) = ...


...or maybe (Small = prodSize ?), etc., to be consistent with let bindings?
_______________________________________________
Haskell-prime mailing list
Haskell-prime@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-prime

Reply via email to