Felix Martini wrote:
On Dec 16, 2007 10:56 AM, Duncan Coutts wrote:
Note that for data files like the .ghci file it's probably better to use
getAppUserDataDirectory "ghci" which will return $HOME/.ghci on unix
systems and "C:/Documents And Settings/user/Application Data/ghci" on
Windows.
I've added a proposal and a patch to Trac
(http://hackage.haskell.org/trac/ghc/ticket/1987).
I'd like to suggest a slight change to this. Currently we put the user
package database in
<appdata>\ghc\<arch>-<os>-<ghcversion>\package.conf
so perhaps the GHCi startup file should be
<appdata>\ghc\ghci.cfg
To keep all the GHC-related settings together in <appdata>\ghc.
Additionally, I propose we make no changes to what happens on Unix, and no
changes to getHomeDirectory.
Cheers,
Simon
_______________________________________________
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users