diff --git a/Git/Tree.hs b/Git/Tree.hs index ea48a1f124..3ef3f6870d 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.