News for hackers. Stuff that matters.
Re:Let the Type System do the Work by dllthomas on Tuesday April 22, 2014 @06:30AM (#7626796)
And unfortunately even with a "generic Measure type" you can't actually enforce anything at compile time. The "Num" typeclass was not very well designed (given the current facilities of the language, some of which didn't exist at the time Num was designed, so no aspersions cast at the designers!).

There are no comments on this comment yet.