Skip to content

Commit

Permalink
HLint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-kolinek committed May 24, 2017
1 parent e44db17 commit 44ce136
Show file tree
Hide file tree
Showing 9 changed files with 4 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/Stack/SDist.hs
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ buildExtractedTarball pkgDir = do
envConfig <- view envConfigL
menv <- getMinimalEnvOverride
localPackageToBuild <- readLocalPackage pkgDir
let packageEntries = (bcPackageEntries (envConfigBuildConfig envConfig))
let packageEntries = bcPackageEntries (envConfigBuildConfig envConfig)
getPaths entry = do
resolvedEntry <- resolvePackageEntry menv projectRoot entry
return $ fmap fst resolvedEntry
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ import TH
import Language.Haskell.TH

someFunc :: IO ()
someFunc = putStrLn (show $(thFunc))
someFunc = print $(thFunc)
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{-# LANGUAGE TemplateHaskell #-}
module TH (thFunc) where

import Language.Haskell.TH
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ import TH
import Language.Haskell.TH

someFunc :: IO ()
someFunc = putStrLn (show $(thFunc))
someFunc = print $(thFunc)
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{-# LANGUAGE TemplateHaskell #-}
module TH (thFunc) where

import Language.Haskell.TH
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ import THC
import Language.Haskell.TH

someFuncC :: IO ()
someFuncC = putStrLn (show $(thFuncC))
someFuncC = print $(thFuncC)
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{-# LANGUAGE TemplateHaskell #-}
module THC (thFuncC) where

import Language.Haskell.TH
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{-# LANGUAGE TemplateHaskell #-}
module LibD
( someFunc
) where
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{-# LANGUAGE TemplateHaskell #-}
module Lib
( someFunc
) where
Expand Down

0 comments on commit 44ce136

Please sign in to comment.