diff options
author | Joey Hess <joey@kitenet.net> | 2011-01-11 18:13:26 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2011-01-11 18:13:26 -0400 |
commit | 8d6da87eec87de5317185f7bb8ebf50013e41c11 (patch) | |
tree | 254cbe6441d512debc81e7eb6d0bff82b61994c8 | |
parent | 196c2fa78633aaaf9a43c8aa6a54b4144ffac3e2 (diff) |
better types
-rw-r--r-- | Annex.hs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 -} |