
10 Oct
2001
10 Oct
'01
10:35 a.m.
On 10 Oct 2001, Ketil Malde wrote: (snip)
function definitions. Perhaps one could have had a syntax like
z a = | a == 1 -> 1 | a == 2 -> 3
instead, as it'd make it more consisten with the case, but I suppose there's a reason for it being the way it is. The case statement is an (snip)
Ah, yes - it was this 'discrepancy' that was one of the sources of my confusion, as "a == 1" obviously doesn't 'equal' "1". Thanks to you, Ashley and Dave, this is all starting to make some sort of sense, though - thanks to everyone for their thoughts. (-: -- Mark