Re: [Haskell-cafe] type class Boolean

22 Dec
2020
22 Dec
'20
10:52 a.m.
most useful kind of instance would be symbolic booleans
Yes. Ersatz has this: https://hackage.haskell.org/package/ersatz-0.4.8/docs/Ersatz-Bit.html#t:Bool... I also use this class (re-exported) in https://hackage.haskell.org/package/obdd Then modules typically start with import Prelude hiding ( not, and, or, (&&), (||) ) -- possibly more import Ersatz slightly annoying but you get used to it ... - J.
1611
Age (days ago)
1611
Last active (days ago)
0 comments
1 participants
participants (1)
-
Johannes Waldmann