typed-encoding-0.3.0.0: Type safe string transformations

Safe HaskellSafe
LanguageHaskell2010

Data.TypedEncoding.Conv.Text.Lazy.Encoding

Description

Lazy version of Data.TypedEncoding.Conv.Text.Encoding @since 0.2.2.0

Documentation

decodeUtf8 :: forall xs c t. (LLast xs ~ t, IsSuperset "r-UTF8" t ~ True) => Enc xs c ByteString -> Enc xs c Text Source #

encodeUtf8 :: forall xs c t. (LLast xs ~ t, IsSuperset "r-UTF8" t ~ True) => Enc xs c Text -> Enc xs c ByteString Source #