ANNOUNCE: GHC version 6.8.2

Juanma Barranquero lekktu at gmail.com
Thu Dec 13 17:48:46 EST 2007


On Dec 13, 2007 11:31 PM, Yitzchak Gale <gale at sefer.org> wrote:

> I agree, that is closer to the correct behavior.
> Except that on Vista ShGetFolderPath is deprecated.
> Use ShGetKnownFolderPath instead on Vista.

Aha, I didn't know that. Thanks.

> Also, %HOMEPATH% is unsuitable for a Unix-style home
> directory on pre-Vista systems, because it usually points to
> a directory with spaces in its path name.

That's one big reason why I don't use it as HOME.

> %HOME% is the de-facto standard for Unix-like
> shell applications that were ported to Windows and
> need a home directory. If someone sets that, it
> means they want to use the folder in that way. And
> yes, that is the way GHCi has been working until
> now, so I think it should still be supported if someone
> sets it.

Yes.

> Yes, that is a problem. A user who sets %HOME% has
> indicated that this should be used. I think that should be
> returned by getHomeDirectory.

Exactly!

             Juanma


More information about the Glasgow-haskell-users mailing list