diff options
author | Joey Hess <joey@kitenet.net> | 2011-08-19 14:36:52 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2011-08-19 14:36:52 -0400 |
commit | e3ca08fad89d6f3b5951da74a8af3631c5ef9604 (patch) | |
tree | be09d498c4a094fcfa21e28ca1972e9b996abccb | |
parent | 021e8e1e0e40543f3861ed8fb0fc12cd2be46d46 (diff) |
drop an unnecessart liftIO
the liftM on its own can lift all the way into IO.
-rw-r--r-- | Annex.hs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -84,7 +84,7 @@ newState gitrepo = AnnexState {- Create and returns an Annex state object for the specified git repo. -} new :: Git.Repo -> IO AnnexState -new gitrepo = newState `liftM` (liftIO . Git.configRead) gitrepo +new gitrepo = newState `liftM` Git.configRead gitrepo {- performs an action in the Annex monad -} run :: AnnexState -> Annex a -> IO (a, AnnexState) |