Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- getSwarmAchievementsPath :: Bool -> IO FilePath
- loadAchievementsInfo :: IO ([SystemFailure], [Attainment])
- saveAchievementsInfo :: [Attainment] -> IO ()
Documentation
getSwarmAchievementsPath :: Bool -> IO FilePath Source #
Get path to swarm achievements, optionally creating necessary directories.
loadAchievementsInfo :: IO ([SystemFailure], [Attainment]) Source #
Load saved info about achievements from XDG data directory. Returns a tuple of warnings and attained achievements.
saveAchievementsInfo :: [Attainment] -> IO () Source #
Save info about achievements to XDG data directory.