ModuleCabal-syntax-3.18.1.0Haskell2010
Distribution.Utils.ShortText
This is a legacy compatibility layer, new developments can use Data.Text directly.
This module is designed to be import qualified
import Distribution.Utils.ShortText (ShortText)
import qualified Distribution.Utils.ShortText as ShortText
Contents
Synopsis
- type ShortText
- value toShortText
- value fromShortText
- value unsafeFromUTF8BS
- value null
- value length
- PackageCabal-syntax-3.18.1.0
- Exports6
- LanguageHaskell2010
- LicenceBSD-3-Clause
- SourceShortText.hs
ShortText type
Convert from UTF-8 encoded strict ByteString.
Operations
Text whether ShortText is empty.
O(n). Length in characters.