fpco-api-1.2.0.5: Simple interface to the FP Complete IDE API.

Safe HaskellNone
LanguageHaskell2010

FP.Server.Spans

Description

Source spans and locations.

Synopsis

Documentation

printEitherSpan :: FilePath -> EitherSpan -> Text Source

Print either a useful span or a useless one.

printSourceSpan :: FilePath -> SourceSpan -> Text Source

Print a span as Main.hs:1:23