
8 Dec
2004
8 Dec
'04
2:18 a.m.
Is there a standard Haskell trick for checking run-time assignment to data types? I'd like a data type of Probability that ensures its Double argument is between 0 and 1. Jim