Language.Haskell.Liquid.Synthesize.Env
initSSEnv :: SpecType -> CGInfo -> SSEnv -> (SSEnv, [Var]) #
tpToCons :: SpecType -> [DataCon] #
For algebraic datatypes: Find (in the refinement type) all the datatypes that are used and get their constructors.
typeToCons :: SpecType -> [DataCon] #
rmMeasures :: [Symbol] -> [(Symbol, SpecType)] -> [(Symbol, SpecType)] #