liquidtypes-0.1: Liquid Types for Haskell

Safe HaskellSafe-Infered

Language.Haskell.Liquid.CTags

Contents

Description

This module contains the code for generating tags for constraints based on their source, i.e. the top-level binders under which the constraint was generated. These tags are used by fixpoint in Language.Haskell.Liquid.FixInterface to prioritize constraints by the source function.

Synopsis

Type for constraint tags

type TagKey = VarSource

The TagKey is the top-level binder, and Tag is a singleton Int list

type TagEnv = HashMap TagKey TagSource

Default tag value

Constructing TagEnv

Accessing TagEnv