liquidhaskell-boot
Safe HaskellNone
LanguageHaskell98

Language.Haskell.Liquid.Bare.Measure

Description

This module contains (most of) the code needed to lift Haskell entitites, . code- (CoreBind), and data- (Tycon) definitions into the spec level.

Synopsis

Documentation

makeMeasureSelectors :: Config -> DataConMap -> Located DataConP -> [Measure SpecType DataCon] Source #

makeMeasureSelectors converts the DataCons and creates the measures for the selectors and checkers that then enable reflection.

varMeasures :: IsReft r => Env -> [(Symbol, Located (RRType r))] Source #

getMeasVars :: Env -> MeasEnv -> [(Symbol, Located (RRType Reft))] Source #