[Haskell-cafe] Eq Type Class: Overloading (==)

David Menendez zednenem at psualum.com
Sat Sep 17 14:47:42 EDT 2005

Jason Dagit writes:

> This reminds me that several times now I've wished that Bool was some  
> sort of interface instead of a type.  Perhaps Bool could be a type  
> class?  I also wish that "if" were a function, but that's probably  
> just the lisper in me speaking.  Something like:

John Meacham has a library that implements a BooleanAlgebra type class.

David Menendez <zednenem at psualum.com> | "In this house, we obey the laws
<http://www.eyrie.org/~zednenem>      |        of thermodynamics!"

More information about the Haskell-Cafe mailing list