better types
This commit is contained in:
parent
196c2fa786
commit
8d6da87eec
1 changed files with 2 additions and 2 deletions
4
Annex.hs
4
Annex.hs
|
@ -51,9 +51,9 @@ new gitrepo allbackends = do
|
|||
Annex.gitRepoChange gitrepo'
|
||||
|
||||
{- performs an action in the Annex monad -}
|
||||
run :: AnnexState -> StateT AnnexState IO a -> IO (a, AnnexState)
|
||||
run :: AnnexState -> Annex a -> IO (a, AnnexState)
|
||||
run state action = runStateT action state
|
||||
eval :: AnnexState -> StateT AnnexState IO a -> IO a
|
||||
eval :: AnnexState -> Annex a -> IO a
|
||||
eval state action = evalStateT action state
|
||||
|
||||
{- Returns the git repository being acted on -}
|
||||
|
|
Loading…
Reference in a new issue