Constants for a pure type system
The axioms are:
⊦ Type : Kind
⊦ Kind : Sort... and the valid rule pairs are:
⊦ Type ↝ Type : Type -- Functions from terms to terms (ordinary functions)
⊦ Kind ↝ Type : Type -- Functions from types to terms (type-polymorphic functions)
⊦ Sort ↝ Type : Type -- Functions from kinds to terms
⊦ Kind ↝ Kind : Kind -- Functions from types to types (type-level functions)
⊦ Sort ↝ Kind : Sort -- Functions from kinds to types (kind-polymorphic functions)
⊦ Sort ↝ Sort : Sort -- Functions from kinds to kinds (kind-level functions)Note that Dhall does not support functions from terms to types and therefore Dhall is not a dependently typed language
Instances11Bounded, Enum, Eq, Data, Ord, Show, …
Bounded ConstDefined in dhall-1.42.3 · Dhall.Syntax.ConstEnum ConstDefined in dhall-1.42.3 · Dhall.Syntax.ConstEq ConstDefined in dhall-1.42.3 · Dhall.Syntax.Instances.Eq · orphanData ConstDefined in dhall-1.42.3 · Dhall.Syntax.Instances.Data · orphanOrd ConstDefined in dhall-1.42.3 · Dhall.Syntax.Instances.Ord · orphanShow ConstDefined in dhall-1.42.3 · Dhall.Syntax.Instances.Show · orphanGeneric ConstDefined in dhall-1.42.3 · Dhall.Syntax.ConstNFData ConstDefined in dhall-1.42.3 · Dhall.Syntax.Instances.NFData · orphanPretty ConstDefined in dhall-1.42.3 · Dhall.Syntax.Instances.Pretty · orphanLift ConstDefined in dhall-1.42.3 · Dhall.Syntax.Instances.Lift · orphantype Rep Const = D1 ('MetaDataDefined in dhall-1.42.3 · Dhall.Syntax.Const"Const"
"Dhall.Syntax.Const"
"dhall-1.42.3-5OoAJpk2vIpARwiStLO8GU"
'False) (C1 ('MetaCons"Type"
'PrefixI 'False) U1 :+: (C1 ('MetaCons"Kind"
'PrefixI 'False) U1 :+: C1 ('MetaCons"Sort"
'PrefixI 'False) U1))