setlocale-0.0.3: A Haskell interface to setlocale()

Safe HaskellNone

System.Locale.SetLocale

Synopsis

Documentation

data Category

A type representing the various locale categories. See man 7 locale.

Instances

Bounded Category 
Enum Category 
Eq Category 
Ord Category 
Read Category 
Show Category 
Typeable Category 

categoryToCInt :: Category -> CInt

Convert a Category to the corresponding system-specific LC_* code. You probably don't need this function.

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

A Haskell version of setlocale(). See man 3 setlocale.