
24 Jan
2007
24 Jan
'07
5:02 a.m.
On 1/24/07, Brian Hulley
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?