Safe Haskell | None |
---|---|
Language | Haskell98 |
- data Spec ty bndr = Spec {
- measures :: ![Measure ty bndr]
- asmSigs :: ![(LocSymbol, ty)]
- sigs :: ![(LocSymbol, ty)]
- localSigs :: ![(LocSymbol, ty)]
- invariants :: ![Located ty]
- ialiases :: ![(Located ty, Located ty)]
- imports :: ![Symbol]
- dataDecls :: ![DataDecl]
- includes :: ![FilePath]
- aliases :: ![RTAlias Symbol BareType]
- ealiases :: ![RTAlias Symbol Expr]
- embeds :: !(TCEmb LocSymbol)
- qualifiers :: ![Qualifier]
- decr :: ![(LocSymbol, [Int])]
- lvars :: ![LocSymbol]
- lazy :: !(HashSet LocSymbol)
- axioms :: !(HashSet LocSymbol)
- hmeas :: !(HashSet LocSymbol)
- hbounds :: !(HashSet LocSymbol)
- inlines :: !(HashSet LocSymbol)
- autosize :: !(HashSet LocSymbol)
- pragmas :: ![Located String]
- cmeasures :: ![Measure ty ()]
- imeasures :: ![Measure ty bndr]
- classes :: ![RClass ty]
- termexprs :: ![(LocSymbol, [Expr])]
- rinstance :: ![RInstance ty]
- dvariance :: ![(LocSymbol, [Variance])]
- bounds :: !(RRBEnv ty)
- type BareSpec = Spec BareType LocSymbol
- data MSpec ty ctor = MSpec {}
- mkM :: LocSymbol -> ty -> [Def ty bndr] -> Measure ty bndr
- mkMSpec :: [Measure ty (Located Symbol)] -> [Measure ty ()] -> [Measure ty (Located Symbol)] -> MSpec ty (Located Symbol)
- mkMSpec' :: Symbolic ctor => [Measure ty ctor] -> MSpec ty ctor
- qualifySpec :: Symbol -> Spec ty bndr -> Spec ty bndr
- dataConTypes :: MSpec (RRType Reft) DataCon -> ([(Var, RRType Reft)], [(LocSymbol, RRType Reft)])
- defRefType :: Type -> Def (RRType Reft) DataCon -> RRType Reft
- strLen :: Measure SpecType ctor
- wiredInMeasures :: MSpec SpecType DataCon
Documentation
Spec | |
|
Bifunctor MSpec Source | |
Functor (MSpec ty) Source | |
(Data ty, Data ctor) => Data (MSpec ty ctor) Source | |
(Show ty, Show ctor, PPrint ctor, PPrint ty) => Show (MSpec ty ctor) Source | |
Generic (MSpec ty ctor) Source | |
Eq ctor => Monoid (MSpec ty ctor) Source | |
(PPrint t, PPrint a) => PPrint (MSpec t a) Source | |
type Rep (MSpec ty ctor) Source |
mkMSpec :: [Measure ty (Located Symbol)] -> [Measure ty ()] -> [Measure ty (Located Symbol)] -> MSpec ty (Located Symbol) Source
qualifySpec :: Symbol -> Spec ty bndr -> Spec ty bndr Source
dataConTypes :: MSpec (RRType Reft) DataCon -> ([(Var, RRType Reft)], [(LocSymbol, RRType Reft)]) Source