| Safe Haskell | Trustworthy |
|---|---|
| Language | Haskell2010 |
ReWire.BitVector
Synopsis
- data BV
- width :: BV -> Int
- ones :: Int -> BV
- zeros :: Int -> BV
- nil :: BV
- (@@) :: Integral ix => BV -> (ix, ix) -> BV
- bitVec :: Integral a => Int -> a -> BV
- (>>.) :: BV -> BV -> BV
- (<<.) :: BV -> BV -> BV
- (==.) :: BV -> BV -> Bool
- ashr :: BV -> BV -> BV
- replicate :: Integral size => size -> BV -> BV
- lsb1 :: BV -> Int
- (@.) :: Integral ix => BV -> ix -> Bool
- concat :: [BV] -> BV
- showHex :: BV -> Text
- showHex' :: BV -> Text
- nbits :: Natural -> Natural
- szBitRep :: Natural -> Natural
Documentation
Instances
| ToJSON BV | |
Defined in ReWire.Orphans | |
| Monoid BV | |
| Semigroup BV | |
| Bits BV | |
| Data BV | |
Defined in Data.BitVector Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> BV -> c BV # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c BV # dataTypeOf :: BV -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c BV) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c BV) # gmapT :: (forall b. Data b => b -> b) -> BV -> BV # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> BV -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> BV -> r # gmapQ :: (forall d. Data d => d -> u) -> BV -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> BV -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> BV -> m BV # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> BV -> m BV # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> BV -> m BV # | |
| Enum BV | |
| Num BV | |
| Read BV | |
| Integral BV | |
| Real BV | |
Defined in Data.BitVector Methods toRational :: BV -> Rational # | |
| Show BV | |
| Eq BV | |
| Ord BV | |
| Hashable BV | |
Defined in ReWire.Orphans | |
| TextShow BV Source # | |