avoid the functor
fmap = liftM
This commit is contained in:
parent
06f509854a
commit
4c73d77b42
2 changed files with 1 additions and 2 deletions
1
Annex.hs
1
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,
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue