-- | Linux implementation of the locale reader. Linux exposes the POSIX per-locale query API, so this simply delegates -- to the shared "Data.HodaTime.Locale.Posix" shim. module Data.HodaTime.Locale.Platform ( loadCurrentLocale ,loadLocaleByName ) where import Data.HodaTime.Locale.Internal (Locale) import qualified Data.HodaTime.Locale.Posix as P loadCurrentLocale :: IO Locale loadCurrentLocale :: IO Locale loadCurrentLocale = IO Locale P.loadCurrentLocale loadLocaleByName :: String -> IO (Maybe Locale) loadLocaleByName :: String -> IO (Maybe Locale) loadLocaleByName = String -> IO (Maybe Locale) P.loadLocaleByName