Minor renaming and output fixes

This commit is contained in:
Vidar Holen 2018-10-22 18:41:36 -07:00
parent 5ed89d2241
commit a8376a09a9
4 changed files with 57 additions and 28 deletions

View file

@ -49,7 +49,8 @@ module ShellCheck.Interface
, emptyCheckSpec
, newPositionedComment
, newComment
, Fix
, Fix(fixReplacements)
, newFix
, Replacement(repStartPos, repEndPos, repString)
, newReplacement
) where
@ -209,7 +210,13 @@ newReplacement = Replacement {
repString = ""
}
type Fix = [Replacement]
data Fix = Fix {
fixReplacements :: [Replacement]
} deriving (Show, Eq)
newFix = Fix {
fixReplacements = []
}
data PositionedComment = PositionedComment {
pcStartPos :: Position,