Hoogle Search
Within LTS Haskell 22.21 (ghc-9.6.5)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
text Data.Text O(n) Convert a String into a Text. Performs replacement on invalid scalar values, so unpack . pack is not id:
>>> Data.Text.unpack (pack "\55555") "\65533"
-
text Data.Text.Internal O(n) Convert a String into a Text. Performs replacement on invalid scalar values, so unpack . pack is not id:
>>> Data.Text.unpack (pack "\55555") "\65533"
-
text Data.Text.Lazy O(n) Convert a String into a Text. Performs replacement on invalid scalar values, so unpack . pack is not id:
>>> Data.Text.Lazy.unpack (Data.Text.Lazy.pack "\55555") "\65533"
-
text-short Data.Text.Short Construct a ShortText from a list of Chars. This is an alias for fromString.
-
lens Data.Text.Lazy.Lens This isomorphism can be used to pack (or unpack) lazy Text.
>>> "hello"^.packed -- :: Text "hello"
pack x ≡ x ^. packed unpack x ≡ x ^. from packed packed ≡ from unpacked
packed :: IsText t => Iso' String tlens Data.Text.Lens This isomorphism can be used to pack (or unpack) strict or lazy Text.
pack x ≡ x ^. packed unpack x ≡ x ^. from packed packed ≡ from unpacked
-
lens Data.Text.Strict.Lens This isomorphism can be used to pack (or unpack) strict Text.
>>> "hello"^.packed -- :: Text "hello"
pack x ≡ x ^. packed unpack x ≡ x ^. from packed packed ≡ from unpacked packed ≡ iso pack unpack
-
optics-extra Data.Text.Lazy.Optics This isomorphism can be used to pack (or unpack) lazy Text.
>>> "hello" ^. packed -- :: Text "hello"
pack x ≡ x ^. packed unpack x ≡ x ^. re packed packed ≡ re unpacked
packed :: IsText t => Iso' String toptics-extra Data.Text.Optics This isomorphism can be used to pack (or unpack) strict or lazy Text.
pack x ≡ x ^. packed unpack x ≡ x ^. re packed packed ≡ re unpacked
-
optics-extra Data.Text.Strict.Optics This isomorphism can be used to pack (or unpack) strict Text.
>>> "hello" ^. packed -- :: Text "hello"
pack x ≡ x ^. packed unpack x ≡ x ^. re packed packed ≡ re unpacked packed ≡ iso pack unpack
Page 1 of many | Next