docvim-0.1.0.0: tests/HLint.hs
module Main (main) where import Language.Haskell.HLint (hlint) import System.Exit (exitFailure, exitSuccess) main :: IO () main = do hints <- hlint ["lib", "src"] if null hints then exitSuccess else exitFailure
module Main (main) where import Language.Haskell.HLint (hlint) import System.Exit (exitFailure, exitSuccess) main :: IO () main = do hints <- hlint ["lib", "src"] if null hints then exitSuccess else exitFailure