24 Jan
2007
24 Jan
'07
6:02 p.m.
On 1/24/07, Brian Hulley <brianh@metamilk.com> 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?