This file contains the executable version of TypeEnv.WellFormed
and related definitions.
- typeError (msg : String) : EnvironmentValidationError
Instances For
Equations
- One or more equations did not get rendered due to their size.
@[reducible, inline]
Equations
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[irreducible]
Equations
Instances For
@[irreducible]
def
Cedar.Validation.validateAttrsWellFormed
(env : TypeEnv)
(rty : List (Spec.Attr × QualifiedType))
:
Equations
- Cedar.Validation.validateAttrsWellFormed env [] = Except.ok ()
- Cedar.Validation.validateAttrsWellFormed env ((fst, qty) :: rest) = do Cedar.Validation.QualifiedType.validateWellFormed env qty Cedar.Validation.validateAttrsWellFormed env rest
Instances For
@[irreducible]
Equations
- One or more equations did not get rendered due to their size.
- Cedar.Validation.CedarType.validateWellFormed env (Cedar.Validation.CedarType.bool bty) = Except.ok ()
- Cedar.Validation.CedarType.validateWellFormed env Cedar.Validation.CedarType.int = Except.ok ()
- Cedar.Validation.CedarType.validateWellFormed env Cedar.Validation.CedarType.string = Except.ok ()
- Cedar.Validation.CedarType.validateWellFormed env (Cedar.Validation.CedarType.entity ety) = Cedar.Validation.EntityType.validateWellFormed env ety
- Cedar.Validation.CedarType.validateWellFormed env ty_2.set = Cedar.Validation.CedarType.validateWellFormed env ty_2
- Cedar.Validation.CedarType.validateWellFormed env (Cedar.Validation.CedarType.ext xty) = Except.ok ()
Instances For
@[irreducible]
Equations
- One or more equations did not get rendered due to their size.
- (Cedar.Validation.CedarType.bool Cedar.Validation.BoolType.anyBool).validateLifted = Except.ok ()
- (Cedar.Validation.CedarType.bool bty).validateLifted = Except.error (Cedar.Validation.EnvironmentValidationError.typeError (toString "bool type is not lifted"))
- Cedar.Validation.CedarType.int.validateLifted = Except.ok ()
- Cedar.Validation.CedarType.string.validateLifted = Except.ok ()
- (Cedar.Validation.CedarType.entity ety).validateLifted = Except.ok ()
- ty_2.set.validateLifted = ty_2.validateLifted
- (Cedar.Validation.CedarType.ext xty).validateLifted = Except.ok ()
Instances For
def
Cedar.Validation.StandardSchemaEntry.validateWellFormed
(env : TypeEnv)
(entry : StandardSchemaEntry)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Cedar.Validation.EntitySchemaEntry.validateWellFormed
(env : TypeEnv)
(entry : EntitySchemaEntry)
:
Equations
- One or more equations did not get rendered due to their size.
- Cedar.Validation.EntitySchemaEntry.validateWellFormed env (Cedar.Validation.EntitySchemaEntry.standard entry_2) = Cedar.Validation.StandardSchemaEntry.validateWellFormed env entry_2
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Cedar.Validation.ActionSchemaEntry.validateWellFormed
(env : TypeEnv)
(entry : ActionSchemaEntry)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.