| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Rzk.Check.Syntax
Description
The syntax of the checker: one signature over a pattern binder, with a raw term (every node carrying where it was written) and a core term (no annotation), which closures hold and readback produces.
A binder is a Pattern: a variable, the unit pattern, or a pair of
patterns, each leaf binding one name. A pair pattern binds its names
directly, so no projection of a single variable stands for a component.
A shape is a term: the shape of a Π or of a λ over a cube is a tope
family cube → TOPE, applied to the bound point where it is assumed. So
(t : I | φ) holds the family \ t → φ, and (t : Δ¹) holds Δ¹.
Synopsis
- data Pattern (n :: S) (l :: S) where
- PatternVar :: forall (n :: S) (l :: S). Maybe VarIdent -> NameBinder n l -> Pattern n l
- PatternWildcard :: forall (n :: S) (l :: S). NameBinder n l -> Pattern n l
- PatternUnit :: forall (n :: S). Pattern n n
- PatternPair :: forall (n :: S) (i :: S) (l :: S). Pattern n i -> Pattern i l -> Pattern n l
- patternNames :: forall (n :: S) (l :: S). (Distinct n, Distinct l) => Pattern n l -> [(Maybe VarIdent, Name l)]
- data Param term = Param {
- paramModality :: TModality
- paramDomain :: term
- paramShape :: Maybe term
- data Sig scope term
- = UniverseF
- | UniverseCubeF
- | UniverseTopeF
- | CubeUnitF
- | CubeUnitStarF
- | Cube2F
- | Cube2_0F
- | Cube2_1F
- | CubeIF
- | CubeI_0F
- | CubeI_1F
- | CubeProductF term term
- | CubeFlipF term
- | CubeUnflipF term
- | CubeSupF term term
- | CubeInfF term term
- | TopeTopF
- | TopeBottomF
- | TopeEQF term term
- | TopeLEQF term term
- | TopeAndF term term
- | TopeOrF term term
- | TopeInvF term
- | TopeUninvF term
- | RecBottomF
- | RecOrF (Maybe term) [(term, term)]
- | TypeFunF TModality term (Maybe term) scope
- | TypeShapeF TModality term (Maybe term)
- | TypeSigmaF TModality term scope
- | TypeIdF term (Maybe term) term
- | AppF term term
- | LetF (Maybe term) term scope
- | LambdaF (Maybe (Param term)) scope
- | PairF term term
- | FirstF term
- | SecondF term
- | ReflF (Maybe (term, Maybe term))
- | IdJF term term term term term term
- | MatchF TModality term (Maybe term) [(VarIdent, term)]
- | MatchArmF scope
- | UnitF
- | TypeUnitF
- | TypeAscF term term
- | AnnF term term
- | TypeRestrictedF term [(term, term)]
- | TypeModalF TModality term
- | ModAppF TModality term
- | ModExtractF TModality TModality term
- | LetModF TModality TModality (Maybe term) (Maybe term) term scope
- | HoleF (Maybe VarIdent)
- type Raw = AST Pattern (AnnSig SrcPos Sig)
- type ScopedRaw = ScopedAST Pattern (AnnSig SrcPos Sig)
- type Core = AST Pattern Sig
- type ScopedCore = ScopedAST Pattern Sig
- newtype SrcPos term = SrcPos RzkPosition
- rawNode :: forall (n :: S). RzkPosition -> Sig (ScopedRaw n) (Raw n) -> Raw n
- panicImpossible :: String -> a
- noPosition :: RzkPosition
- positionOfRaw :: forall (n :: S). Raw n -> Maybe RzkPosition
- stripPositions :: forall (n :: S). Raw n -> Core n
- pattern Universe :: Core n
- pattern UniverseCube :: Core n
- pattern UniverseTope :: Core n
- pattern CubeUnit :: Core n
- pattern CubeUnitStar :: Core n
- pattern Cube2 :: Core n
- pattern Cube2_0 :: Core n
- pattern Cube2_1 :: Core n
- pattern CubeI :: Core n
- pattern CubeI_0 :: Core n
- pattern CubeI_1 :: Core n
- pattern CubeProduct :: Core n -> Core n -> Core n
- pattern CubeFlip :: Core n -> Core n
- pattern CubeUnflip :: Core n -> Core n
- pattern CubeSup :: Core n -> Core n -> Core n
- pattern CubeInf :: Core n -> Core n -> Core n
- pattern TopeTop :: Core n
- pattern TopeBottom :: Core n
- pattern TopeEQ :: Core n -> Core n -> Core n
- pattern TopeLEQ :: Core n -> Core n -> Core n
- pattern TopeAnd :: Core n -> Core n -> Core n
- pattern TopeOr :: Core n -> Core n -> Core n
- pattern TopeInv :: Core n -> Core n
- pattern TopeUninv :: Core n -> Core n
- pattern RecBottom :: Core n
- pattern RecOr :: Core n -> [(Core n, Core n)] -> Core n
- pattern TypeFun :: TModality -> Core n -> Maybe (Core n) -> ScopedCore n -> Core n
- pattern TypeShape :: TModality -> Core n -> Maybe (Core n) -> Core n
- pattern TypeSigma :: TModality -> Core n -> ScopedCore n -> Core n
- pattern TypeId :: Core n -> Maybe (Core n) -> Core n -> Core n
- pattern App :: Core n -> Core n -> Core n
- pattern Let :: Maybe (Core n) -> Core n -> ScopedCore n -> Core n
- pattern Lambda :: Maybe (Param (Core n)) -> ScopedCore n -> Core n
- pattern Pair :: Core n -> Core n -> Core n
- pattern First :: Core n -> Core n
- pattern Second :: Core n -> Core n
- pattern Refl :: Maybe (Core n, Maybe (Core n)) -> Core n
- pattern IdJ :: Core n -> Core n -> Core n -> Core n -> Core n -> Core n -> Core n
- pattern Match :: TModality -> Core n -> Maybe (Core n) -> [(VarIdent, Core n)] -> Core n
- pattern MatchArm :: ScopedCore n -> Core n
- pattern Unit :: Core n
- pattern TypeUnit :: Core n
- pattern TypeAsc :: Core n -> Core n -> Core n
- pattern Ann :: Core n -> Core n -> Core n
- pattern TypeRestricted :: Core n -> [(Core n, Core n)] -> Core n
- pattern TypeModal :: TModality -> Core n -> Core n
- pattern ModApp :: TModality -> Core n -> Core n
- pattern ModExtract :: TModality -> TModality -> Core n -> Core n
- pattern LetMod :: TModality -> TModality -> Maybe (Core n) -> Maybe (Core n) -> Core n -> ScopedCore n -> Core n
- pattern Hole :: Maybe VarIdent -> Core n
- pattern RawNode :: Sig (ScopedRaw n) (Raw n) -> Raw n
- pattern RUniverse :: Raw n
- pattern RUniverseCube :: Raw n
- pattern RUniverseTope :: Raw n
- pattern RCubeUnit :: Raw n
- pattern RCubeUnitStar :: Raw n
- pattern RCube2 :: Raw n
- pattern RCube2_0 :: Raw n
- pattern RCube2_1 :: Raw n
- pattern RCubeI :: Raw n
- pattern RCubeI_0 :: Raw n
- pattern RCubeI_1 :: Raw n
- pattern RCubeProduct :: Raw n -> Raw n -> Raw n
- pattern RCubeFlip :: Raw n -> Raw n
- pattern RCubeUnflip :: Raw n -> Raw n
- pattern RCubeSup :: Raw n -> Raw n -> Raw n
- pattern RCubeInf :: Raw n -> Raw n -> Raw n
- pattern RTopeTop :: Raw n
- pattern RTopeBottom :: Raw n
- pattern RTopeEQ :: Raw n -> Raw n -> Raw n
- pattern RTopeLEQ :: Raw n -> Raw n -> Raw n
- pattern RTopeAnd :: Raw n -> Raw n -> Raw n
- pattern RTopeOr :: Raw n -> Raw n -> Raw n
- pattern RTopeInv :: Raw n -> Raw n
- pattern RTopeUninv :: Raw n -> Raw n
- pattern RRecBottom :: Raw n
- pattern RRecOr :: [(Raw n, Raw n)] -> Raw n
- pattern RTypeFun :: TModality -> Raw n -> Maybe (Raw n) -> ScopedRaw n -> Raw n
- pattern RTypeShape :: TModality -> Raw n -> Maybe (Raw n) -> Raw n
- pattern RTypeSigma :: TModality -> Raw n -> ScopedRaw n -> Raw n
- pattern RTypeId :: Raw n -> Maybe (Raw n) -> Raw n -> Raw n
- pattern RApp :: Raw n -> Raw n -> Raw n
- pattern RLet :: Maybe (Raw n) -> Raw n -> ScopedRaw n -> Raw n
- pattern RLambda :: Maybe (Param (Raw n)) -> ScopedRaw n -> Raw n
- pattern RPair :: Raw n -> Raw n -> Raw n
- pattern RFirst :: Raw n -> Raw n
- pattern RSecond :: Raw n -> Raw n
- pattern RRefl :: Maybe (Raw n, Maybe (Raw n)) -> Raw n
- pattern RIdJ :: Raw n -> Raw n -> Raw n -> Raw n -> Raw n -> Raw n -> Raw n
- pattern RMatch :: TModality -> Raw n -> Maybe (Raw n) -> [(VarIdent, Raw n)] -> Raw n
- pattern RMatchArm :: ScopedRaw n -> Raw n
- pattern RUnit :: Raw n
- pattern RTypeUnit :: Raw n
- pattern RTypeAsc :: Raw n -> Raw n -> Raw n
- pattern RAnn :: Raw n -> Raw n -> Raw n
- pattern RTypeRestricted :: Raw n -> [(Raw n, Raw n)] -> Raw n
- pattern RTypeModal :: TModality -> Raw n -> Raw n
- pattern RModApp :: TModality -> Raw n -> Raw n
- pattern RModExtract :: TModality -> TModality -> Raw n -> Raw n
- pattern RLetMod :: TModality -> TModality -> Maybe (Raw n) -> Maybe (Raw n) -> Raw n -> ScopedRaw n -> Raw n
- pattern RHole :: Maybe VarIdent -> Raw n
- freeNamesOf :: forall (n :: S). Distinct n => Core n -> [Name n]
- stripAnnotations :: forall (n :: S). Core n -> Core n
- substituteName :: forall (n :: S). Distinct n => Scope n -> Name n -> Core n -> Core n -> Core n
- abstractName :: forall (n :: S) r. Distinct n => Scope n -> Maybe VarIdent -> Name n -> Core n -> (forall (l :: S). (DExt n l, Distinct l) => Pattern n l -> Core l -> r) -> r
- containsHole :: forall (n :: S). Core n -> Bool
- holeNamesOf :: forall (n :: S). Core n -> [Maybe VarIdent]
- isHoleHeaded :: forall (n :: S). Core n -> Bool
- eqCore :: forall (n :: S). Distinct n => Core n -> Core n -> Bool
Binders
data Pattern (n :: S) (l :: S) where Source #
A binder. A variable carries the name the user wrote, if any. A wildcard binds a hidden name, which conversion may need when binder shapes differ. The unit pattern binds no name. A pair pattern binds the names of both components, the right one in the scope of the left.
Constructors
| PatternVar :: forall (n :: S) (l :: S). Maybe VarIdent -> NameBinder n l -> Pattern n l | |
| PatternWildcard :: forall (n :: S) (l :: S). NameBinder n l -> Pattern n l | |
| PatternUnit :: forall (n :: S). Pattern n n | |
| PatternPair :: forall (n :: S) (i :: S) (l :: S). Pattern n i -> Pattern i l -> Pattern n l |
Instances
patternNames :: forall (n :: S) (l :: S). (Distinct n, Distinct l) => Pattern n l -> [(Maybe VarIdent, Name l)] Source #
The names a pattern binds, in binding order, with their display names.
The names of the left component are names of the right one's scope too:
a name sinks by coercion, as free-foil's own sink does.
The signature
The parameter of a λ: its modality, its domain (a type, or the cube of a shape) and, for a λ over a shape, the shape as a tope family over the cube.
Constructors
| Param | |
Fields
| |
Instances
| Functor Param Source # | |||||
| Foldable Param Source # | |||||
Defined in Rzk.Check.Syntax Methods fold :: Monoid m => Param m -> m # foldMap :: Monoid m => (a -> m) -> Param a -> m # foldMap' :: Monoid m => (a -> m) -> Param a -> m # foldr :: (a -> b -> b) -> b -> Param a -> b # foldr' :: (a -> b -> b) -> b -> Param a -> b # foldl :: (b -> a -> b) -> b -> Param a -> b # foldl' :: (b -> a -> b) -> b -> Param a -> b # foldr1 :: (a -> a -> a) -> Param a -> a # foldl1 :: (a -> a -> a) -> Param a -> a # elem :: Eq a => a -> Param a -> Bool # maximum :: Ord a => Param a -> a # minimum :: Ord a => Param a -> a # | |||||
| Traversable Param Source # | |||||
| GenericK (Param term :: Type) Source # | |||||
Defined in Rzk.Check.Syntax Associated Types
| |||||
| Show term => Show (Param term) Source # | |||||
| ZipMatchFoldK Param Source # | |||||
| ZipMatchK Param Source # | |||||
| GenericK Param Source # | |||||
Defined in Rzk.Check.Syntax Associated Types
| |||||
| type RepK (Param term :: Type) Source # | |||||
Defined in Rzk.Check.Syntax type RepK (Param term :: Type) = D1 ('MetaData "Param" "Rzk.Check.Syntax" "rzk-0.11.4-Ega6ALHHgzdAqHIpHGWjH1" 'False) (C1 ('MetaCons "Param" 'PrefixI 'True) (S1 ('MetaSel ('Just "paramModality") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon TModality :: Atom Type Type)) :*: (S1 ('MetaSel ('Just "paramDomain") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon term :: Atom Type Type)) :*: S1 ('MetaSel ('Just "paramShape") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon (Maybe term) :: Atom Type Type))))) | |||||
| type RepK Param Source # | |||||
Defined in Rzk.Check.Syntax type RepK Param = D1 ('MetaData "Param" "Rzk.Check.Syntax" "rzk-0.11.4-Ega6ALHHgzdAqHIpHGWjH1" 'False) (C1 ('MetaCons "Param" 'PrefixI 'True) (S1 ('MetaSel ('Just "paramModality") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon TModality :: Atom (Type -> Type) Type)) :*: (S1 ('MetaSel ('Just "paramDomain") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var0 :: Atom (Type -> Type) Type)) :*: S1 ('MetaSel ('Just "paramShape") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (('Kon Maybe :: Atom (Type -> Type) (Type -> Type)) ':@: (Var0 :: Atom (Type -> Type) Type)))))) | |||||
The signature of the core: every construct of the language. Scoped
positions bind a Pattern.
Constructors
| UniverseF | the universe |
| UniverseCubeF | the universe |
| UniverseTopeF | the universe |
| CubeUnitF | the unit cube |
| CubeUnitStarF | the unique point of the unit cube |
| Cube2F | the directed interval cube |
| Cube2_0F | the left endpoint of |
| Cube2_1F | the right endpoint of |
| CubeIF | the auxiliary directed interval cube |
| CubeI_0F | the left endpoint of |
| CubeI_1F | the right endpoint of |
| CubeProductF term term | a product of two cubes |
| CubeFlipF term | reversal of an interval point |
| CubeUnflipF term | the inverse operation to |
| CubeSupF term term | the join of two interval points |
| CubeInfF term term | the meet of two interval points |
| TopeTopF | the trivial tope |
| TopeBottomF | the empty tope |
| TopeEQF term term | equality of two cube points |
| TopeLEQF term term | the order relation on two directed-interval points |
| TopeAndF term term | conjunction of topes |
| TopeOrF term term | disjunction of topes |
| TopeInvF term | inversion of a tope under |
| TopeUninvF term | the inverse operation to |
| RecBottomF | ex falso, |
| RecOrF (Maybe term) [(term, term)] | a raw |
| TypeFunF TModality term (Maybe term) scope | a Π: the modality of the binder, its domain (a type, or the cube of a shape), the shape as a tope family over the cube, and the codomain |
| TypeShapeF TModality term (Maybe term) | the type of a tope family: |
| TypeSigmaF TModality term scope | a dependent pair type, with the modality and type of its first component |
| TypeIdF term (Maybe term) term | an identity type: the endpoints and, once elaborated, their carrier |
| AppF term term | application of a function or a tope family |
| LetF (Maybe term) term scope | a local definition: its optional type, value, and body |
| LambdaF (Maybe (Param term)) scope | a λ abstraction, with an optional parameter annotation and its body |
| PairF term term | a pair of terms or cube points |
| FirstF term | the first projection of a pair |
| SecondF term | the second projection of a pair |
| ReflF (Maybe (term, Maybe term)) | reflexivity, optionally annotated by its element and carrier |
| IdJF term term term term term term | path induction: carrier, base point, motive, base case, endpoint, path |
| MatchF TModality term (Maybe term) [(VarIdent, term)] | a match on a |
| MatchArmF scope | one binder of a match branch |
| UnitF | the unique inhabitant of the unit type |
| TypeUnitF | the unit type |
| TypeAscF term term | a user ascription; evaluation erases it |
| AnnF term term | a neutral value with its type, which evaluation builds so that the
type of a neutral is read off it rather than computed from its head.
Evaluating it drops it, the readbacks of Rzk.Check.Value strip it
( |
| TypeRestrictedF term [(term, term)] | an extension type: its underlying type and tope/boundary faces |
| TypeModalF TModality term | a type under a modality |
| ModAppF TModality term | introduction of a term under a modality |
| ModExtractF TModality TModality term | an internal modal elimination, with its outer and inner modalities |
| LetModF TModality TModality (Maybe term) (Maybe term) term scope | modal elimination by |
| HoleF (Maybe VarIdent) | a user hole, with its optional name; not an internal unknown type |
Instances
| Bifoldable Sig Source # | |||||
| Bifunctor Sig Source # | |||||
| Bitraversable Sig Source # | |||||
Defined in Rzk.Check.Syntax Methods bitraverse :: Applicative f => (a -> f c) -> (b -> f d) -> Sig a b -> f (Sig c d) # | |||||
| HasHeads Sig | The heads: the function of an application, the pair of a projection, the path of an induction. | ||||
Defined in Rzk.Check.Value | |||||
| Eval Context Pattern Sig | |||||
Defined in Rzk.Check.Value Methods definition :: forall (n :: S). Scope n -> Context n -> Name n -> Value Pattern Sig n unfolding :: forall (n :: S). Scope n -> Context n -> Value Pattern Sig n -> Value Pattern Sig n -> Value Pattern Sig n glueSpeculation :: forall (n :: S). Scope n -> Context n -> Name n -> Value Pattern Sig n -> Name n -> Value Pattern Sig n -> GlueSpeculation Context n unfoldGlued :: forall (n :: S). Scope n -> Context n -> Name n -> Value Pattern Sig n -> Maybe (Context n) evalSig :: forall (o :: S) (i :: S). (Distinct o, Distinct i) => Scope o -> Context o -> Substitution (Value Pattern Sig) i o -> Sig (ScopedAST Pattern Sig i) (AST Pattern Sig i) -> Value Pattern Sig o etaMatchWith :: forall a (n :: S) c b d. (a -> EtaScoped Context Pattern Sig n -> c) -> (b -> EtaTerm Context Pattern Sig n -> d) -> Sig a b -> Maybe (Sig c d) extendScopedWith :: forall (n :: S) a c d. Distinct n => (a -> Extend Context Pattern Sig n -> c) -> (Value Pattern Sig n -> d) -> Sig a (Value Pattern Sig n) -> Sig c d relateWith :: forall m (n :: S) a a'. (Monoid m, Distinct n) => Scope n -> Context n -> (a -> a' -> Context n -> Extend Context Pattern Sig n -> m) -> (Value Pattern Sig n -> Value Pattern Sig n -> Context n -> m) -> (Value Pattern Sig n -> Value Pattern Sig n -> Context n -> m) -> Sig a (Value Pattern Sig n) -> Sig a' (Value Pattern Sig n) -> Maybe m relateMismatch :: forall (n :: S). (Eval Context Pattern Sig, Distinct n) => Scope n -> Context n -> Value Pattern Sig n -> Value Pattern Sig n -> Bool refineVar :: forall (n :: S). (Eval Context Pattern Sig, Distinct n) => Scope n -> Context n -> Name n -> Value Pattern Sig n refineSig :: forall (n :: S) a. (Eval Context Pattern Sig, Distinct n) => Scope n -> Context n -> Value Pattern Sig n -> Sig a (Value Pattern Sig n) -> Value Pattern Sig n binderValue :: forall (n :: S) (l :: S). (Distinct n, Distinct l) => Scope l -> Context l -> Pattern n l -> Maybe (Value Pattern Sig l) bindValue :: forall (o :: S) (i :: S) (l :: S). Distinct o => Scope o -> Context o -> Substitution (Value Pattern Sig) i o -> Pattern i l -> Value Pattern Sig o -> Maybe (Substitution (Value Pattern Sig) l o) evalBinder :: forall (n :: S) (i :: S) (e :: S -> Type) (l :: S) r. (CoSinkable Pattern, Distinct n, Distinct i, Sinkable e, InjectName e) => Scope n -> Context n -> Substitution (Value Pattern Sig) i n -> Pattern i l -> (forall (n' :: S). DExt n n' => (Substitution e i n -> Substitution e l n') -> Pattern n n' -> Scope n' -> r) -> r | |||||
| HasDefinitions Context Pattern Sig | A defined name is glued to its value; any other name is a neutral. | ||||
Defined in Rzk.Check.Value Methods contextDefinition :: forall (n :: S). Scope n -> Context n -> Name n -> Value Pattern Sig n contextUnfolding :: forall (n :: S). Scope n -> Context n -> Value Pattern Sig n -> Value Pattern Sig n -> Value Pattern Sig n contextGlueSpeculation :: forall (n :: S). Scope n -> Context n -> Name n -> Value Pattern Sig n -> Name n -> Value Pattern Sig n -> GlueSpeculation Context n contextUnfoldGlued :: forall (n :: S). Scope n -> Context n -> Name n -> Value Pattern Sig n -> Maybe (Context n) | |||||
| GenericK (Sig scope term :: Type) Source # | |||||
Defined in Rzk.Check.Syntax Associated Types
| |||||
| Functor (Sig scope) Source # | |||||
| Foldable (Sig scope) Source # | |||||
Defined in Rzk.Check.Syntax Methods fold :: Monoid m => Sig scope m -> m # foldMap :: Monoid m => (a -> m) -> Sig scope a -> m # foldMap' :: Monoid m => (a -> m) -> Sig scope a -> m # foldr :: (a -> b -> b) -> b -> Sig scope a -> b # foldr' :: (a -> b -> b) -> b -> Sig scope a -> b # foldl :: (b -> a -> b) -> b -> Sig scope a -> b # foldl' :: (b -> a -> b) -> b -> Sig scope a -> b # foldr1 :: (a -> a -> a) -> Sig scope a -> a # foldl1 :: (a -> a -> a) -> Sig scope a -> a # toList :: Sig scope a -> [a] # length :: Sig scope a -> Int # elem :: Eq a => a -> Sig scope a -> Bool # maximum :: Ord a => Sig scope a -> a # minimum :: Ord a => Sig scope a -> a # | |||||
| Traversable (Sig scope) Source # | |||||
Defined in Rzk.Check.Syntax | |||||
| Show (Sig () ()) Source # | |||||
| ZipMatchFoldK Sig Source # | |||||
| ZipMatchK Sig Source # | |||||
| GenericK Sig Source # | |||||
Defined in Rzk.Check.Syntax Associated Types
| |||||
| GenericK (Sig scope :: Type -> Type) Source # | |||||
Defined in Rzk.Check.Syntax Associated Types
| |||||
| type RepK (Sig scope term :: Type) Source # | |||||
Defined in Rzk.Check.Syntax type RepK (Sig scope term :: Type) = D1 ('MetaData "Sig" "Rzk.Check.Syntax" "rzk-0.11.4-Ega6ALHHgzdAqHIpHGWjH1" 'False) (((((C1 ('MetaCons "UniverseF" 'PrefixI 'False) (U1 :: LoT Type -> Type) :+: (C1 ('MetaCons "UniverseCubeF" 'PrefixI 'False) (U1 :: LoT Type -> Type) :+: C1 ('MetaCons "UniverseTopeF" 'PrefixI 'False) (U1 :: LoT Type -> Type))) :+: (C1 ('MetaCons "CubeUnitF" 'PrefixI 'False) (U1 :: LoT Type -> Type) :+: (C1 ('MetaCons "CubeUnitStarF" 'PrefixI 'False) (U1 :: LoT Type -> Type) :+: C1 ('MetaCons "Cube2F" 'PrefixI 'False) (U1 :: LoT Type -> Type)))) :+: ((C1 ('MetaCons "Cube2_0F" 'PrefixI 'False) (U1 :: LoT Type -> Type) :+: (C1 ('MetaCons "Cube2_1F" 'PrefixI 'False) (U1 :: LoT Type -> Type) :+: C1 ('MetaCons "CubeIF" 'PrefixI 'False) (U1 :: LoT Type -> Type))) :+: (C1 ('MetaCons "CubeI_0F" 'PrefixI 'False) (U1 :: LoT Type -> Type) :+: (C1 ('MetaCons "CubeI_1F" 'PrefixI 'False) (U1 :: LoT Type -> Type) :+: C1 ('MetaCons "CubeProductF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon term :: Atom Type Type)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon term :: Atom Type Type))))))) :+: (((C1 ('MetaCons "CubeFlipF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon term :: Atom Type Type))) :+: (C1 ('MetaCons "CubeUnflipF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon term :: Atom Type Type))) :+: C1 ('MetaCons "CubeSupF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon term :: Atom Type Type)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon term :: Atom Type Type))))) :+: (C1 ('MetaCons "CubeInfF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon term :: Atom Type Type)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon term :: Atom Type Type))) :+: (C1 ('MetaCons "TopeTopF" 'PrefixI 'False) (U1 :: LoT Type -> Type) :+: C1 ('MetaCons "TopeBottomF" 'PrefixI 'False) (U1 :: LoT Type -> Type)))) :+: ((C1 ('MetaCons "TopeEQF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon term :: Atom Type Type)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon term :: Atom Type Type))) :+: (C1 ('MetaCons "TopeLEQF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon term :: Atom Type Type)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon term :: Atom Type Type))) :+: C1 ('MetaCons "TopeAndF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon term :: Atom Type Type)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon term :: Atom Type Type))))) :+: ((C1 ('MetaCons "TopeOrF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon term :: Atom Type Type)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon term :: Atom Type Type))) :+: C1 ('MetaCons "TopeInvF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon term :: Atom Type Type)))) :+: (C1 ('MetaCons "TopeUninvF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon term :: Atom Type Type))) :+: C1 ('MetaCons "RecBottomF" 'PrefixI 'False) (U1 :: LoT Type -> Type)))))) :+: ((((C1 ('MetaCons "RecOrF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon (Maybe term) :: Atom Type Type)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon [(term, term)] :: Atom Type Type))) :+: (C1 ('MetaCons "TypeFunF" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon TModality :: Atom Type Type)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon term :: Atom Type Type))) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon (Maybe term) :: Atom Type Type)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon scope :: Atom Type Type)))) :+: C1 ('MetaCons "TypeShapeF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon TModality :: Atom Type Type)) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon term :: Atom Type Type)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon (Maybe term) :: Atom Type Type)))))) :+: (C1 ('MetaCons "TypeSigmaF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon TModality :: Atom Type Type)) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon term :: Atom Type Type)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon scope :: Atom Type Type)))) :+: (C1 ('MetaCons "TypeIdF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon term :: Atom Type Type)) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon (Maybe term) :: Atom Type Type)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon term :: Atom Type Type)))) :+: C1 ('MetaCons "AppF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon term :: Atom Type Type)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon term :: Atom Type Type)))))) :+: ((C1 ('MetaCons "LetF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon (Maybe term) :: Atom Type Type)) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon term :: Atom Type Type)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon scope :: Atom Type Type)))) :+: (C1 ('MetaCons "LambdaF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon (Maybe (Param term)) :: Atom Type Type)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon scope :: Atom Type Type))) :+: C1 ('MetaCons "PairF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon term :: Atom Type Type)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon term :: Atom Type Type))))) :+: (C1 ('MetaCons "FirstF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon term :: Atom Type Type))) :+: (C1 ('MetaCons "SecondF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon term :: Atom Type Type))) :+: C1 ('MetaCons "ReflF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon (Maybe (term, Maybe term)) :: Atom Type Type))))))) :+: (((C1 ('MetaCons "IdJF" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon term :: Atom Type Type)) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon term :: Atom Type Type)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon term :: Atom Type Type)))) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon term :: Atom Type Type)) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon term :: Atom Type Type)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon term :: Atom Type Type))))) :+: (C1 ('MetaCons "MatchF" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon TModality :: Atom Type Type)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon term :: Atom Type Type))) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon (Maybe term) :: Atom Type Type)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon [(VarIdent, term)] :: Atom Type Type)))) :+: C1 ('MetaCons "MatchArmF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon scope :: Atom Type Type))))) :+: (C1 ('MetaCons "UnitF" 'PrefixI 'False) (U1 :: LoT Type -> Type) :+: (C1 ('MetaCons "TypeUnitF" 'PrefixI 'False) (U1 :: LoT Type -> Type) :+: C1 ('MetaCons "TypeAscF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon term :: Atom Type Type)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon term :: Atom Type Type)))))) :+: ((C1 ('MetaCons "AnnF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon term :: Atom Type Type)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon term :: Atom Type Type))) :+: (C1 ('MetaCons "TypeRestrictedF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon term :: Atom Type Type)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon [(term, term)] :: Atom Type Type))) :+: C1 ('MetaCons "TypeModalF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon TModality :: Atom Type Type)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon term :: Atom Type Type))))) :+: ((C1 ('MetaCons "ModAppF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon TModality :: Atom Type Type)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon term :: Atom Type Type))) :+: C1 ('MetaCons "ModExtractF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon TModality :: Atom Type Type)) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon TModality :: Atom Type Type)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon term :: Atom Type Type))))) :+: (C1 ('MetaCons "LetModF" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon TModality :: Atom Type Type)) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon TModality :: Atom Type Type)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon (Maybe term) :: Atom Type Type)))) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon (Maybe term) :: Atom Type Type)) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon term :: Atom Type Type)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon scope :: Atom Type Type))))) :+: C1 ('MetaCons "HoleF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon (Maybe VarIdent) :: Atom Type Type))))))))) | |||||
| type RepK Sig Source # | |||||
Defined in Rzk.Check.Syntax type RepK Sig = D1 ('MetaData "Sig" "Rzk.Check.Syntax" "rzk-0.11.4-Ega6ALHHgzdAqHIpHGWjH1" 'False) (((((C1 ('MetaCons "UniverseF" 'PrefixI 'False) (U1 :: LoT (Type -> Type -> Type) -> Type) :+: (C1 ('MetaCons "UniverseCubeF" 'PrefixI 'False) (U1 :: LoT (Type -> Type -> Type) -> Type) :+: C1 ('MetaCons "UniverseTopeF" 'PrefixI 'False) (U1 :: LoT (Type -> Type -> Type) -> Type))) :+: (C1 ('MetaCons "CubeUnitF" 'PrefixI 'False) (U1 :: LoT (Type -> Type -> Type) -> Type) :+: (C1 ('MetaCons "CubeUnitStarF" 'PrefixI 'False) (U1 :: LoT (Type -> Type -> Type) -> Type) :+: C1 ('MetaCons "Cube2F" 'PrefixI 'False) (U1 :: LoT (Type -> Type -> Type) -> Type)))) :+: ((C1 ('MetaCons "Cube2_0F" 'PrefixI 'False) (U1 :: LoT (Type -> Type -> Type) -> Type) :+: (C1 ('MetaCons "Cube2_1F" 'PrefixI 'False) (U1 :: LoT (Type -> Type -> Type) -> Type) :+: C1 ('MetaCons "CubeIF" 'PrefixI 'False) (U1 :: LoT (Type -> Type -> Type) -> Type))) :+: (C1 ('MetaCons "CubeI_0F" 'PrefixI 'False) (U1 :: LoT (Type -> Type -> Type) -> Type) :+: (C1 ('MetaCons "CubeI_1F" 'PrefixI 'False) (U1 :: LoT (Type -> Type -> Type) -> Type) :+: C1 ('MetaCons "CubeProductF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var1 :: Atom (Type -> Type -> Type) Type)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var1 :: Atom (Type -> Type -> Type) Type))))))) :+: (((C1 ('MetaCons "CubeFlipF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var1 :: Atom (Type -> Type -> Type) Type))) :+: (C1 ('MetaCons "CubeUnflipF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var1 :: Atom (Type -> Type -> Type) Type))) :+: C1 ('MetaCons "CubeSupF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var1 :: Atom (Type -> Type -> Type) Type)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var1 :: Atom (Type -> Type -> Type) Type))))) :+: (C1 ('MetaCons "CubeInfF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var1 :: Atom (Type -> Type -> Type) Type)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var1 :: Atom (Type -> Type -> Type) Type))) :+: (C1 ('MetaCons "TopeTopF" 'PrefixI 'False) (U1 :: LoT (Type -> Type -> Type) -> Type) :+: C1 ('MetaCons "TopeBottomF" 'PrefixI 'False) (U1 :: LoT (Type -> Type -> Type) -> Type)))) :+: ((C1 ('MetaCons "TopeEQF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var1 :: Atom (Type -> Type -> Type) Type)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var1 :: Atom (Type -> Type -> Type) Type))) :+: (C1 ('MetaCons "TopeLEQF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var1 :: Atom (Type -> Type -> Type) Type)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var1 :: Atom (Type -> Type -> Type) Type))) :+: C1 ('MetaCons "TopeAndF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var1 :: Atom (Type -> Type -> Type) Type)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var1 :: Atom (Type -> Type -> Type) Type))))) :+: ((C1 ('MetaCons "TopeOrF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var1 :: Atom (Type -> Type -> Type) Type)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var1 :: Atom (Type -> Type -> Type) Type))) :+: C1 ('MetaCons "TopeInvF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var1 :: Atom (Type -> Type -> Type) Type)))) :+: (C1 ('MetaCons "TopeUninvF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var1 :: Atom (Type -> Type -> Type) Type))) :+: C1 ('MetaCons "RecBottomF" 'PrefixI 'False) (U1 :: LoT (Type -> Type -> Type) -> Type)))))) :+: ((((C1 ('MetaCons "RecOrF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (('Kon Maybe :: Atom (Type -> Type -> Type) (Type -> Type)) ':@: (Var1 :: Atom (Type -> Type -> Type) Type))) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (('Kon [] :: Atom (Type -> Type -> Type) (Type -> Type)) ':@: ((('Kon (,) :: Atom (Type -> Type -> Type) (Type -> Type -> Type)) ':@: (Var1 :: Atom (Type -> Type -> Type) Type)) ':@: (Var1 :: Atom (Type -> Type -> Type) Type))))) :+: (C1 ('MetaCons "TypeFunF" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon TModality :: Atom (Type -> Type -> Type) Type)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var1 :: Atom (Type -> Type -> Type) Type))) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (('Kon Maybe :: Atom (Type -> Type -> Type) (Type -> Type)) ':@: (Var1 :: Atom (Type -> Type -> Type) Type))) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var0 :: Atom (Type -> Type -> Type) Type)))) :+: C1 ('MetaCons "TypeShapeF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon TModality :: Atom (Type -> Type -> Type) Type)) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var1 :: Atom (Type -> Type -> Type) Type)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (('Kon Maybe :: Atom (Type -> Type -> Type) (Type -> Type)) ':@: (Var1 :: Atom (Type -> Type -> Type) Type))))))) :+: (C1 ('MetaCons "TypeSigmaF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon TModality :: Atom (Type -> Type -> Type) Type)) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var1 :: Atom (Type -> Type -> Type) Type)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var0 :: Atom (Type -> Type -> Type) Type)))) :+: (C1 ('MetaCons "TypeIdF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var1 :: Atom (Type -> Type -> Type) Type)) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (('Kon Maybe :: Atom (Type -> Type -> Type) (Type -> Type)) ':@: (Var1 :: Atom (Type -> Type -> Type) Type))) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var1 :: Atom (Type -> Type -> Type) Type)))) :+: C1 ('MetaCons "AppF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var1 :: Atom (Type -> Type -> Type) Type)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var1 :: Atom (Type -> Type -> Type) Type)))))) :+: ((C1 ('MetaCons "LetF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (('Kon Maybe :: Atom (Type -> Type -> Type) (Type -> Type)) ':@: (Var1 :: Atom (Type -> Type -> Type) Type))) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var1 :: Atom (Type -> Type -> Type) Type)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var0 :: Atom (Type -> Type -> Type) Type)))) :+: (C1 ('MetaCons "LambdaF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (('Kon Maybe :: Atom (Type -> Type -> Type) (Type -> Type)) ':@: (('Kon Param :: Atom (Type -> Type -> Type) (Type -> Type)) ':@: (Var1 :: Atom (Type -> Type -> Type) Type)))) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var0 :: Atom (Type -> Type -> Type) Type))) :+: C1 ('MetaCons "PairF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var1 :: Atom (Type -> Type -> Type) Type)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var1 :: Atom (Type -> Type -> Type) Type))))) :+: (C1 ('MetaCons "FirstF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var1 :: Atom (Type -> Type -> Type) Type))) :+: (C1 ('MetaCons "SecondF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var1 :: Atom (Type -> Type -> Type) Type))) :+: C1 ('MetaCons "ReflF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (('Kon Maybe :: Atom (Type -> Type -> Type) (Type -> Type)) ':@: ((('Kon (,) :: Atom (Type -> Type -> Type) (Type -> Type -> Type)) ':@: (Var1 :: Atom (Type -> Type -> Type) Type)) ':@: (('Kon Maybe :: Atom (Type -> Type -> Type) (Type -> Type)) ':@: (Var1 :: Atom (Type -> Type -> Type) Type)))))))))) :+: (((C1 ('MetaCons "IdJF" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var1 :: Atom (Type -> Type -> Type) Type)) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var1 :: Atom (Type -> Type -> Type) Type)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var1 :: Atom (Type -> Type -> Type) Type)))) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var1 :: Atom (Type -> Type -> Type) Type)) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var1 :: Atom (Type -> Type -> Type) Type)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var1 :: Atom (Type -> Type -> Type) Type))))) :+: (C1 ('MetaCons "MatchF" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon TModality :: Atom (Type -> Type -> Type) Type)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var1 :: Atom (Type -> Type -> Type) Type))) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (('Kon Maybe :: Atom (Type -> Type -> Type) (Type -> Type)) ':@: (Var1 :: Atom (Type -> Type -> Type) Type))) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (('Kon [] :: Atom (Type -> Type -> Type) (Type -> Type)) ':@: (('Kon ((,) VarIdent) :: Atom (Type -> Type -> Type) (Type -> Type)) ':@: (Var1 :: Atom (Type -> Type -> Type) Type)))))) :+: C1 ('MetaCons "MatchArmF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var0 :: Atom (Type -> Type -> Type) Type))))) :+: (C1 ('MetaCons "UnitF" 'PrefixI 'False) (U1 :: LoT (Type -> Type -> Type) -> Type) :+: (C1 ('MetaCons "TypeUnitF" 'PrefixI 'False) (U1 :: LoT (Type -> Type -> Type) -> Type) :+: C1 ('MetaCons "TypeAscF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var1 :: Atom (Type -> Type -> Type) Type)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var1 :: Atom (Type -> Type -> Type) Type)))))) :+: ((C1 ('MetaCons "AnnF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var1 :: Atom (Type -> Type -> Type) Type)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var1 :: Atom (Type -> Type -> Type) Type))) :+: (C1 ('MetaCons "TypeRestrictedF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var1 :: Atom (Type -> Type -> Type) Type)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (('Kon [] :: Atom (Type -> Type -> Type) (Type -> Type)) ':@: ((('Kon (,) :: Atom (Type -> Type -> Type) (Type -> Type -> Type)) ':@: (Var1 :: Atom (Type -> Type -> Type) Type)) ':@: (Var1 :: Atom (Type -> Type -> Type) Type))))) :+: C1 ('MetaCons "TypeModalF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon TModality :: Atom (Type -> Type -> Type) Type)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var1 :: Atom (Type -> Type -> Type) Type))))) :+: ((C1 ('MetaCons "ModAppF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon TModality :: Atom (Type -> Type -> Type) Type)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var1 :: Atom (Type -> Type -> Type) Type))) :+: C1 ('MetaCons "ModExtractF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon TModality :: Atom (Type -> Type -> Type) Type)) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon TModality :: Atom (Type -> Type -> Type) Type)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var1 :: Atom (Type -> Type -> Type) Type))))) :+: (C1 ('MetaCons "LetModF" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon TModality :: Atom (Type -> Type -> Type) Type)) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon TModality :: Atom (Type -> Type -> Type) Type)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (('Kon Maybe :: Atom (Type -> Type -> Type) (Type -> Type)) ':@: (Var1 :: Atom (Type -> Type -> Type) Type))))) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (('Kon Maybe :: Atom (Type -> Type -> Type) (Type -> Type)) ':@: (Var1 :: Atom (Type -> Type -> Type) Type))) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var1 :: Atom (Type -> Type -> Type) Type)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var0 :: Atom (Type -> Type -> Type) Type))))) :+: C1 ('MetaCons "HoleF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon (Maybe VarIdent) :: Atom (Type -> Type -> Type) Type))))))))) | |||||
| type RepK (Sig scope :: Type -> Type) Source # | |||||
Defined in Rzk.Check.Syntax type RepK (Sig scope :: Type -> Type) = D1 ('MetaData "Sig" "Rzk.Check.Syntax" "rzk-0.11.4-Ega6ALHHgzdAqHIpHGWjH1" 'False) (((((C1 ('MetaCons "UniverseF" 'PrefixI 'False) (U1 :: LoT (Type -> Type) -> Type) :+: (C1 ('MetaCons "UniverseCubeF" 'PrefixI 'False) (U1 :: LoT (Type -> Type) -> Type) :+: C1 ('MetaCons "UniverseTopeF" 'PrefixI 'False) (U1 :: LoT (Type -> Type) -> Type))) :+: (C1 ('MetaCons "CubeUnitF" 'PrefixI 'False) (U1 :: LoT (Type -> Type) -> Type) :+: (C1 ('MetaCons "CubeUnitStarF" 'PrefixI 'False) (U1 :: LoT (Type -> Type) -> Type) :+: C1 ('MetaCons "Cube2F" 'PrefixI 'False) (U1 :: LoT (Type -> Type) -> Type)))) :+: ((C1 ('MetaCons "Cube2_0F" 'PrefixI 'False) (U1 :: LoT (Type -> Type) -> Type) :+: (C1 ('MetaCons "Cube2_1F" 'PrefixI 'False) (U1 :: LoT (Type -> Type) -> Type) :+: C1 ('MetaCons "CubeIF" 'PrefixI 'False) (U1 :: LoT (Type -> Type) -> Type))) :+: (C1 ('MetaCons "CubeI_0F" 'PrefixI 'False) (U1 :: LoT (Type -> Type) -> Type) :+: (C1 ('MetaCons "CubeI_1F" 'PrefixI 'False) (U1 :: LoT (Type -> Type) -> Type) :+: C1 ('MetaCons "CubeProductF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var0 :: Atom (Type -> Type) Type)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var0 :: Atom (Type -> Type) Type))))))) :+: (((C1 ('MetaCons "CubeFlipF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var0 :: Atom (Type -> Type) Type))) :+: (C1 ('MetaCons "CubeUnflipF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var0 :: Atom (Type -> Type) Type))) :+: C1 ('MetaCons "CubeSupF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var0 :: Atom (Type -> Type) Type)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var0 :: Atom (Type -> Type) Type))))) :+: (C1 ('MetaCons "CubeInfF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var0 :: Atom (Type -> Type) Type)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var0 :: Atom (Type -> Type) Type))) :+: (C1 ('MetaCons "TopeTopF" 'PrefixI 'False) (U1 :: LoT (Type -> Type) -> Type) :+: C1 ('MetaCons "TopeBottomF" 'PrefixI 'False) (U1 :: LoT (Type -> Type) -> Type)))) :+: ((C1 ('MetaCons "TopeEQF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var0 :: Atom (Type -> Type) Type)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var0 :: Atom (Type -> Type) Type))) :+: (C1 ('MetaCons "TopeLEQF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var0 :: Atom (Type -> Type) Type)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var0 :: Atom (Type -> Type) Type))) :+: C1 ('MetaCons "TopeAndF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var0 :: Atom (Type -> Type) Type)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var0 :: Atom (Type -> Type) Type))))) :+: ((C1 ('MetaCons "TopeOrF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var0 :: Atom (Type -> Type) Type)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var0 :: Atom (Type -> Type) Type))) :+: C1 ('MetaCons "TopeInvF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var0 :: Atom (Type -> Type) Type)))) :+: (C1 ('MetaCons "TopeUninvF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var0 :: Atom (Type -> Type) Type))) :+: C1 ('MetaCons "RecBottomF" 'PrefixI 'False) (U1 :: LoT (Type -> Type) -> Type)))))) :+: ((((C1 ('MetaCons "RecOrF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (('Kon Maybe :: Atom (Type -> Type) (Type -> Type)) ':@: (Var0 :: Atom (Type -> Type) Type))) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (('Kon [] :: Atom (Type -> Type) (Type -> Type)) ':@: ((('Kon (,) :: Atom (Type -> Type) (Type -> Type -> Type)) ':@: (Var0 :: Atom (Type -> Type) Type)) ':@: (Var0 :: Atom (Type -> Type) Type))))) :+: (C1 ('MetaCons "TypeFunF" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon TModality :: Atom (Type -> Type) Type)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var0 :: Atom (Type -> Type) Type))) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (('Kon Maybe :: Atom (Type -> Type) (Type -> Type)) ':@: (Var0 :: Atom (Type -> Type) Type))) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon scope :: Atom (Type -> Type) Type)))) :+: C1 ('MetaCons "TypeShapeF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon TModality :: Atom (Type -> Type) Type)) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var0 :: Atom (Type -> Type) Type)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (('Kon Maybe :: Atom (Type -> Type) (Type -> Type)) ':@: (Var0 :: Atom (Type -> Type) Type))))))) :+: (C1 ('MetaCons "TypeSigmaF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon TModality :: Atom (Type -> Type) Type)) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var0 :: Atom (Type -> Type) Type)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon scope :: Atom (Type -> Type) Type)))) :+: (C1 ('MetaCons "TypeIdF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var0 :: Atom (Type -> Type) Type)) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (('Kon Maybe :: Atom (Type -> Type) (Type -> Type)) ':@: (Var0 :: Atom (Type -> Type) Type))) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var0 :: Atom (Type -> Type) Type)))) :+: C1 ('MetaCons "AppF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var0 :: Atom (Type -> Type) Type)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var0 :: Atom (Type -> Type) Type)))))) :+: ((C1 ('MetaCons "LetF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (('Kon Maybe :: Atom (Type -> Type) (Type -> Type)) ':@: (Var0 :: Atom (Type -> Type) Type))) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var0 :: Atom (Type -> Type) Type)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon scope :: Atom (Type -> Type) Type)))) :+: (C1 ('MetaCons "LambdaF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (('Kon Maybe :: Atom (Type -> Type) (Type -> Type)) ':@: (('Kon Param :: Atom (Type -> Type) (Type -> Type)) ':@: (Var0 :: Atom (Type -> Type) Type)))) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon scope :: Atom (Type -> Type) Type))) :+: C1 ('MetaCons "PairF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var0 :: Atom (Type -> Type) Type)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var0 :: Atom (Type -> Type) Type))))) :+: (C1 ('MetaCons "FirstF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var0 :: Atom (Type -> Type) Type))) :+: (C1 ('MetaCons "SecondF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var0 :: Atom (Type -> Type) Type))) :+: C1 ('MetaCons "ReflF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (('Kon Maybe :: Atom (Type -> Type) (Type -> Type)) ':@: ((('Kon (,) :: Atom (Type -> Type) (Type -> Type -> Type)) ':@: (Var0 :: Atom (Type -> Type) Type)) ':@: (('Kon Maybe :: Atom (Type -> Type) (Type -> Type)) ':@: (Var0 :: Atom (Type -> Type) Type)))))))))) :+: (((C1 ('MetaCons "IdJF" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var0 :: Atom (Type -> Type) Type)) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var0 :: Atom (Type -> Type) Type)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var0 :: Atom (Type -> Type) Type)))) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var0 :: Atom (Type -> Type) Type)) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var0 :: Atom (Type -> Type) Type)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var0 :: Atom (Type -> Type) Type))))) :+: (C1 ('MetaCons "MatchF" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon TModality :: Atom (Type -> Type) Type)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var0 :: Atom (Type -> Type) Type))) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (('Kon Maybe :: Atom (Type -> Type) (Type -> Type)) ':@: (Var0 :: Atom (Type -> Type) Type))) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (('Kon [] :: Atom (Type -> Type) (Type -> Type)) ':@: (('Kon ((,) VarIdent) :: Atom (Type -> Type) (Type -> Type)) ':@: (Var0 :: Atom (Type -> Type) Type)))))) :+: C1 ('MetaCons "MatchArmF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon scope :: Atom (Type -> Type) Type))))) :+: (C1 ('MetaCons "UnitF" 'PrefixI 'False) (U1 :: LoT (Type -> Type) -> Type) :+: (C1 ('MetaCons "TypeUnitF" 'PrefixI 'False) (U1 :: LoT (Type -> Type) -> Type) :+: C1 ('MetaCons "TypeAscF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var0 :: Atom (Type -> Type) Type)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var0 :: Atom (Type -> Type) Type)))))) :+: ((C1 ('MetaCons "AnnF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var0 :: Atom (Type -> Type) Type)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var0 :: Atom (Type -> Type) Type))) :+: (C1 ('MetaCons "TypeRestrictedF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var0 :: Atom (Type -> Type) Type)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (('Kon [] :: Atom (Type -> Type) (Type -> Type)) ':@: ((('Kon (,) :: Atom (Type -> Type) (Type -> Type -> Type)) ':@: (Var0 :: Atom (Type -> Type) Type)) ':@: (Var0 :: Atom (Type -> Type) Type))))) :+: C1 ('MetaCons "TypeModalF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon TModality :: Atom (Type -> Type) Type)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var0 :: Atom (Type -> Type) Type))))) :+: ((C1 ('MetaCons "ModAppF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon TModality :: Atom (Type -> Type) Type)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var0 :: Atom (Type -> Type) Type))) :+: C1 ('MetaCons "ModExtractF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon TModality :: Atom (Type -> Type) Type)) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon TModality :: Atom (Type -> Type) Type)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var0 :: Atom (Type -> Type) Type))))) :+: (C1 ('MetaCons "LetModF" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon TModality :: Atom (Type -> Type) Type)) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon TModality :: Atom (Type -> Type) Type)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (('Kon Maybe :: Atom (Type -> Type) (Type -> Type)) ':@: (Var0 :: Atom (Type -> Type) Type))))) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (('Kon Maybe :: Atom (Type -> Type) (Type -> Type)) ':@: (Var0 :: Atom (Type -> Type) Type))) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (Var0 :: Atom (Type -> Type) Type)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon scope :: Atom (Type -> Type) Type))))) :+: C1 ('MetaCons "HoleF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon (Maybe VarIdent) :: Atom (Type -> Type) Type))))))))) | |||||
Terms
type Raw = AST Pattern (AnnSig SrcPos Sig) Source #
A raw term: the surface syntax converted, every node carrying where it was written. What the checker takes.
type Core = AST Pattern Sig Source #
A core term: what the checker produces, what closures hold, and what readback gives.
Where a term was written: the annotation of a raw term, a phantom in the node's term parameter.
Constructors
| SrcPos RzkPosition |
Instances
| Functor SrcPos Source # | |
| Foldable SrcPos Source # | |
Defined in Rzk.Check.Syntax Methods fold :: Monoid m => SrcPos m -> m # foldMap :: Monoid m => (a -> m) -> SrcPos a -> m # foldMap' :: Monoid m => (a -> m) -> SrcPos a -> m # foldr :: (a -> b -> b) -> b -> SrcPos a -> b # foldr' :: (a -> b -> b) -> b -> SrcPos a -> b # foldl :: (b -> a -> b) -> b -> SrcPos a -> b # foldl' :: (b -> a -> b) -> b -> SrcPos a -> b # foldr1 :: (a -> a -> a) -> SrcPos a -> a # foldl1 :: (a -> a -> a) -> SrcPos a -> a # elem :: Eq a => a -> SrcPos a -> Bool # maximum :: Ord a => SrcPos a -> a # minimum :: Ord a => SrcPos a -> a # | |
| Traversable SrcPos Source # | |
| ZipMatchK SrcPos Source # | Two terms written in different places are the same term. |
rawNode :: forall (n :: S). RzkPosition -> Sig (ScopedRaw n) (Raw n) -> Raw n Source #
A raw node at a position.
panicImpossible :: String -> a Source #
Fail on a case the checker's invariants rule out, asking for a bug report.
noPosition :: RzkPosition Source #
The position of a node the checker builds, which was written nowhere.
positionOfRaw :: forall (n :: S). Raw n -> Maybe RzkPosition Source #
Where a raw term was written, when it came from a file. A variable is a leaf and carries no position.
stripPositions :: forall (n :: S). Raw n -> Core n Source #
A raw term as a core term: the positions dropped.
Core patterns
pattern UniverseCube :: Core n Source #
pattern UniverseTope :: Core n Source #
pattern CubeUnitStar :: Core n Source #
pattern CubeUnflip :: Core n -> Core n Source #
pattern TopeBottom :: Core n Source #
pattern MatchArm :: ScopedCore n -> Core n Source #
pattern LetMod :: TModality -> TModality -> Maybe (Core n) -> Maybe (Core n) -> Core n -> ScopedCore n -> Core n Source #
Raw patterns
pattern RawNode :: Sig (ScopedRaw n) (Raw n) -> Raw n Source #
A raw node, matched without regard for where it was written.
pattern RUniverse :: Raw n Source #
A raw node of each constructor, matched without regard for where it was
written: RTypeFun for TypeFunF, and so on.
pattern RUniverseCube :: Raw n Source #
pattern RUniverseTope :: Raw n Source #
pattern RCubeUnitStar :: Raw n Source #
pattern RCubeUnflip :: Raw n -> Raw n Source #
pattern RTopeBottom :: Raw n Source #
pattern RTopeUninv :: Raw n -> Raw n Source #
pattern RRecBottom :: Raw n Source #
pattern RLetMod :: TModality -> TModality -> Maybe (Raw n) -> Maybe (Raw n) -> Raw n -> ScopedRaw n -> Raw n Source #
Queries
freeNamesOf :: forall (n :: S). Distinct n => Core n -> [Name n] Source #
The free names of a term, in order of mention, with repeats. Names bound
on the way down are removed with unsinkNamePattern.
stripAnnotations :: forall (n :: S). Core n -> Core n Source #
A term without the annotations of its neutrals, which the library's readback keeps. The types are not looked at.
substituteName :: forall (n :: S). Distinct n => Scope n -> Name n -> Core n -> Core n -> Core n Source #
Replace a free name of a term by a term of the same scope.
abstractName :: forall (n :: S) r. Distinct n => Scope n -> Maybe VarIdent -> Name n -> Core n -> (forall (l :: S). (DExt n l, Distinct l) => Pattern n l -> Core l -> r) -> r Source #
Abstract a free name out of a term: the pattern the continuation receives binds what the name stood for, under the name's display name. The name stays in the scope index, as a scope only grows, but the term no longer mentions it.
holeNamesOf :: forall (n :: S). Core n -> [Maybe VarIdent] Source #
The name of every hole in a term.
isHoleHeaded :: forall (n :: S). Core n -> Bool Source #
Is the term a hole, or an elimination headed by one (? a, first ?)?
Such a term has no shape of its own yet.
eqCore :: forall (n :: S). Distinct n => Core n -> Core n -> Bool Source #
Syntactic equality of two core terms: conservative, as two α-equivalent terms whose binders differ are not equal, and cheaper than α-equivalence.