3 Aug
2004
3 Aug
'04
9:51 a.m.
At 14:05 02/08/04 -0700, John Meacham wrote:
You might be interested in my BooleanAlgebra class, which replaces the various boolean operators from the prelude with overloaded versions with various useful instances.
The really nice thing is the instance for Bool is exactly the same as the prelude version so this can be dropped into existing code without change (modulo the monomorphism restriction).
Nice! (I've only looked briefly, but the generalization looks neat.) Is this a candidate for the standard hierarchical libraries? (Data.Boolean?) #g ------------ Graham Klyne For email: http://www.ninebynine.org/#Contact