-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/


-- | A Haskell interface to setlocale()
--   
--   A Haskell interface to <tt>setlocale()</tt>.
@package setlocale
@version 0.0.3

module System.Locale.SetLocale

-- | A type representing the various locale categories. See <tt>man 7
--   locale</tt>.
data Category
LC_ALL :: Category
LC_COLLATE :: Category
LC_CTYPE :: Category
LC_MESSAGES :: Category
LC_MONETARY :: Category
LC_NUMERIC :: Category
LC_TIME :: Category

-- | Convert a <a>Category</a> to the corresponding system-specific
--   <tt>LC_*</tt> code. You probably don't need this function.
categoryToCInt :: Category -> CInt

-- | A Haskell version of <tt>setlocale()</tt>. See <tt>man 3
--   setlocale</tt>.
setLocale :: Category -> Maybe String -> IO (Maybe String)
instance Eq Category
instance Ord Category
instance Read Category
instance Show Category
instance Enum Category
instance Bounded Category
instance Typeable Category
