5 data Bit = Bot | WeakZero | WeakOne | Zero | One | Top
6 deriving (Eq,Show{-was:Text-})
8 instance Static Bit where
10 sigToInt = sigToIntBit
11 showStaticSig = showBit
13 instance Lattice Bit where
21 instance Signal Bit where
29 instance Log Bit where
32 tt1Bit :: TT1 -> Bit -> Bit
43 tt2Bit :: TT2 -> Bit -> Bit -> Bit
93 lubBit :: Bit -> Bit -> Bit
103 WeakZero -> case b of
139 showBit :: Bit -> String
141 showBit WeakZero = "z"
142 showBit WeakOne = "o"
152 error ("\nintBit received bad Int " ++ show x ++ ".\n")
154 intToSigBit :: Int -> Bit
161 sigToIntBit :: Bit -> Int
167 passBit :: Bit -> Bit -> Bit
175 instance Num Bit where
180 abs = error "abs not defined for Signals"
181 signum = error "signum not defined for Signals"
182 fromInteger = error "fromInteger not defined for Signals"