Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- newtype Char7 = Char7 {}
- toChar :: Char7 -> Char
- fromCharMask :: Char -> Char7
- fromChar :: Char -> Maybe Char7
- fromByteMask :: Word8 -> Char7
- fromByte :: Word8 -> Maybe Char7
- c7_LF :: Char7
- c7_CR :: Char7
- c7_minus :: Char7
- c7_a :: Char7
- c7_A :: Char7
- c7_z :: Char7
- c7_Z :: Char7
- c7_0 :: Char7
- c7_1 :: Char7
- c7_2 :: Char7
- c7_3 :: Char7
- c7_4 :: Char7
- c7_5 :: Char7
- c7_6 :: Char7
- c7_7 :: Char7
- c7_8 :: Char7
- c7_9 :: Char7
- c7Upper :: Char7 -> Char7
- c7Lower :: Char7 -> Char7
Documentation
ASCII value between 0x0 and 0x7f
Instances
Eq Char7 # | |
Ord Char7 # | |
Show Char7 # | |
PrimType Char7 # | |
Defined in Basement.PrimType primSizeInBytes :: Proxy Char7 -> CountOf Word8 # primShiftToBytes :: Proxy Char7 -> Int # primBaUIndex :: ByteArray# -> Offset Char7 -> Char7 # primMbaURead :: PrimMonad prim => MutableByteArray# (PrimState prim) -> Offset Char7 -> prim Char7 # primMbaUWrite :: PrimMonad prim => MutableByteArray# (PrimState prim) -> Offset Char7 -> Char7 -> prim () # primAddrIndex :: Addr# -> Offset Char7 -> Char7 # primAddrRead :: PrimMonad prim => Addr# -> Offset Char7 -> prim Char7 # primAddrWrite :: PrimMonad prim => Addr# -> Offset Char7 -> Char7 -> prim () # | |
NormalForm Char7 # | |
Defined in Basement.NormalForm toNormalForm :: Char7 -> () # | |
type NatNumMaxBound Char7 # | |
Defined in Basement.Nat | |
type PrimSize Char7 # | |
Defined in Basement.PrimType |
fromByteMask :: Word8 -> Char7 #
Convert a Byte
to a Char7
ignoring the higher bit