liquid-fixpoint-0.5.0.1: Predicate Abstraction-based Horn-Clause/Implication Constraint Solver

Safe HaskellNone
LanguageHaskell98

Language.Fixpoint.Types.Spans

Contents

Synopsis

Concrete Location Type

data SourcePos :: *

The abstract data type SourcePos represents source positions. It contains the name of the source (i.e. file name), a line number and a column number. SourcePos is an instance of the Show, Eq and Ord class.

data SrcSpan Source

A Reusable SrcSpan Type ------------------------------------------

Constructors

SS 

Located Values

class Loc a where Source

Located Values ---------------------------------------------------

Methods

srcSpan :: a -> SrcSpan Source

Constructing spans

locAt :: String -> a -> Located a Source

atLoc :: Located a -> b -> Located b Source

Destructing spans