[darcs-users] darcs patch: Replace just_dir with System.FilePath.ta... (and 1 more)

Eric Kow kowey at darcs.net
Thu Oct 23 22:09:21 UTC 2008

On Thu, Oct 23, 2008 at 21:59:54 +0100, Eric Kow wrote:
> On Thu, Oct 23, 2008 at 16:54:21 -0400, David Roundy wrote:
> > Although I think I'd be more comfortable using System.FilePath.Posix,
> > just so we maintain the same behavior.  Is there any reason to use
> > System.FilePath?
> Hmm... none that I can really think of, unless you would consider
> the ability to replace Workaround.getCurrentDirectory by just
> plain old System.Directory.getCurrentDirectory as a reason.

Oh another reason would be to avoid confusing people reading the code
(if we aren't seriously expecting System.FilePath.Posix, we might as
well avoid specifically importing that so that future people reading
the code don't have to ask themselves "why Posix?")

Eric Kow <http://www.nltg.brighton.ac.uk/home/Eric.Kow>
PGP Key ID: 08AC04F9
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: not available
Url : http://lists.osuosl.org/pipermail/darcs-users/attachments/20081023/097d920d/attachment.pgp 

More information about the darcs-users mailing list