Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- fixWarning :: ModuleFile -> WarningsWithModDate -> IO WarningsWithModDate
- fixRedundancyWarning :: Int -> RedundancyWarn -> [ByteString] -> Maybe [ByteString]
- data RedundancyWarn
Documentation
fixWarning :: ModuleFile -> WarningsWithModDate -> IO WarningsWithModDate Source #
Fixes applicable warning
fixRedundancyWarning :: Int -> RedundancyWarn -> [ByteString] -> Maybe [ByteString] Source #
Attempt to fix redundant import warning.
Returns Nothing
if incapable of fixing.
data RedundancyWarn Source #
Redundant import warnings
Instances
Show RedundancyWarn Source # | |
Defined in Internal.FixWarnings showsPrec :: Int -> RedundancyWarn -> ShowS # show :: RedundancyWarn -> String # showList :: [RedundancyWarn] -> ShowS # |