Hoogle Search
Within LTS Haskell 23.21 (ghc-9.8.4)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
text Data.Text -
text Data.Text.Lazy -
text-short Data.Text.Short Convert ShortText into a list of Chars. This is an alias for toString.
(pack . unpack) t == t
unpackCString# :: Addr# -> Texttext Data.Text O(n) Convert a null-terminated modified UTF-8 (but with a standard UTF-8 representation of characters from supplementary planes) string to a Text. Counterpart to unpackCStringUtf8#. No validation is performed, malformed input can lead to memory access violation.
unpackCStringAscii# :: Addr# -> Texttext Data.Text O(n) Convert a null-terminated ASCII string to a Text. Counterpart to unpackCString#. No validation is performed, malformed input can lead to memory access violation.
-
lens Data.Text.Lazy.Lens This isomorphism can be used to unpack (or pack) lazy Text.
>>> "hello"^.unpacked -- :: String "hello"
pack x ≡ x ^. from unpacked unpack x ≡ x ^. packed
This Iso is provided for notational convenience rather than out of great need, sinceunpacked ≡ from packed
unpacked :: IsText t => Iso' t Stringlens Data.Text.Lens This isomorphism can be used to unpack (or pack) both strict or lazy Text.
unpack x ≡ x ^. unpacked pack x ≡ x ^. from unpacked
This Iso is provided for notational convenience rather than out of great need, sinceunpacked ≡ from packed
-
lens Data.Text.Strict.Lens This isomorphism can be used to unpack (or pack) lazy Text.
>>> "hello"^.unpacked -- :: String "hello"
This Iso is provided for notational convenience rather than out of great need, sinceunpacked ≡ from packed
pack x ≡ x ^. from unpacked unpack x ≡ x ^. packed unpacked ≡ iso unpack pack
-
optics-extra Data.Text.Lazy.Optics This isomorphism can be used to unpack (or pack) lazy Text.
>>> Text.pack "hello" ^. unpacked -- :: String "hello"
pack x ≡ x ^. re unpacked unpack x ≡ x ^. packed
This Iso is provided for notational convenience rather than out of great need, sinceunpacked ≡ re packed
unpacked :: IsText t => Iso' t Stringoptics-extra Data.Text.Optics This isomorphism can be used to unpack (or pack) both strict or lazy Text.
unpack x ≡ x ^. unpacked pack x ≡ x ^. re unpacked
This Iso is provided for notational convenience rather than out of great need, sinceunpacked ≡ re packed
Page 1 of 2 | Next