[darcs-devel] [patch712] Refactor: Use list comprehension instead... (and 4 more)

Andreas Brandt bugs at darcs.net
Mon Jan 30 22:39:59 UTC 2012


New submission from Andreas Brandt <andreas.brandt.de at googlemail.com>:

Refactoring Dist.hs for hopefully better comprehensibility.

5 patches for repository http://darcs.net/screened:

Mon Jan 30 22:23:11 CET 2012  Andreas Brandt <andreas.brandt.de at googlemail.com>
  * Refactor: Use list comprehension instead of recursion

Mon Jan 30 23:03:25 CET 2012  Andreas Brandt <andreas.brandt.de at googlemail.com>
  * Refactor: Use takeFileName instead of own function
  Since getCurrentDirectory always gives an absolute path the check for '/'
  is not necessary and takeFileName can do the job.

Mon Jan 30 23:04:55 CET 2012  Andreas Brandt <andreas.brandt.de at googlemail.com>
  * Fix import of System.FilePath
  To quote the documentation of System.FilePath.Posix:
  "Importing System.FilePath is usually better."

Mon Jan 30 23:10:44 CET 2012  Andreas Brandt <andreas.brandt.de at googlemail.com>
  * Removed unnecessary whitespace/comment

Mon Jan 30 23:27:31 CET 2012  Andreas Brandt <andreas.brandt.de at googlemail.com>
  * Pull getDistName out of IO

----------
files: refactor_-use-list-comprehension-instead-of-recursion.dpatch, unnamed
messages: 15076
nosy: stulli
status: needs-screening
title: Refactor: Use list comprehension instead... (and 4 more)

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/patch712>
__________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: refactor_-use-list-comprehension-instead-of-recursion.dpatch
Type: text/x-darcs-patch
Size: 78643 bytes
Desc: not available
URL: <http://lists.osuosl.org/pipermail/darcs-devel/attachments/20120130/a53ca65e/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: unnamed
Type: application/octet-stream
Size: 5 bytes
Desc: not available
URL: <http://lists.osuosl.org/pipermail/darcs-devel/attachments/20120130/a53ca65e/attachment-0001.obj>


More information about the darcs-devel mailing list