
26 May
2013
26 May
'13
5:21 a.m.
On 21 May 2013, at 06:06, Carter Schonwald wrote:
lets see what concerns there are
1) will any code break? Nope! 2) does the change make learning the language more challenging? No.
One concern that is conspicuously missing from your list is 3) performance. Will my code get slower, because it now has many more class dictionaries, requiring new runtime indirections? I quote from the GHC manual: "Overloaded functions are not your friend: Haskell's overloading (using type classes) is elegant, neat, etc., etc., but it is death to performance if left to linger in an inner loop." Regards, Malcolm