System.Locale.SetLocale
- data Category
- = LC_ALL
- | LC_COLLATE
- | LC_CTYPE
- | LC_MESSAGES
- | LC_MONETARY
- | LC_NUMERIC
- | LC_TIME
- categoryToCInt :: Category -> CInt
- setLocale :: Category -> Maybe String -> IO (Maybe String)
Documentation
A type representing the various locale categories. See man 7 locale.
Constructors
| LC_ALL | |
| LC_COLLATE | |
| LC_CTYPE | |
| LC_MESSAGES | |
| LC_MONETARY | |
| LC_NUMERIC | |
| LC_TIME |
categoryToCInt :: Category -> CIntSource
Convert a Category to the corresponding system-specific LC_* code.
You probably don't need this function.