
7 Dec
2004
7 Dec
'04
9:18 p.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