go go gadget hlint

This commit is contained in:
Joey Hess 2011-09-20 23:24:48 -04:00
parent 9d26192350
commit 9f6b7935dd
21 changed files with 35 additions and 37 deletions

View file

@ -51,7 +51,7 @@ getVersionString = do
let verline = head $ lines changelog
return $ middle (words verline !! 1)
where
middle s = drop 1 $ take (length s - 1) s
middle = drop 1 . init
{- Set up cabal file with version. -}
cabalSetup :: IO ()