Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Lazy version of Data.TypedEncoding.Conv.Text @since 0.2.2.0
Synopsis
- pack :: (UnSnoc xs ~ '(,) ys y, Superset "r-UNICODE.D76" y, encs ~ RemoveRs ys, AllEncodeInto "r-UNICODE.D76" encs) => Enc xs c String -> Enc xs c Text
- pack1 :: Superset "r-UNICODE.D76" y => Enc '[y] c String -> Enc '[y] c Text
- unpack :: Enc xs c Text -> Enc xs c String
- unpack1 :: Superset "r-UNICODE.D76" y => Enc '[y] c Text -> Enc '[y] c String
- utf8Promote :: Enc xs c Text -> Enc (Snoc xs "r-UTF8") c Text
- utf8Demote :: UnSnoc xs ~ '(,) ys "r-UTF8" => Enc xs c Text -> Enc ys c Text
Documentation
pack :: (UnSnoc xs ~ '(,) ys y, Superset "r-UNICODE.D76" y, encs ~ RemoveRs ys, AllEncodeInto "r-UNICODE.D76" encs) => Enc xs c String -> Enc xs c Text Source #
pack1 :: Superset "r-UNICODE.D76" y => Enc '[y] c String -> Enc '[y] c Text Source #
simplified version of pack
that works on single r- encodings
@since 0.5.2.0
unpack1 :: Superset "r-UNICODE.D76" y => Enc '[y] c Text -> Enc '[y] c String Source #
simplified version of unpack
that works on single r- encodings
@since 0.5.2.0