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


-- | Basic implementation of XDG user directories specification
--   
--   On Unix platforms, this should be a very straightforward
--   implementation of the XDG User Directory spec. On Windows, it will
--   attempt to do the right thing with regards to choosing appropriate
--   directories.
@package xdg-userdirs
@version 0.1.0.2

module System.Environment.XDG.UserDir

-- | Read user-configured set of user directories (from user-dirs.dirs)
readUserDirs :: IO (Map String String)

-- | Get one specific user directory (e. g., getUserDir "DOWNLOAD"). If
--   there is no such specified directory, return home directory.
getUserDir :: String -> IO String
instance GHC.Show.Show System.Environment.XDG.UserDir.Element
instance GHC.Classes.Eq System.Environment.XDG.UserDir.Element
