git-annex/Git
Joey Hess bf460a0a98 reorder repo parameters last
Many functions took the repo as their first parameter. Changing it
consistently to be the last parameter allows doing some useful things with
currying, that reduce boilerplate.

In particular, g <- gitRepo is almost never needed now, instead
use inRepo to run an IO action in the repo, and fromRepo to get
a value from the repo.

This also provides more opportunities to use monadic and applicative
combinators.
2011-11-08 16:27:20 -04:00
..
CatFile.hs reorder repo parameters last 2011-11-08 16:27:20 -04:00
LsFiles.hs reorder repo parameters last 2011-11-08 16:27:20 -04:00
LsTree.hs reorder repo parameters last 2011-11-08 16:27:20 -04:00
Queue.hs reorder repo parameters last 2011-11-08 16:27:20 -04:00
UnionMerge.hs reorder repo parameters last 2011-11-08 16:27:20 -04:00