Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell98 |
Synopsis
- data Template a
- unTemplate :: Template t -> t
- varTemplate :: CGEnv -> (Var, Maybe CoreExpr) -> CG (Template SpecType)
- addPostTemplate :: CGEnv -> Template SpecType -> CG (Template SpecType)
- safeFromAsserted :: [Char] -> Template t -> t
- topSpecType :: Var -> SpecType -> CG SpecType
- derivedVar :: TargetSrc -> Var -> Bool
- extender :: Symbolic a => CGEnv -> (a, Template SpecType) -> CG CGEnv
Documentation
Instances
Foldable Template Source # | |
Defined in Language.Haskell.Liquid.Constraint.Template fold :: Monoid m => Template m -> m # foldMap :: Monoid m => (a -> m) -> Template a -> m # foldMap' :: Monoid m => (a -> m) -> Template a -> m # foldr :: (a -> b -> b) -> b -> Template a -> b # foldr' :: (a -> b -> b) -> b -> Template a -> b # foldl :: (b -> a -> b) -> b -> Template a -> b # foldl' :: (b -> a -> b) -> b -> Template a -> b # foldr1 :: (a -> a -> a) -> Template a -> a # foldl1 :: (a -> a -> a) -> Template a -> a # elem :: Eq a => a -> Template a -> Bool # maximum :: Ord a => Template a -> a # minimum :: Ord a => Template a -> a # | |
Traversable Template Source # | |
Defined in Language.Haskell.Liquid.Constraint.Template | |
Functor Template Source # | |
Show a => Show (Template a) Source # | |
PPrint a => PPrint (Template a) Source # | |
Defined in Language.Haskell.Liquid.Constraint.Template |
unTemplate :: Template t -> t Source #
varTemplate :: CGEnv -> (Var, Maybe CoreExpr) -> CG (Template SpecType) Source #
varTemplate
is only called with a `Just e` argument when the e
corresponds to the body of a Rec
binder.
safeFromAsserted :: [Char] -> Template t -> t Source #