I've just been chasing a portability problem, where a largish third-party
program works fine on our suns (ghc-5.02.3), but chokes under
cygwin/windows (ghc-5.04). Comes down to an inconsistency in the
handling of (trailing?) slashes in Directory.doesDirectoryExist (see
a and b below).
Consequence
: "Claus Reinke" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, October 16, 2002 07:21
Subject: Directory.doesDirectoryExist inconsistency
> I've just been chasing a portability problem, where a largish third-party
> program works fine on our su
| > That would take care of the incompatibility here, but
| > it's a slippery slope. Should Haskell provide you with
| > a platform-independent view of filenames and file systems?
Just because that wouldn't be practical doesn't mean it wouldn't be the
right thing to do (and vice versa, unfortunat
Hi all.
> | across those platforms up to the limits of available programmer time
> and
> | common sense.
> Would anyone care to remove the trailing '/' or '\' in the Win32 version
> of doesDirectoryExist?
I'll put it on my list, but it's so much easier to write emails about the
problem than
by Haskell98.
|
| --sigbjorn
|
| - Original Message -
| From: "Claus Reinke" <[EMAIL PROTECTED]>
| To: <[EMAIL PROTECTED]>
| Sent: Wednesday, October 16, 2002 07:21
| Subject: Directory.doesDirectoryExist inconsistency
|
|
| > I've just been chasing a portability problem, wh
n Finne" <[EMAIL PROTECTED]>; "Claus Reinke"
<[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, October 22, 2002 08:50
Subject: RE: Directory.doesDirectoryExist inconsistency
> Sigbjorn (and others interested in Win32 I/O behaviour)
>
> The fact tha
sage -
> From: "Simon Peyton-Jones" <[EMAIL PROTECTED]>
> To: "Sigbjorn Finne" <[EMAIL PROTECTED]>; "Claus Reinke"
> <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Tuesday, October 22, 2002 08:50
> Subject: RE: Directory
| > That would take care of the incompatibility here, but
| > it's a slippery slope.
| > Should Haskell provide you with
| > a platform-independent view of filenames and file
| > systems?
|
| I think that if a language implementation takes the trouble to provide
a
| cross-platform library function