CurryInfo: directory-3.0.0 / System.Directory.getHomeDirectory

definition:
getHomeDirectory :: IO FilePath
getHomeDirectory = if isWindows
                      then getEnv "USERPROFILE"
                      else getEnv "HOME"
demand:
no demanded arguments
deterministic:
deterministic operation
documentation:
--- Returns the home directory of the current user.
failfree:
()
indeterministic:
referentially transparent operation
infix:
no fixity defined
iotype:
{() |-> _}
name:
getHomeDirectory
precedence:
no precedence defined
result-values:
_
signature:
Prelude.IO String
solution-complete:
operation might suspend on free variables
terminating:
yes
totally-defined:
reducible on all ground data terms