System.Locale.SetLocale

setlocale-1.0.0.10: Haskell bindings to setlocale

Safe Haskell | Safe-Inferred
Language | Haskell2010

System.Locale.SetLocale

# Documentation

data Category #

Constructors

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

#### Instances

Instances details

Bounded Category # |
Instance details Defined in System.Locale.SetLocale Methods minBound :: Category # maxBound :: Category #
Enum Category # |
Instance details Defined in System.Locale.SetLocale 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] #
Read Category # |
Instance details Defined in System.Locale.SetLocale Methods readsPrec :: Int -> ReadS Category # readList :: ReadS [Category] # readPrec :: ReadPrec Category # readListPrec :: ReadPrec [Category] #
Show Category # |
Instance details Defined in System.Locale.SetLocale Methods showsPrec :: Int -> Category -> ShowS # show :: Category -> String # showList :: [Category] -> ShowS #
Eq Category # |
Instance details Defined in System.Locale.SetLocale Methods (==) :: Category -> Category -> Bool # (/=) :: Category -> Category -> Bool #
Ord Category # |
Instance details Defined in System.Locale.SetLocale 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 #

categoryToCInt :: Category -> CInt #

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