Re: Re[2]: ANNOUNCE: GHC version 6.8.2

2007-12-17 Thread Felix Martini
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

Re: Re[2]: ANNOUNCE: GHC version 6.8.2

2007-12-16 Thread Duncan Coutts
On Sun, 2007-12-16 at 03:21 +0200, Yitzchak Gale wrote: The current behavior is not more WIndows native - it is arguably much worse. The %HOMEPATH% variable should definitely not be used. It is not. The folder that it points to is not a home directory and should not be used that way. But

Re: Re[2]: ANNOUNCE: GHC version 6.8.2

2007-12-16 Thread Felix Martini
On Dec 16, 2007 2:21 AM, Yitzchak Gale wrote: The current behavior is not more WIndows native - it is arguably much worse. The %HOMEPATH% variable should definitely not be used. The folder that it points to is not a home directory and should not be used that way. That's not correct. It is

Re: Re[2]: ANNOUNCE: GHC version 6.8.2

2007-12-16 Thread Yitzchak Gale
Hi Felix, You have described your own style of using some of the Window's Known Folders. In my opinion your style is a bit Unixy, but that's fine, you should be allowed to do it that way in GHC. But GHC should not force others to do it only that way. btw, years ago I used to use the Profile

Re: Re[2]: ANNOUNCE: GHC version 6.8.2

2007-12-16 Thread Juanma Barranquero
On Dec 16, 2007 3:38 PM, Yitzchak Gale [EMAIL PROTECTED] wrote: As long as GHC has a built-in notion of home directory, which doesn't exist on Windows, there needs to be a user-configurable way to specify what to do instead, as there always was until now. It depends on a lot of factors -

Re: Re[2]: ANNOUNCE: GHC version 6.8.2

2007-12-16 Thread Seth Kurtzberg
On Sun, 16 Dec 2007 16:43:53 +0100 Juanma Barranquero [EMAIL PROTECTED] wrote: On Dec 16, 2007 3:38 PM, Yitzchak Gale [EMAIL PROTECTED] wrote: As long as GHC has a built-in notion of home directory, which doesn't exist on Windows, there needs to be a user-configurable way to specify what

Re[2]: ANNOUNCE: GHC version 6.8.2

2007-12-15 Thread Bulat Ziganshin
Hello Juanma, Saturday, December 15, 2007, 4:24:43 AM, you wrote: Because what Yitzchak Gale proposed and I seconded does not mean that getHomeDirectory will not follow the Windows API, unless very specifically requested by setting HOME. i'm against this idea. one can setup HOME for some

Re: Re[2]: ANNOUNCE: GHC version 6.8.2

2007-12-15 Thread Seth Kurtzberg
On Sat, 15 Dec 2007 21:31:25 +0300 Bulat Ziganshin [EMAIL PROTECTED] wrote: Hello Juanma, Saturday, December 15, 2007, 4:24:43 AM, you wrote: Because what Yitzchak Gale proposed and I seconded does not mean that getHomeDirectory will not follow the Windows API, unless very

Re: Re[2]: ANNOUNCE: GHC version 6.8.2

2007-12-15 Thread Yitzchak Gale
Removing support for %HOME% has suddenly broken many programs. If people don't like it, we can consider deprecating it in some future version of GHC, but for now it should put back. I would say it is quite ironic that some people are arguing against this by saying that it will lead to more bug

Re: Re[2]: ANNOUNCE: GHC version 6.8.2

2007-12-15 Thread Seth Kurtzberg
On Sun, 16 Dec 2007 03:21:14 +0200 Yitzchak Gale [EMAIL PROTECTED] wrote: Removing support for %HOME% has suddenly broken many programs. If people don't like it, we can consider deprecating it in some future version of GHC, but for now it should put back. I would say it is quite ironic that

Re: Re[2]: ANNOUNCE: GHC version 6.8.2

2007-12-15 Thread Yitzchak Gale
Hi Seth. Sorry, my asterisks were not at all meant to be a flame. Please accept my sincere apologies if it appeared that way. I wrote: It is *not* trivial to wrap the function in question, and it is not more correct. Seth Kurtzberg wrote: Why is it *not* trivial to wrap the function?