setlocale-1.0.0.10: Haskell bindings to setlocale

Safe Haskell | Safe-Inferred
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 Source # maxBound :: Category Source #
Enum Category Source # |

Instance details

Defined in System.Locale.SetLocale

Methods

succ :: Category -> Category Source #

pred :: Category -> Category Source #

toEnum :: Int -> Category Source #

fromEnum :: Category -> Int Source #

enumFrom :: Category -> [Category] Source #

enumFromThen :: Category -> Category -> [Category] Source #

enumFromTo :: Category -> Category -> [Category] Source #

enumFromThenTo :: Category -> Category -> Category -> [Category] Source #

Read Category Source # |
Instance details Defined in System.Locale.SetLocale Methods readsPrec :: Int -> ReadS Category Source # readList :: ReadS [Category] Source # readPrec :: ReadPrec Category Source # readListPrec :: ReadPrec [Category] Source #
Show Category Source # |
Instance details Defined in System.Locale.SetLocale Methods showsPrec :: Int -> Category -> ShowS Source # show :: Category -> String Source # showList :: [Category] -> ShowS Source #
Eq Category Source # |
Instance details Defined in System.Locale.SetLocale Methods (==) :: Category -> Category -> Bool Source # (/=) :: Category -> Category -> Bool Source #
Ord Category Source # |
Instance details Defined in System.Locale.SetLocale Methods compare :: Category -> Category -> Ordering Source # (<) :: Category -> Category -> Bool Source # (<=) :: Category -> Category -> Bool Source # (>) :: Category -> Category -> Bool Source # (>=) :: Category -> Category -> Bool Source # max :: Category -> Category -> Category Source # min :: Category -> Category -> Category Source #

categoryToCInt :: Category -> CInt Source #

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