Re: [Haskell-cafe] about System.Posix.Files.fileAccess

2009-01-15 Thread Manlio Perillo
Brandon S. Allbery KF8NH ha scritto: On 2009 Jan 14, at 9:02, Manlio Perillo wrote: This is of course a personal opinion, but I think the interface of: fileAccess :: FilePath - Bool - Bool - Bool - IO Bool

Re: [Haskell-cafe] about System.Posix.Files.fileAccess

2009-01-15 Thread Brandon S. Allbery KF8NH
On 2009 Jan 15, at 5:57, Manlio Perillo wrote: Brandon S. Allbery KF8NH ha scritto: On 2009 Jan 14, at 9:02, Manlio Perillo wrote: This is of course a personal opinion, but I think the interface of: fileAccess :: FilePath - Bool - Bool - Bool - IO Bool

[Haskell-cafe] about System.Posix.Files.fileAccess

2009-01-14 Thread Manlio Perillo
Hi. This is of course a personal opinion, but I think the interface of: fileAccess :: FilePath - Bool - Bool - Bool - IO Bool http://haskell.org/ghc/docs/latest/html/libraries/unix/System-Posix-Files.html#v:fileAccess is not very good. Is it possible to design (in theory) a better interface?

Re: [Haskell-cafe] about System.Posix.Files.fileAccess

2009-01-14 Thread Don Stewart
manlio_perillo: Hi. This is of course a personal opinion, but I think the interface of: fileAccess :: FilePath - Bool - Bool - Bool - IO Bool http://haskell.org/ghc/docs/latest/html/libraries/unix/System-Posix-Files.html#v:fileAccess is not very good. Is it possible to design (in

Re: [Haskell-cafe] about System.Posix.Files.fileAccess

2009-01-14 Thread Brandon S. Allbery KF8NH
On 2009 Jan 14, at 9:02, Manlio Perillo wrote: This is of course a personal opinion, but I think the interface of: fileAccess :: FilePath - Bool - Bool - Bool - IO Bool http://haskell.org/ghc/docs/latest/html/libraries/unix/System-Posix-Files.html#v :fileAccess is not very good. The