Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: Conal Elliott <conal <at> conal.net>
Subject: ANN: package Boolean: Generalized booleans
Newsgroups: gmane.comp.lang.haskell.cafe
Date: Tuesday 30th June 2009 00:44:02 UTC (over 8 years ago)
I just uploaded a new package [1] for generalized booleans, which provides
type classes with generalizations of boolean values & operations,
if-then-else, Eq and Ord.  These values & types come up for me with every
new deep DSEL, and I think they do for others as well.  The design space
has
some tricky trade-offs, and I'm not positive I've found the optimum yet.
Users & comments are very welcome.  Please direct discussion to the
haskell-cafe list (rather than haskell list).

[1]: http://hackage.haskell.org/cgi-bin/hackage-scripts/package/Boolean

   - Conal
 
CD: 3ms