setlocale-1.0.0.5: Haskell bindings to setlocale

Safe Haskell | Safe
Language | Haskell2010

System.Locale.SetLocale

# Documentation

data Category Source #

Constructors

LC_ALL |
LC_COLLATE |
LC_CTYPE |
LC_MESSAGES |
LC_MONETARY |
LC_NUMERIC |
LC_TIME |

Instances

Bounded Category Source # |
Methods minBound :: Category # maxBound :: Category #
Enum Category Source # |
Methods succ :: Category -> Category # pred :: Category -> Category # toEnum :: Int -> Category # fromEnum :: Category -> Int # enumFrom :: Category -> [Category] # enumFromThen :: Category -> Category -> [Category] # enumFromTo :: Category -> Category -> [Category] # enumFromThenTo :: Category -> Category -> Category -> [Category] #
Eq Category Source # |
Methods (==) :: Category -> Category -> Bool # (/=) :: Category -> Category -> Bool #
Ord Category Source # |
Methods compare :: Category -> Category -> Ordering # (<) :: Category -> Category -> Bool # (<=) :: Category -> Category -> Bool # (>) :: Category -> Category -> Bool # (>=) :: Category -> Category -> Bool # max :: Category -> Category -> Category # min :: Category -> Category -> Category #
Read Category Source # |
Methods readsPrec :: Int -> ReadS Category # readList :: ReadS [Category] # readPrec :: ReadPrec Category # readListPrec :: ReadPrec [Category] #
Show Category Source # |
Methods showsPrec :: Int -> Category -> ShowS # show :: Category -> String # showList :: [Category] -> ShowS #

categoryToCInt :: Category -> CInt Source #

setLocale :: Category -> Maybe String -> IO (Maybe String) Source #