Hoogle Search
Within LTS Haskell 22.23 (ghc-9.6.5)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
optics-extra Data.Text.Strict.Optics This isomorphism can be used to unpack (or pack) strict Text.
>>> Strict.pack "hello" ^. unpacked -- :: String "hello"
This Iso is provided for notational convenience rather than out of great need, sinceunpacked ≡ re packed
pack x ≡ x ^. re unpacked unpack x ≡ x ^. packed unpacked ≡ iso unpack pack
Page 2 of 2 | Previous