aboutsummaryrefslogtreecommitdiff
path: root/Utility/Monad.hs
Commit message (Collapse)AuthorAge
* Speed up the 'unused' command.Gravatar guilhem2013-08-25
| | | | | | | | | | | Instead of populating the second-level Bloom filter with every key referenced in every Git reference, consider only those which differ from what's referenced in the index. Incidentaly, unlike with its old behavior, staged modifications/deletion/... will now be detected by 'unused'. Credits to joeyh for the algorithm. :-)
* assistant: In direct mode, objects are now only dropped when all associated ↵Gravatar Joey Hess2013-06-15
| | | | files are unwanted. This avoids a repreated drop/get loop of a file that has a copy in an archive directory, and a copy not in an archive directory. (Indirect mode still has some buggy behavior in this area, since it does not keep track of associated files.) Closes: #712060
* pastoGravatar Joey Hess2012-11-02
|
* give <&&> and <||> same fixity as && and ||Gravatar Joey Hess2012-11-02
| | | | | | Suggestion by Daniel Trstenjak These are not currently mixed in my code base, so no real change.
* look for sysctl in some common sbin locations when it's not in PATHGravatar Joey Hess2012-10-06
|
* noopGravatar Joey Hess2012-04-21
|
* fun with symbolsGravatar Joey Hess2012-03-17
| | | | | | Nothing at all on hackage is using <&&> or <||>. (Also, <&&> should short-circuit on failure.)
* optimize monadic ||Gravatar Joey Hess2012-03-16
| | | | | (||) used applicative style runs both conditions rather than short circuiting. Add an orM that properly short-circuits.
* added ifM and nuked 11 lines of codeGravatar Joey Hess2012-03-14
| | | | no behavior changes
* treakGravatar Joey Hess2012-01-21
|
* typoGravatar Joey Hess2012-01-03
|
* after is a better name for observe_Gravatar Joey Hess2012-01-03
|
* factor observe_Gravatar Joey Hess2012-01-03
|
* add a new useful thingGravatar Joey Hess2012-01-02
|
* refactorGravatar Joey Hess2011-12-03
|
* broke up UtilityGravatar Joey Hess2011-10-16