On Mon, Jun 22, 2009 at 2:54 PM, Deniz Dogan<deniz.a.m.do...@gmail.com> wrote: > Are you saying that when a function is named "isDirectory" you expect > it to only check for a trailing forward slash character?
No. I'm saying that *if* isDirectory existed, then (isDirectory "/no/such/directory/") should equal true on Unix. I'm saying "isDirectory" should not *exist*, because it cannot do what it says on Unix or Windows. There are OSes where it can do what it says (i.e., it is possible to tell whether a path points at a directory or a file). > -- > Deniz Dogan > --Max _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe