Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- newtype Ascii = Ascii ByteString
- type CIAscii = CI Ascii
- fromByteString :: ByteString -> Maybe Ascii
- fromChars :: String -> Maybe Ascii
- fromText :: Text -> Maybe Ascii
- unsafeFromByteString :: ByteString -> Ascii
- unsafeFromString :: String -> Ascii
- unsafeFromText :: Text -> Ascii
- toCIAscii :: Ascii -> CIAscii
- fromCIAscii :: CIAscii -> Ascii
- toByteString :: Ascii -> ByteString
- toString :: Ascii -> String
- toText :: Ascii -> Text
- ciToByteString :: CIAscii -> ByteString
Documentation
Instances
Eq Ascii Source # | |
Data Ascii Source # | |
Defined in Data.Ascii.ByteString gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Ascii -> c Ascii # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Ascii # dataTypeOf :: Ascii -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Ascii) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Ascii) # gmapT :: (forall b. Data b => b -> b) -> Ascii -> Ascii # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Ascii -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Ascii -> r # gmapQ :: (forall d. Data d => d -> u) -> Ascii -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Ascii -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Ascii -> m Ascii # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Ascii -> m Ascii # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Ascii -> m Ascii # | |
Ord Ascii Source # | |
Read Ascii Source # | |
Show Ascii Source # | |
IsString Ascii Source # | |
Defined in Data.Ascii.ByteString fromString :: String -> Ascii # | |
Semigroup Ascii Source # | |
Monoid Ascii Source # | |
FoldCase Ascii Source # | |
Defined in Data.Ascii.ByteString | |
Hashable Ascii Source # | |
Defined in Data.Ascii.ByteString |
fromByteString :: ByteString -> Maybe Ascii Source #
unsafeFromString :: String -> Ascii Source #
unsafeFromText :: Text -> Ascii Source #
fromCIAscii :: CIAscii -> Ascii Source #
toByteString :: Ascii -> ByteString Source #
ciToByteString :: CIAscii -> ByteString Source #