diff --git a/Annex.hs b/Annex.hs index 46dfc9df56..07316bd370 100644 --- a/Annex.hs +++ b/Annex.hs @@ -33,7 +33,6 @@ import Types.UUID -- git-annex's monad newtype Annex a = Annex { runAnnex :: StateT AnnexState IO a } deriving ( - Functor, Monad, MonadIO, MonadControlIO, diff --git a/Branch.hs b/Branch.hs index fd4ce4cede..6abf6d9c2c 100644 --- a/Branch.hs +++ b/Branch.hs @@ -321,7 +321,7 @@ getJournalFile file = do {- List of journal files. -} getJournalFiles :: Annex [FilePath] -getJournalFiles = fmap (map fileJournal) getJournalFilesRaw +getJournalFiles = liftM (map fileJournal) getJournalFilesRaw getJournalFilesRaw :: Annex [FilePath] getJournalFilesRaw = do