/usr/share/doc/libghc-stringprep-doc/html/stringprep.txt is in libghc-stringprep-doc 1.0.0-5build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 | -- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/
-- | Implements the "StringPrep" algorithm
--
-- Implements the <a>StringPrep</a> algorithm
@package stringprep
@version 1.0.0
module Text.CharRanges
data Range
Single :: {-# UNPACK #-} !Char -> Range
Range :: {-# UNPACK #-} !Char -> {-# UNPACK #-} !Char -> Range
range :: Char -> Char -> Range
single :: Char -> Range
data CharSet
-- | Allows quick lookups using ranges.
toSet :: [Range] -> CharSet
member :: Char -> CharSet -> Bool
instance GHC.Show.Show Text.CharRanges.Range
instance GHC.Classes.Eq Text.CharRanges.Range
instance GHC.Classes.Eq Text.CharRanges.CharRange
instance GHC.Classes.Ord Text.CharRanges.CharRange
module Text.StringPrep
data StringPrepProfile
Profile :: [Map] -> Bool -> [Prohibited] -> Bool -> StringPrepProfile
[maps] :: StringPrepProfile -> [Map]
[shouldNormalize] :: StringPrepProfile -> Bool
[prohibited] :: StringPrepProfile -> [Prohibited]
[shouldCheckBidi] :: StringPrepProfile -> Bool
data Range
type Map = Char -> Text
range :: Char -> Char -> Range
single :: Char -> Range
runStringPrep :: StringPrepProfile -> Text -> Maybe Text
a1 :: [Range]
b1 :: Map
b2 :: Map
c11 :: [Range]
c12 :: [Range]
c21 :: [Range]
c22 :: [Range]
c3 :: [Range]
c4 :: [Range]
c5 :: [Range]
c6 :: [Range]
c7 :: [Range]
c8 :: [Range]
c9 :: [Range]
-- | Profiles as defined by various sources
module Text.StringPrep.Profiles
-- | Nameprep profile (RFC 3491)
namePrepProfile :: Bool -> StringPrepProfile
-- | SASLPrep profile (RFC 4013). The parameter determines whether
-- unassigned charater are allowed (query behaviour) or disallowed
-- (store)
saslPrepProfile :: Bool -> StringPrepProfile
|