liquidtypes-0.1: Liquid Types for Haskell

Safe HaskellSafe-Infered

Language.Haskell.Liquid.Constraint

Contents

Description

This module defines the representation of Subtyping and WF Constraints, and the code for syntax-directed constraint generation.

Synopsis

Constraint information output by generator

data CGInfo Source

Constructors

CGInfo 

Fields

hsCs :: ![SubC]
 
hsWfs :: ![WfC]
 
fixCs :: ![FixSubC]
 
fixWfs :: ![FixWfC]
 
globals :: !FEnv
 
freshIndex :: !Integer
 
binds :: !BindEnv
 
annotMap :: !(AnnInfo Annot)
 
tyConInfo :: !(HashMap TyCon RTyCon)
 
specQuals :: ![Qualifier]
 
tyConEmbed :: !(TCEmb TyCon)
 
kuts :: !Kuts
 
lits :: ![(Symbol, Sort)]
 
refsymbols :: !(SEnv SpecType)
 

Source information associated with each constraint

newtype Cinfo Source

Constructors

Ci SrcSpan 

Function that does the actual generation

KVars in constraints, for debug purposes