summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2011-01-11 18:13:26 -0400
committerGravatar Joey Hess <joey@kitenet.net>2011-01-11 18:13:26 -0400
commit8d6da87eec87de5317185f7bb8ebf50013e41c11 (patch)
tree254cbe6441d512debc81e7eb6d0bff82b61994c8
parent196c2fa78633aaaf9a43c8aa6a54b4144ffac3e2 (diff)
better types
-rw-r--r--Annex.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Annex.hs b/Annex.hs
index 55f9edb36..765c9191f 100644
--- a/Annex.hs
+++ b/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 -}