Proposal: System.FilePath: current directory should be ".", not ""

Simon Marlow marlowsd at gmail.com
Mon Sep 21 07:00:30 EDT 2009


See

   http://hackage.haskell.org/trac/ghc/ticket/2034

to which I have attached a fairly simple patch.  All the tests pass.

The main change is that

    splitFileName "foo" = (".", "foo")

and

   takeDirectory "foo" = "."

and

   "." </> x  =  x

Discussion period: 2 weeks (5 October)

Cheers,
	Simon




More information about the Libraries mailing list