setlocale-1.0.0.9: 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

Instances details

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

categoryToCInt :: Category -> CInt Source #

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