module-management-0.17.1: Clean up module imports, split and merge modules

Safe HaskellSafe-Inferred




increaseSrcLoc :: String -> SrcLoc -> SrcLocSource

Update a SrcLoc to move it from l past the string argument.

srcPairText :: SrcLoc -> SrcLoc -> String -> (String, String)Source

Given a beginning and end location, and a string which starts at the beginning location, return a (beforeend,afterend) pair.

makeTree :: (HasSpanInfo a, Show a, Eq a, Ord a) => Set a -> Tree aSource

Build a tree of SrcSpanInfo