Copyright | (c) John MacFarlane |
---|---|
License | BSD-style (see LICENSE) |
Maintainer | John MacFarlane <fiddlosopher@gmail.com> |
Stability | unstable |
Portability | unportable |
Safe Haskell | Safe |
Language | Haskell2010 |
Text.CSL.Data
Description
Synopsis
- getLocale :: String -> IO ByteString
- data CSLLocaleException
- = CSLLocaleNotFound String
- | CSLLocaleReadError IOException
- getDefaultCSL :: IO ByteString
- getManPage :: IO ByteString
- getLicense :: IO ByteString
- langBase :: [(String, String)]
Documentation
getLocale :: String -> IO ByteString Source #
Raises CSLLocaleException
on error.
data CSLLocaleException Source #
Constructors
CSLLocaleNotFound String | |
CSLLocaleReadError IOException |
Instances
Show CSLLocaleException Source # | |
Defined in Text.CSL.Data Methods showsPrec :: Int -> CSLLocaleException -> ShowS show :: CSLLocaleException -> String showList :: [CSLLocaleException] -> ShowS | |
Exception CSLLocaleException Source # | |
Defined in Text.CSL.Data Methods toException :: CSLLocaleException -> SomeException fromException :: SomeException -> Maybe CSLLocaleException displayException :: CSLLocaleException -> String |
getDefaultCSL :: IO ByteString Source #
getManPage :: IO ByteString Source #
getLicense :: IO ByteString Source #