Re: [Haskell] System.FilePath survey

2006-02-03 Thread Isaac Jones
Wolfgang Jeltsch <[EMAIL PROTECTED]> writes: > Am Freitag, 3. Februar 2006 12:03 schrieb Krasimir Angelov: >> [...] > >> * Will you be happy with a library that represents the file path >> as String? The opposite is to use ADT for it. The disadvantage is that >> with the current IO library we

Re: [Haskell] System.FilePath survey

2006-02-03 Thread Wolfgang Jeltsch
Am Freitag, 3. Februar 2006 12:03 schrieb Krasimir Angelov: > [...] > * Will you be happy with a library that represents the file path > as String? The opposite is to use ADT for it. The disadvantage is that > with the current IO library we should convert from ADT to String and > back again ea

Re: [Haskell] System.FilePath survey

2006-02-03 Thread Krasimir Angelov
[move to [EMAIL PROTECTED] Yes. I agree here. There should be two modules say: System.FilePath.Posix & System.FilePath.Windows. There should be a third module System.FilePath that have to use the native path. It should switch between the Posix and Windows implementations either at runtime (Hugs, N

Re: [Haskell] System.FilePath survey

2006-02-03 Thread John Meacham
On Fri, Feb 03, 2006 at 11:29:34AM +, Neil Mitchell wrote: > I wrote a separate FilePath module for Yhc, which is available at: > http://www.cs.york.ac.uk/fp/darcs/yhc-devel/src/compiler98/Util/FilePath.hs > > The advantage of this one is that it doesn't use any #ifdef's, so is > entirely port

Re: [Haskell] System.FilePath survey

2006-02-03 Thread Neil Mitchell
Hi, > * Have you used the existing FilePath module and what do you think > about it? > Do you found it useful? Have you made any significant bugfixes or > extensions to it? I wrote a separate FilePath module for Yhc, which is available at: http://www.cs.york.ac.uk/fp/darcs/yhc-devel/src/compi

RE: [Haskell] System.FilePath survey

2006-02-03 Thread David Wakeling
>= Original Message From Krasimir Angelov <[EMAIL PROTECTED]> = >Hello Haskellers, > >There was a long discussion in October 2004, about the a FilePath >module which is currently used in Cabal. There was an idea to move it >to the standard libraries but since there were a lot of objections

[Haskell] System.FilePath survey

2006-02-03 Thread Krasimir Angelov
Hello Haskellers, There was a long discussion in October 2004, about the a FilePath module which is currently used in Cabal. There was an idea to move it to the standard libraries but since there were a lot of objections it was removed. http://www.haskell.org/pipermail/libraries/2004-October/0025