typed-encoding-0.3.0.1: Type safe string transformations

Safe HaskellSafe
LanguageHaskell2010

Data.TypedEncoding.Conv.Text.Lazy

Description

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

Synopsis

Documentation

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

utf8Demote :: UnSnoc xs ~ (,) ys "r-UTF8" => Enc xs c Text -> Enc ys c Text Source #

For Text "r-UTF8" is redundant