diff options
author | Joey Hess <joey@kitenet.net> | 2011-09-20 23:24:48 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2011-09-20 23:24:48 -0400 |
commit | 9f6b7935ddb3d5dcbe0b4b784dc8acd7288ddba6 (patch) | |
tree | 8b87227689a603d09ad9fdfd010b2a3b648c1a2f /configure.hs | |
parent | 9d26192350b9c7b0402720f6f29c99c24748f364 (diff) |
go go gadget hlint
Diffstat (limited to 'configure.hs')
-rw-r--r-- | configure.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.hs b/configure.hs index 9f7179c53..b68fa12db 100644 --- a/configure.hs +++ b/configure.hs @@ -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 () |