Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- class CoerceEnum a b where
- coerceEnum :: a -> b
- w2c :: Word8 -> Char
Documentation
class CoerceEnum a b where Source #
Nothing
coerceEnum :: a -> b Source #
default coerceEnum :: Enum a => Enum b => a -> b Source #
Instances
CoerceEnum Char Char Source # | |
Defined in Parsers.Utils coerceEnum :: Char -> Char Source # | |
CoerceEnum Char Word8 Source # | |
Defined in Parsers.Utils coerceEnum :: Char -> Word8 Source # | |
CoerceEnum Word8 Char Source # | |
Defined in Parsers.Utils coerceEnum :: Word8 -> Char Source # |