Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
A thing with a location attached.
noLocation :: a -> Located a Source #
Add dummy location information.
A combination of file name and line number.
enumerate :: Location -> [Location] Source #
Create a list from a location, by repeatedly increasing the line number by one.
toLocation :: SrcSpan -> Location Source #
Convert a GHC source span to a location.