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

Safe HaskellNone

FP.Server.Spans

Description

Source spans and locations.

Synopsis

Documentation

printEitherSpan :: FilePath -> EitherSpan -> TextSource

Print either a useful span or a useless one.

printSourceSpan :: FilePath -> SourceSpan -> TextSource

Print a span as Main.hs:1:23