hw-prim-0.6.2.5: Primitive functions and data types
HaskellWorks.Data.Sign
class Sign a where Source #
Minimal complete definition
sign
Associated Types
type SignOf a Source #
Methods
sign :: a -> SignOf a Source #
Defined in HaskellWorks.Data.Sign
type SignOf Int :: * Source #
sign :: Int -> SignOf Int Source #
type SignOf Int8 :: * Source #
sign :: Int8 -> SignOf Int8 Source #
type SignOf Int16 :: * Source #
sign :: Int16 -> SignOf Int16 Source #
type SignOf Int32 :: * Source #
sign :: Int32 -> SignOf Int32 Source #
type SignOf Int64 :: * Source #
sign :: Int64 -> SignOf Int64 Source #
type SignOf Word :: * Source #
sign :: Word -> SignOf Word Source #
type SignOf Word8 :: * Source #
sign :: Word8 -> SignOf Word8 Source #
type SignOf Word16 :: * Source #
sign :: Word16 -> SignOf Word16 Source #
type SignOf Word32 :: * Source #
sign :: Word32 -> SignOf Word32 Source #
type SignOf Word64 :: * Source #
sign :: Word64 -> SignOf Word64 Source #