Hoogle Search

Within LTS Haskell 24.2 (ghc-9.10.2)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. unpacked :: IsText t => Iso' t String

    optics-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, since
    unpackedre packed
    

  2. unpacked :: Iso' Text String

    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, since
    unpackedre packed
    
    pack x ≡ x ^. re unpacked
    unpack x ≡ x ^. packed
    unpackediso unpack pack
    

  3. unpackUtf8 :: Text -> [CodeUnit]

    alfred-margaret Data.Text.Utf8

    No documentation available.

Page 2 of 2 | Previous