20 Jan
2009
20 Jan
'09
10:25 a.m.
On Mon, Jan 19, 2009 at 7:22 PM, <ajb@spamcop.net> wrote:
And perhaps more to the point, "Boolean" is an adjective, not a noun. Therefore, it would be better reserved for a typeclass.
There's also John Meacham's Boolean package. <http://repetae.net/recent/out/Boolean.html>
class (Heyting a) => Boolean a where {- the additional axiom that x || not x == top -}
Are there any instances of Boolean that aren't isomorphic to Bool? (I'm assuming that (||) and (&&) are intended to be idempotent, commutative, and associative.) -- Dave Menendez <dave@zednenem.com> <http://www.eyrie.org/~zednenem/>