| Safe Haskell | Safe |
|---|---|
| Language | Haskell2010 |
HaskellWorks.Data.Int.Unsigned
Documentation
class Unsigned a where Source #
Associated Types
type UnsignedOf a Source #
Methods
unsigned :: a -> UnsignedOf a Source #
Cast the value to a larger size.
This is safer to use than fromIntegral.
Instances
| Unsigned Int8 Source # | |
Defined in HaskellWorks.Data.Int.Unsigned Associated Types type UnsignedOf Int8 :: Type Source # | |
| Unsigned Int16 Source # | |
Defined in HaskellWorks.Data.Int.Unsigned Associated Types type UnsignedOf Int16 :: Type Source # | |
| Unsigned Int32 Source # | |
Defined in HaskellWorks.Data.Int.Unsigned Associated Types type UnsignedOf Int32 :: Type Source # | |
| Unsigned Int64 Source # | |
Defined in HaskellWorks.Data.Int.Unsigned Associated Types type UnsignedOf Int64 :: Type Source # | |