typed-encoding-0.2.2.0: Type safe string transformations
Data.TypedEncoding.Conv.Text.Lazy
Description
Lazy version of Data.TypedEncoding.Conv.Text @since 0.2.2.0
pack :: Enc xs c String -> Enc xs c Text Source #
unpack :: Enc xs c Text -> Enc xs c String Source #
utf8Promote :: Enc xs c Text -> Enc (Snoc xs "r-UTF8") c Text Source #
Text is automatically "r-UTF8" encoded
"r-UTF8"
utf8Demote :: UnSnoc xs ~ (,) ys "r-UTF8" => Enc xs c Text -> Enc ys c Text Source #
For Text "r-UTF8" is redundant
Text