summaryrefslogtreecommitdiff
path: root/Types/Distribution.hs
diff options
context:
space:
mode:
authorJoey Hess <joeyh@joeyh.name>2015-04-11 00:10:34 -0400
committerJoey Hess <joeyh@joeyh.name>2015-04-11 00:10:34 -0400
commit2b79e6fe08233325123d4d6fa9c3cba6923947d2 (patch)
treebcad7cb23c1a6214fc208f1a9791e4ef90983eba /Types/Distribution.hs
parent32aa42de7d34ff2b7f55341d880021c2ff21e731 (diff)
a few hlints
Diffstat (limited to 'Types/Distribution.hs')
-rw-r--r--Types/Distribution.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Types/Distribution.hs b/Types/Distribution.hs
index 2a44a15758..d4de7a79bc 100644
--- a/Types/Distribution.hs
+++ b/Types/Distribution.hs
@@ -25,7 +25,7 @@ type GitAnnexVersion = String
data AutoUpgrade = AskUpgrade | AutoUpgrade | NoAutoUpgrade
deriving (Eq)
-toAutoUpgrade :: (Maybe String) -> AutoUpgrade
+toAutoUpgrade :: Maybe String -> AutoUpgrade
toAutoUpgrade Nothing = AskUpgrade
toAutoUpgrade (Just s)
| s == "ask" = AskUpgrade