[darcs-users] darcs patch: Make FileName.drop_dotdot work with abso... (and 2 more)

David Roundy daveroundy at gmail.com
Tue Sep 30 16:03:04 UTC 2008


On Mon, Sep 29, 2008 at 9:33 PM, Trent W. Buck <trentbuck at gmail.com> wrote:
> David Roundy <droundy at darcs.net> writes:
>
>> On Thu, Sep 25, 2008 at 11:06:23AM -0700, Dmitry Kurochkin wrote:
>>> Is there any reason not to use System.Directory.canonicalizePath in
>>> ioAbsolute? It seems to do just what we need.
>>
>> The main reason would be that there doesn't seem to be any
>> documentation indicating what System.Directory.canonicalizePath does.
>> It could be there's some in the source, but the haddock docs aren't
>> adequate.  If it doesn't do exactly what we want, we'll have to
>> reimplement it anyhow.
>
> The GHC people will doubtless accept patches to fix the docs ;-)

But I've read the code and still don't know what it does, so I don't
have the knowledge to write useful docs.  As far as I can tell, the
docs are accurate when they say that you shouldn't use this function
if you really care what it's doing.

David


More information about the darcs-users mailing list