rzk-0.11.4: An experimental proof assistant for synthetic ∞-categories
Safe HaskellNone
LanguageHaskell2010

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

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

Instances details
CoSinkable Pattern Source # 
Instance details

Defined in Rzk.Check.Syntax

Methods

coSinkabilityProof :: forall (n :: S) (n' :: S) (l :: S) r. (Name n -> Name n') -> Pattern n l -> (forall (l' :: S). (Name l -> Name l') -> Pattern n' l' -> r) -> r #

withPattern :: forall (o :: S) f (n :: S) (l :: S) r. Distinct o => (forall (x :: S) (y :: S) (z :: S) r'. Distinct z => Scope z -> NameBinder x y -> (forall (z' :: S). DExt z z' => f x y z z' -> NameBinder z z' -> r') -> r') -> (forall (x :: S) (z :: S) (z' :: S). DExt z z' => f x x z z') -> (forall (x :: S) (y :: S) (y' :: S) (z :: S) (z' :: S) (z'' :: S). (DExt z z', DExt z' z'') => f x y z z' -> f y y' z' z'' -> f x y' z z'') -> Scope o -> Pattern n l -> (forall (o' :: S). DExt o o' => f n l o o' -> Pattern o o' -> Scope o' -> r) -> r #

nameBinderListOf :: forall (n :: S) (l :: S). Pattern n l -> NameBinderList n l #

HasNameBinders Pattern Source # 
Instance details

Defined in Rzk.Check.Syntax

Methods

getNameBinders :: forall (n :: S) (l :: S). Pattern n l -> NameBinders n l #

unsafeSetNameBinders :: forall (n :: S) (l :: S) (l' :: S). Pattern n l -> NameBinders n l' -> Pattern n l' #

getNameBindersRaw :: forall (n :: S) (l :: S). Pattern n l -> [RawName] #

reallyUnsafeSetNameBindersRaw :: forall (n :: S) (l :: S) (l' :: S). Pattern n l -> [RawName] -> (Pattern n l', [RawName]) #

UnifiablePattern Pattern Source # 
Instance details

Defined in Rzk.Check.Syntax

Methods

unifyPatterns :: forall (n :: S) (l :: S) (r :: S). Distinct n => Pattern n l -> Pattern n r -> UnifyNameBinders Pattern n l r #

unifyPatternsIn :: forall (n :: S) (l :: S) (r :: S). Distinct n => Scope n -> Pattern n l -> Pattern n r -> UnifyNameBinders Pattern n l r #

Eval Context Pattern Sig 
Instance details

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.

Instance details

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 (Pattern n l :: Type) Source # 
Instance details

Defined in Rzk.Check.Syntax

Associated Types

type RepK (Pattern n l :: Type) 
Instance details

Defined in Rzk.Check.Syntax

type RepK (Pattern n l :: Type) = D1 ('MetaData "Pattern" "Rzk.Check.Syntax" "rzk-0.11.4-Ega6ALHHgzdAqHIpHGWjH1" 'False) ((C1 ('MetaCons "PatternVar" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon (Maybe VarIdent) :: Atom Type Type)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon (NameBinder n l) :: Atom Type Type))) :+: C1 ('MetaCons "PatternWildcard" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon (NameBinder n l) :: Atom Type Type)))) :+: (C1 ('MetaCons "PatternUnit" 'PrefixI 'False) (('Kon (n ~~ l) :: Atom Type Constraint) :=>: (U1 :: LoT Type -> Type)) :+: C1 ('MetaCons "PatternPair" 'PrefixI 'False) (Exists S (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (('Kon (Pattern n) :: Atom (S -> Type) (S -> Type)) ':@: (Var0 :: Atom (S -> Type) S))) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ((('Kon Pattern :: Atom (S -> Type) (S -> S -> Type)) ':@: (Var0 :: Atom (S -> Type) S)) ':@: ('Kon l :: Atom (S -> Type) S)))))))

Methods

fromK :: forall (x :: LoT Type). (Pattern n l :@@: x) -> RepK (Pattern n l) x #

toK :: forall (x :: LoT Type). RepK (Pattern n l) x -> Pattern n l :@@: x #

SinkableK Pattern Source # 
Instance details

Defined in Rzk.Check.Syntax

Methods

sinkabilityProofK :: forall (as :: LoT (S -> S -> Type)) (bs :: LoT (S -> S -> Type)) r. RenamingsK as bs -> (Pattern :@@: as) -> (forall (cs :: LoT (S -> S -> Type)). RenamingsK as cs -> (Pattern :@@: cs) -> r) -> r #

GenericK Pattern Source # 
Instance details

Defined in Rzk.Check.Syntax

Associated Types

type RepK Pattern 
Instance details

Defined in Rzk.Check.Syntax

type RepK Pattern = D1 ('MetaData "Pattern" "Rzk.Check.Syntax" "rzk-0.11.4-Ega6ALHHgzdAqHIpHGWjH1" 'False) ((C1 ('MetaCons "PatternVar" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon (Maybe VarIdent) :: Atom (S -> S -> Type) Type)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ((('Kon NameBinder :: Atom (S -> S -> Type) (S -> S -> Type)) ':@: (Var0 :: Atom (S -> S -> Type) S)) ':@: (Var1 :: Atom (S -> S -> Type) S)))) :+: C1 ('MetaCons "PatternWildcard" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ((('Kon NameBinder :: Atom (S -> S -> Type) (S -> S -> Type)) ':@: (Var0 :: Atom (S -> S -> Type) S)) ':@: (Var1 :: Atom (S -> S -> Type) S))))) :+: (C1 ('MetaCons "PatternUnit" 'PrefixI 'False) (((('Kon ((~~) :: S -> S -> Constraint) :: Atom (S -> S -> Type) (S -> S -> Constraint)) ':@: (Var0 :: Atom (S -> S -> Type) S)) ':@: (Var1 :: Atom (S -> S -> Type) S)) :=>: (U1 :: LoT (S -> S -> Type) -> Type)) :+: C1 ('MetaCons "PatternPair" 'PrefixI 'False) (Exists S (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ((('Kon Pattern :: Atom (S -> S -> S -> Type) (S -> S -> Type)) ':@: (Var1 :: Atom (S -> S -> S -> Type) S)) ':@: (Var0 :: Atom (S -> S -> S -> Type) S))) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ((('Kon Pattern :: Atom (S -> S -> S -> Type) (S -> S -> Type)) ':@: (Var0 :: Atom (S -> S -> S -> Type) S)) ':@: (Var2 :: Atom (S -> S -> S -> Type) S)))))))

Methods

fromK :: forall (x :: LoT (S -> S -> Type)). (Pattern :@@: x) -> RepK Pattern x #

toK :: forall (x :: LoT (S -> S -> Type)). RepK Pattern x -> Pattern :@@: x #

GenericK (Pattern n :: S -> Type) Source # 
Instance details

Defined in Rzk.Check.Syntax

Associated Types

type RepK (Pattern n :: S -> Type) 
Instance details

Defined in Rzk.Check.Syntax

type RepK (Pattern n :: S -> Type) = D1 ('MetaData "Pattern" "Rzk.Check.Syntax" "rzk-0.11.4-Ega6ALHHgzdAqHIpHGWjH1" 'False) ((C1 ('MetaCons "PatternVar" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon (Maybe VarIdent) :: Atom (S -> Type) Type)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (('Kon (NameBinder n) :: Atom (S -> Type) (S -> Type)) ':@: (Var0 :: Atom (S -> Type) S)))) :+: C1 ('MetaCons "PatternWildcard" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (('Kon (NameBinder n) :: Atom (S -> Type) (S -> Type)) ':@: (Var0 :: Atom (S -> Type) S))))) :+: (C1 ('MetaCons "PatternUnit" 'PrefixI 'False) ((('Kon ((~~) n :: S -> Constraint) :: Atom (S -> Type) (S -> Constraint)) ':@: (Var0 :: Atom (S -> Type) S)) :=>: (U1 :: LoT (S -> Type) -> Type)) :+: C1 ('MetaCons "PatternPair" 'PrefixI 'False) (Exists S (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (('Kon (Pattern n) :: Atom (S -> S -> Type) (S -> Type)) ':@: (Var0 :: Atom (S -> S -> Type) S))) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ((('Kon Pattern :: Atom (S -> S -> Type) (S -> S -> Type)) ':@: (Var0 :: Atom (S -> S -> Type) S)) ':@: (Var1 :: Atom (S -> S -> Type) S)))))))

Methods

fromK :: forall (x :: LoT (S -> Type)). (Pattern n :@@: x) -> RepK (Pattern n) x #

toK :: forall (x :: LoT (S -> Type)). RepK (Pattern n) x -> Pattern n :@@: x #

type RepK (Pattern n l :: Type) Source # 
Instance details

Defined in Rzk.Check.Syntax

type RepK (Pattern n l :: Type) = D1 ('MetaData "Pattern" "Rzk.Check.Syntax" "rzk-0.11.4-Ega6ALHHgzdAqHIpHGWjH1" 'False) ((C1 ('MetaCons "PatternVar" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon (Maybe VarIdent) :: Atom Type Type)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon (NameBinder n l) :: Atom Type Type))) :+: C1 ('MetaCons "PatternWildcard" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon (NameBinder n l) :: Atom Type Type)))) :+: (C1 ('MetaCons "PatternUnit" 'PrefixI 'False) (('Kon (n ~~ l) :: Atom Type Constraint) :=>: (U1 :: LoT Type -> Type)) :+: C1 ('MetaCons "PatternPair" 'PrefixI 'False) (Exists S (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (('Kon (Pattern n) :: Atom (S -> Type) (S -> Type)) ':@: (Var0 :: Atom (S -> Type) S))) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ((('Kon Pattern :: Atom (S -> Type) (S -> S -> Type)) ':@: (Var0 :: Atom (S -> Type) S)) ':@: ('Kon l :: Atom (S -> Type) S)))))))
type RepK Pattern Source # 
Instance details

Defined in Rzk.Check.Syntax

type RepK Pattern = D1 ('MetaData "Pattern" "Rzk.Check.Syntax" "rzk-0.11.4-Ega6ALHHgzdAqHIpHGWjH1" 'False) ((C1 ('MetaCons "PatternVar" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon (Maybe VarIdent) :: Atom (S -> S -> Type) Type)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ((('Kon NameBinder :: Atom (S -> S -> Type) (S -> S -> Type)) ':@: (Var0 :: Atom (S -> S -> Type) S)) ':@: (Var1 :: Atom (S -> S -> Type) S)))) :+: C1 ('MetaCons "PatternWildcard" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ((('Kon NameBinder :: Atom (S -> S -> Type) (S -> S -> Type)) ':@: (Var0 :: Atom (S -> S -> Type) S)) ':@: (Var1 :: Atom (S -> S -> Type) S))))) :+: (C1 ('MetaCons "PatternUnit" 'PrefixI 'False) (((('Kon ((~~) :: S -> S -> Constraint) :: Atom (S -> S -> Type) (S -> S -> Constraint)) ':@: (Var0 :: Atom (S -> S -> Type) S)) ':@: (Var1 :: Atom (S -> S -> Type) S)) :=>: (U1 :: LoT (S -> S -> Type) -> Type)) :+: C1 ('MetaCons "PatternPair" 'PrefixI 'False) (Exists S (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ((('Kon Pattern :: Atom (S -> S -> S -> Type) (S -> S -> Type)) ':@: (Var1 :: Atom (S -> S -> S -> Type) S)) ':@: (Var0 :: Atom (S -> S -> S -> Type) S))) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ((('Kon Pattern :: Atom (S -> S -> S -> Type) (S -> S -> Type)) ':@: (Var0 :: Atom (S -> S -> S -> Type) S)) ':@: (Var2 :: Atom (S -> S -> S -> Type) S)))))))
type RepK (Pattern n :: S -> Type) Source # 
Instance details

Defined in Rzk.Check.Syntax

type RepK (Pattern n :: S -> Type) = D1 ('MetaData "Pattern" "Rzk.Check.Syntax" "rzk-0.11.4-Ega6ALHHgzdAqHIpHGWjH1" 'False) ((C1 ('MetaCons "PatternVar" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ('Kon (Maybe VarIdent) :: Atom (S -> Type) Type)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (('Kon (NameBinder n) :: Atom (S -> Type) (S -> Type)) ':@: (Var0 :: Atom (S -> Type) S)))) :+: C1 ('MetaCons "PatternWildcard" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (('Kon (NameBinder n) :: Atom (S -> Type) (S -> Type)) ':@: (Var0 :: Atom (S -> Type) S))))) :+: (C1 ('MetaCons "PatternUnit" 'PrefixI 'False) ((('Kon ((~~) n :: S -> Constraint) :: Atom (S -> Type) (S -> Constraint)) ':@: (Var0 :: Atom (S -> Type) S)) :=>: (U1 :: LoT (S -> Type) -> Type)) :+: C1 ('MetaCons "PatternPair" 'PrefixI 'False) (Exists S (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field (('Kon (Pattern n) :: Atom (S -> S -> Type) (S -> Type)) ':@: (Var0 :: Atom (S -> S -> Type) S))) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Field ((('Kon Pattern :: Atom (S -> S -> Type) (S -> S -> Type)) ':@: (Var0 :: Atom (S -> S -> Type) S)) ':@: (Var1 :: Atom (S -> S -> Type) S)))))))

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

data Param term Source #

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

Instances details
Functor Param Source # 
Instance details

Defined in Rzk.Check.Syntax

Methods

fmap :: (a -> b) -> Param a -> Param b #

(<$) :: a -> Param b -> Param a #

Foldable Param Source # 
Instance details

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 #

toList :: Param a -> [a] #

null :: Param a -> Bool #

length :: Param a -> Int #

elem :: Eq a => a -> Param a -> Bool #

maximum :: Ord a => Param a -> a #

minimum :: Ord a => Param a -> a #

sum :: Num a => Param a -> a #

product :: Num a => Param a -> a #

Traversable Param Source # 
Instance details

Defined in Rzk.Check.Syntax

Methods

traverse :: Applicative f => (a -> f b) -> Param a -> f (Param b) #

sequenceA :: Applicative f => Param (f a) -> f (Param a) #

mapM :: Monad m => (a -> m b) -> Param a -> m (Param b) #

sequence :: Monad m => Param (m a) -> m (Param a) #

GenericK (Param term :: Type) Source # 
Instance details

Defined in Rzk.Check.Syntax

Associated Types

type RepK (Param term :: Type) 
Instance details

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)))))

Methods

fromK :: forall (x :: LoT Type). (Param term :@@: x) -> RepK (Param term) x #

toK :: forall (x :: LoT Type). RepK (Param term) x -> Param term :@@: x #

Show term => Show (Param term) Source # 
Instance details

Defined in Rzk.Check.Syntax

Methods

showsPrec :: Int -> Param term -> ShowS #

show :: Param term -> String #

showList :: [Param term] -> ShowS #

ZipMatchFoldK Param Source # 
Instance details

Defined in Rzk.Check.Syntax

Methods

zipMatchFoldK :: forall (as :: LoT (Type -> Type)) (bs :: LoT (Type -> Type)) m. Monoid m => Folds m as bs -> (Param :@@: as) -> (Param :@@: bs) -> Maybe m #

ZipMatchK Param Source # 
Instance details

Defined in Rzk.Check.Syntax

Methods

zipMatchWithK :: forall (as :: LoT (Type -> Type)) (bs :: LoT (Type -> Type)) (cs :: LoT (Type -> Type)). Mappings as bs cs -> (Param :@@: as) -> (Param :@@: bs) -> Maybe (Param :@@: cs) #

GenericK Param Source # 
Instance details

Defined in Rzk.Check.Syntax

Associated Types

type RepK Param 
Instance details

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))))))

Methods

fromK :: forall (x :: LoT (Type -> Type)). (Param :@@: x) -> RepK Param x #

toK :: forall (x :: LoT (Type -> Type)). RepK Param x -> Param :@@: x #

type RepK (Param term :: Type) Source # 
Instance details

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 # 
Instance details

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))))))

data Sig scope term Source #

The signature of the core: every construct of the language. Scoped positions bind a Pattern.

Constructors

UniverseF

the universe U of ordinary types

UniverseCubeF

the universe CUBE of cubes

UniverseTopeF

the universe TOPE of topes

CubeUnitF

the unit cube

CubeUnitStarF

the unique point of the unit cube

Cube2F

the directed interval cube 2

Cube2_0F

the left endpoint of 2

Cube2_1F

the right endpoint of 2

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 CubeFlipF

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 TopeInvF

RecBottomF

ex falso, recBOT

RecOrF (Maybe term) [(term, term)]

a raw recOR has no type; elaboration attaches its type, which a stuck semantic recOR needs when it heads an elimination

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: {t : cube | shape} → TOPE, whose codomain is constant, so that the subtyping of families, which is covariant in the shape, can tell it from a Π

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 #data value: the modality, the scrutinee, the into motive, and the branches, each an arm chain

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 (stripAnnotations), and the type takes no part in conversion or in the free names of a term.

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 let mod, with modalities, optional type and motive, payload, and body

HoleF (Maybe VarIdent)

a user hole, with its optional name; not an internal unknown type

Instances

Instances details
Bifoldable Sig Source # 
Instance details

Defined in Rzk.Check.Syntax

Methods

bifold :: Monoid m => Sig m m -> m #

bifoldMap :: Monoid m => (a -> m) -> (b -> m) -> Sig a b -> m #

bifoldr :: (a -> c -> c) -> (b -> c -> c) -> c -> Sig a b -> c #

bifoldl :: (c -> a -> c) -> (c -> b -> c) -> c -> Sig a b -> c #

Bifunctor Sig Source # 
Instance details

Defined in Rzk.Check.Syntax

Methods

bimap :: (a -> b) -> (c -> d) -> Sig a c -> Sig b d #

first :: (a -> b) -> Sig a c -> Sig b c #

second :: (b -> c) -> Sig a b -> Sig a c #

Bitraversable Sig Source # 
Instance details

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.

Instance details

Defined in Rzk.Check.Value

Methods

headsWith :: (b -> d) -> (b -> d) -> Sig a b -> Sig a d

Eval Context Pattern Sig 
Instance details

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.

Instance details

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 # 
Instance details

Defined in Rzk.Check.Syntax

Associated Types

type RepK (Sig scope term :: Type) 
Instance details

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)))))))))

Methods

fromK :: forall (x :: LoT Type). (Sig scope term :@@: x) -> RepK (Sig scope term) x #

toK :: forall (x :: LoT Type). RepK (Sig scope term) x -> Sig scope term :@@: x #

Functor (Sig scope) Source # 
Instance details

Defined in Rzk.Check.Syntax

Methods

fmap :: (a -> b) -> Sig scope a -> Sig scope b #

(<$) :: a -> Sig scope b -> Sig scope a #

Foldable (Sig scope) Source # 
Instance details

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] #

null :: Sig scope a -> Bool #

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 #

sum :: Num a => Sig scope a -> a #

product :: Num a => Sig scope a -> a #

Traversable (Sig scope) Source # 
Instance details

Defined in Rzk.Check.Syntax

Methods

traverse :: Applicative f => (a -> f b) -> Sig scope a -> f (Sig scope b) #

sequenceA :: Applicative f => Sig scope (f a) -> f (Sig scope a) #

mapM :: Monad m => (a -> m b) -> Sig scope a -> m (Sig scope b) #

sequence :: Monad m => Sig scope (m a) -> m (Sig scope a) #

Show (Sig () ()) Source # 
Instance details

Defined in Rzk.Check.Value

Methods

showsPrec :: Int -> Sig () () -> ShowS #

show :: Sig () () -> String #

showList :: [Sig () ()] -> ShowS #

ZipMatchFoldK Sig Source # 
Instance details

Defined in Rzk.Check.Syntax

Methods

zipMatchFoldK :: forall (as :: LoT (Type -> Type -> Type)) (bs :: LoT (Type -> Type -> Type)) m. Monoid m => Folds m as bs -> (Sig :@@: as) -> (Sig :@@: bs) -> Maybe m #

ZipMatchK Sig Source # 
Instance details

Defined in Rzk.Check.Syntax

Methods

zipMatchWithK :: forall (as :: LoT (Type -> Type -> Type)) (bs :: LoT (Type -> Type -> Type)) (cs :: LoT (Type -> Type -> Type)). Mappings as bs cs -> (Sig :@@: as) -> (Sig :@@: bs) -> Maybe (Sig :@@: cs) #

GenericK Sig Source # 
Instance details

Defined in Rzk.Check.Syntax

Associated Types

type RepK Sig 
Instance details

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)))))))))

Methods

fromK :: forall (x :: LoT (Type -> Type -> Type)). (Sig :@@: x) -> RepK Sig x #

toK :: forall (x :: LoT (Type -> Type -> Type)). RepK Sig x -> Sig :@@: x #

GenericK (Sig scope :: Type -> Type) Source # 
Instance details

Defined in Rzk.Check.Syntax

Associated Types

type RepK (Sig scope :: Type -> Type) 
Instance details

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)))))))))

Methods

fromK :: forall (x :: LoT (Type -> Type)). (Sig scope :@@: x) -> RepK (Sig scope) x #

toK :: forall (x :: LoT (Type -> Type)). RepK (Sig scope) x -> Sig scope :@@: x #

type RepK (Sig scope term :: Type) Source # 
Instance details

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 # 
Instance details

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 # 
Instance details

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.

newtype SrcPos term Source #

Where a term was written: the annotation of a raw term, a phantom in the node's term parameter.

Constructors

SrcPos RzkPosition 

Instances

Instances details
Functor SrcPos Source # 
Instance details

Defined in Rzk.Check.Syntax

Methods

fmap :: (a -> b) -> SrcPos a -> SrcPos b #

(<$) :: a -> SrcPos b -> SrcPos a #

Foldable SrcPos Source # 
Instance details

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 #

toList :: SrcPos a -> [a] #

null :: SrcPos a -> Bool #

length :: SrcPos a -> Int #

elem :: Eq a => a -> SrcPos a -> Bool #

maximum :: Ord a => SrcPos a -> a #

minimum :: Ord a => SrcPos a -> a #

sum :: Num a => SrcPos a -> a #

product :: Num a => SrcPos a -> a #

Traversable SrcPos Source # 
Instance details

Defined in Rzk.Check.Syntax

Methods

traverse :: Applicative f => (a -> f b) -> SrcPos a -> f (SrcPos b) #

sequenceA :: Applicative f => SrcPos (f a) -> f (SrcPos a) #

mapM :: Monad m => (a -> m b) -> SrcPos a -> m (SrcPos b) #

sequence :: Monad m => SrcPos (m a) -> m (SrcPos a) #

ZipMatchK SrcPos Source #

Two terms written in different places are the same term.

Instance details

Defined in Rzk.Check.Syntax

Methods

zipMatchWithK :: forall (as :: LoT (Type -> Type)) (bs :: LoT (Type -> Type)) (cs :: LoT (Type -> Type)). Mappings as bs cs -> (SrcPos :@@: as) -> (SrcPos :@@: bs) -> Maybe (SrcPos :@@: cs) #

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 Universe :: Core n Source #

pattern UniverseCube :: Core n Source #

pattern UniverseTope :: Core n Source #

pattern CubeUnit :: Core n Source #

pattern CubeUnitStar :: Core n Source #

pattern Cube2 :: Core n Source #

pattern Cube2_0 :: Core n Source #

pattern Cube2_1 :: Core n Source #

pattern CubeI :: Core n Source #

pattern CubeI_0 :: Core n Source #

pattern CubeI_1 :: Core n Source #

pattern CubeProduct :: Core n -> Core n -> Core n Source #

pattern CubeFlip :: Core n -> Core n Source #

pattern CubeUnflip :: Core n -> Core n Source #

pattern CubeSup :: Core n -> Core n -> Core n Source #

pattern CubeInf :: Core n -> Core n -> Core n Source #

pattern TopeTop :: Core n Source #

pattern TopeBottom :: Core n Source #

pattern TopeEQ :: Core n -> Core n -> Core n Source #

pattern TopeLEQ :: Core n -> Core n -> Core n Source #

pattern TopeAnd :: Core n -> Core n -> Core n Source #

pattern TopeOr :: Core n -> Core n -> Core n Source #

pattern TopeInv :: Core n -> Core n Source #

pattern TopeUninv :: Core n -> Core n Source #

pattern RecBottom :: Core n Source #

pattern RecOr :: Core n -> [(Core n, Core n)] -> Core n Source #

pattern TypeFun :: TModality -> Core n -> Maybe (Core n) -> ScopedCore n -> Core n Source #

pattern TypeShape :: TModality -> Core n -> Maybe (Core n) -> Core n Source #

pattern TypeSigma :: TModality -> Core n -> ScopedCore n -> Core n Source #

pattern TypeId :: Core n -> Maybe (Core n) -> Core n -> Core n Source #

pattern App :: Core n -> Core n -> Core n Source #

pattern Let :: Maybe (Core n) -> Core n -> ScopedCore n -> Core n Source #

pattern Lambda :: Maybe (Param (Core n)) -> ScopedCore n -> Core n Source #

pattern Pair :: Core n -> Core n -> Core n Source #

pattern First :: Core n -> Core n Source #

pattern Second :: Core n -> Core n Source #

pattern Refl :: Maybe (Core n, Maybe (Core n)) -> Core n Source #

pattern IdJ :: Core n -> Core n -> Core n -> Core n -> Core n -> Core n -> Core n Source #

pattern Match :: TModality -> Core n -> Maybe (Core n) -> [(VarIdent, Core n)] -> Core n Source #

pattern MatchArm :: ScopedCore n -> Core n Source #

pattern Unit :: Core n Source #

pattern TypeUnit :: Core n Source #

pattern TypeAsc :: Core n -> Core n -> Core n Source #

pattern Ann :: Core n -> Core n -> Core n Source #

pattern TypeRestricted :: Core n -> [(Core n, Core n)] -> Core n Source #

pattern TypeModal :: TModality -> Core n -> Core n Source #

pattern ModApp :: TModality -> Core n -> Core n Source #

pattern ModExtract :: TModality -> TModality -> Core n -> Core n Source #

pattern LetMod :: TModality -> TModality -> Maybe (Core n) -> Maybe (Core n) -> Core n -> ScopedCore n -> Core n Source #

pattern Hole :: Maybe VarIdent -> 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 RCubeUnit :: Raw n Source #

pattern RCubeUnitStar :: Raw n Source #

pattern RCube2 :: Raw n Source #

pattern RCube2_0 :: Raw n Source #

pattern RCube2_1 :: Raw n Source #

pattern RCubeI :: Raw n Source #

pattern RCubeI_0 :: Raw n Source #

pattern RCubeI_1 :: Raw n Source #

pattern RCubeProduct :: Raw n -> Raw n -> Raw n Source #

pattern RCubeFlip :: Raw n -> Raw n Source #

pattern RCubeUnflip :: Raw n -> Raw n Source #

pattern RCubeSup :: Raw n -> Raw n -> Raw n Source #

pattern RCubeInf :: Raw n -> Raw n -> Raw n Source #

pattern RTopeTop :: Raw n Source #

pattern RTopeBottom :: Raw n Source #

pattern RTopeEQ :: Raw n -> Raw n -> Raw n Source #

pattern RTopeLEQ :: Raw n -> Raw n -> Raw n Source #

pattern RTopeAnd :: Raw n -> Raw n -> Raw n Source #

pattern RTopeOr :: Raw n -> Raw n -> Raw n Source #

pattern RTopeInv :: Raw n -> Raw n Source #

pattern RTopeUninv :: Raw n -> Raw n Source #

pattern RRecBottom :: Raw n Source #

pattern RRecOr :: [(Raw n, Raw n)] -> Raw n Source #

pattern RTypeFun :: TModality -> Raw n -> Maybe (Raw n) -> ScopedRaw n -> Raw n Source #

pattern RTypeShape :: TModality -> Raw n -> Maybe (Raw n) -> Raw n Source #

pattern RTypeSigma :: TModality -> Raw n -> ScopedRaw n -> Raw n Source #

pattern RTypeId :: Raw n -> Maybe (Raw n) -> Raw n -> Raw n Source #

pattern RApp :: Raw n -> Raw n -> Raw n Source #

pattern RLet :: Maybe (Raw n) -> Raw n -> ScopedRaw n -> Raw n Source #

pattern RLambda :: Maybe (Param (Raw n)) -> ScopedRaw n -> Raw n Source #

pattern RPair :: Raw n -> Raw n -> Raw n Source #

pattern RFirst :: Raw n -> Raw n Source #

pattern RSecond :: Raw n -> Raw n Source #

pattern RRefl :: Maybe (Raw n, Maybe (Raw n)) -> Raw n Source #

pattern RIdJ :: Raw n -> Raw n -> Raw n -> Raw n -> Raw n -> Raw n -> Raw n Source #

pattern RMatch :: TModality -> Raw n -> Maybe (Raw n) -> [(VarIdent, Raw n)] -> Raw n Source #

pattern RMatchArm :: ScopedRaw n -> Raw n Source #

pattern RUnit :: Raw n Source #

pattern RTypeUnit :: Raw n Source #

pattern RTypeAsc :: Raw n -> Raw n -> Raw n Source #

pattern RAnn :: Raw n -> Raw n -> Raw n Source #

pattern RTypeRestricted :: Raw n -> [(Raw n, Raw n)] -> Raw n Source #

pattern RTypeModal :: TModality -> Raw n -> Raw n Source #

pattern RModApp :: TModality -> Raw n -> Raw n Source #

pattern RModExtract :: TModality -> TModality -> Raw n -> Raw n Source #

pattern RLetMod :: TModality -> TModality -> Maybe (Raw n) -> Maybe (Raw n) -> Raw n -> ScopedRaw n -> Raw n Source #

pattern RHole :: Maybe VarIdent -> 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.

containsHole :: forall (n :: S). Core n -> Bool Source #

Does the term contain a hole anywhere?

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.

Orphan instances

ZipMatchK TModality Source # 
Instance details

Methods

zipMatchWithK :: forall (as :: LoT Type) (bs :: LoT Type) (cs :: LoT Type). Mappings as bs cs -> (TModality :@@: as) -> (TModality :@@: bs) -> Maybe (TModality :@@: cs) #

ZipMatchK VarIdent Source # 
Instance details

Methods

zipMatchWithK :: forall (as :: LoT Type) (bs :: LoT Type) (cs :: LoT Type). Mappings as bs cs -> (VarIdent :@@: as) -> (VarIdent :@@: bs) -> Maybe (VarIdent :@@: cs) #

ZipMatchK (Maybe VarIdent) Source #

A hole's name is a whole field, matched as a constant.

Instance details

Methods

zipMatchWithK :: forall (as :: LoT Type) (bs :: LoT Type) (cs :: LoT Type). Mappings as bs cs -> (Maybe VarIdent :@@: as) -> (Maybe VarIdent :@@: bs) -> Maybe (Maybe VarIdent :@@: cs) #