Module
Data.Binary.UnsignedInt
- Package
- purescript-binary
- Repository
- Unisay/purescript-binary
#UnsignedInt Source
newtype UnsignedInt b
Instances
Newtype (UnsignedInt b) _
(Pos b) => Eq (UnsignedInt b)
(Pos b) => Ord (UnsignedInt b)
(Pos b) => Show (UnsignedInt b)
(Pos b) => Binary (UnsignedInt b)
(Pos b) => Bounded (UnsignedInt b)
(Pos b) => Semiring (UnsignedInt b)
(Pos b) => Ring (UnsignedInt b)
(Pos b) => BaseN (UnsignedInt b)
#magnitude Source
magnitude :: forall b. UnsignedInt b -> b
#takeUnsignedInt Source
takeUnsignedInt :: forall b. Pos b => Bits -> UnsignedInt b
#asBits Source
asBits :: forall b a. Pos a => Pos b => Lt a b => UnsignedInt a -> UnsignedInt b
#tryAsBits Source
tryAsBits :: forall b a. Pos a => Pos b => Gt a b => UnsignedInt a -> Maybe (UnsignedInt b)