summaryrefslogtreecommitdiff
path: root/Git/Tree.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2016-04-08 16:09:00 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2016-04-08 16:09:00 -0400
commit0fbbe28293997bcf25097fe837114fa586e7f6c8 (patch)
tree26e3d8b509c3b540b9b0cdb569e847bad22c51f9 /Git/Tree.hs
parent33b26b3b72097e8bf48a53c75bc952fc2d18f8a8 (diff)
fix build with ghc 7.6.3
Diffstat (limited to 'Git/Tree.hs')
-rw-r--r--Git/Tree.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Git/Tree.hs b/Git/Tree.hs
index ea48a1f12..3ef3f6870 100644
--- a/Git/Tree.hs
+++ b/Git/Tree.hs
@@ -149,7 +149,7 @@ treeItemsToTree = go M.empty
- this avoids buffering the whole tree in memory.
-}
adjustTree
- :: (MonadIO m, MonadMask m)
+ :: (Functor m, MonadIO m, MonadMask m)
=> (TreeItem -> m (Maybe TreeItem))
-- ^ Adjust an item in the tree. Nothing deletes the item.
-- Cannot move the item to a different tree.