liquidhaskell-boot-0.9.2.5.0: Liquid Types for Haskell
Safe HaskellSafe-Inferred
LanguageHaskell98

Language.Haskell.Liquid.Constraint.Termination

Description

This module defines code for generating termination constraints.

Synopsis

Documentation

makeTermEnvs :: CGEnv -> [(Var, [Located Expr])] -> [(Var, CoreExpr)] -> [SpecType] -> [SpecType] -> [CGEnv] Source #

makeDecrIndex :: (Var, Template SpecType, [Var]) -> CG (Maybe Int) Source #

TERMINATION TYPE ----------------------------------------------------------

checkIndex :: (NamedThing t, PPrint t, PPrint a) => (t, [a], Template (RType c tv r), Maybe Int) -> CG (Maybe (RType c tv r)) Source #

unOCons :: RType c tv r -> RType c tv r Source #