Prompted by a suggestion from Sigbjorn, I propose to clarify the description of Directory.getDirectoryContents. Current description:
"Computation getDirectoryContents dir returns a list of all entries in dir." I propose to add: "Each entry in the returned list is named relative to the directory dir, not as an absolute path." Any objections? Simon | -----Original Message----- | From: Sigbjorn Finne [mailto:[EMAIL PROTECTED]] | Sent: 18 October 2001 23:02 | To: Simon Peyton-Jones | Subject: haskell98: Directory.getDirectoryContents | | | Hi, | | not a big one, but it may be worth clarifying the behaviour | of the above function, i.e., are the elements of the result | list prefixed with the directory or not? | | GHC and Hugs (and I suspect the other two) do not prefix the | directory, which I think is as it should be, but the report | isn't clear about what the user can expect here. | | --sigbjorn | | | _______________________________________________ Haskell mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell
