
23 Aug
2010
23 Aug
'10
2:33 a.m.
Why doesn't Haskell allow something like this? fac 0 = 0 1 = 1 x = x * fac (x-1) This would be clearer than repeating the function name each time, and follow the same pattern as guards and case.