hydra-kernel-0.18.1: hydra-kernel-json/hydra/core/dsl/error/checking.json
{
"name": "hydra.core.dsl.error.checking",
"metadata": {"description": "DSL functions for hydra.core.error.checking", "comments": [], "seeAlso": [], "provisions": []},
"dependencies": [
{"module": "hydra.core.error.checking"},
{"module": "hydra.core.typed"},
{"module": "hydra.core.encode.error.checking"},
{"module": "hydra.core.decode.error.checking"},
{"module": "hydra.core.model"},
{"module": "hydra.core.paths"},
{"module": "hydra.core.typing"},
{"module": "hydra.core.variants"},
{"module": "hydra.core.dsl.model"},
{"module": "hydra.core.dsl.paths"},
{"module": "hydra.core.dsl.typing"},
{"module": "hydra.core.dsl.variants"}],
"definitions": [
{
"term": {
"name": "hydra.core.dsl.error.checking.checkingErrorCheckingError",
"signature": {
"typeParameters": [],
"parameters": [],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedName"},
"argument": {"variable": "hydra.core.error.checking.CheckingError"}}}}},
"body": {
"annotated": {
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedName",
"body": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.checking.CheckingError"}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL name token for hydra.core.error.checking.CheckingError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.error.checking.checkingErrorIncorrectUnification",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.error.checking.IncorrectUnificationError"},
"annotation": {
"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "A post-unification consistency check failure"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.CheckingError"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.error.checking.IncorrectUnificationError"},
"annotation": {
"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "A post-unification consistency check failure"}}}]}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "inject",
"term": {
"record": {
"typeName": "hydra.core.model.Injection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.checking.CheckingError"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "incorrectUnification"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}]}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL injection for the incorrectUnification variant of hydra.core.error.checking.CheckingError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.error.checking.checkingErrorNotAForallType",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.error.checking.NotAForallTypeError"},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "A type that is not a forall type when one was expected"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.CheckingError"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.error.checking.NotAForallTypeError"},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "A type that is not a forall type when one was expected"}}}]}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "inject",
"term": {
"record": {
"typeName": "hydra.core.model.Injection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.checking.CheckingError"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "notAForallType"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}]}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL injection for the notAForallType variant of hydra.core.error.checking.CheckingError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.error.checking.checkingErrorNotAFunctionType",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.error.checking.NotAFunctionTypeError"},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "A type that is not a function type when one was expected"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.CheckingError"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.error.checking.NotAFunctionTypeError"},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "A type that is not a function type when one was expected"}}}]}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "inject",
"term": {
"record": {
"typeName": "hydra.core.model.Injection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.checking.CheckingError"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "notAFunctionType"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}]}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL injection for the notAFunctionType variant of hydra.core.error.checking.CheckingError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.error.checking.checkingErrorOther",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.error.checking.OtherCheckingError"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "A generic checking error"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.CheckingError"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.error.checking.OtherCheckingError"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "A generic checking error"}}}]}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "inject",
"term": {
"record": {
"typeName": "hydra.core.model.Injection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.checking.CheckingError"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "other"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}]}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL injection for the other variant of hydra.core.error.checking.CheckingError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.error.checking.checkingErrorTypeArityMismatch",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.error.checking.TypeArityMismatchError"},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "A type constructor applied to the wrong number of arguments"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.CheckingError"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.error.checking.TypeArityMismatchError"},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "A type constructor applied to the wrong number of arguments"}}}]}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "inject",
"term": {
"record": {
"typeName": "hydra.core.model.Injection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.checking.CheckingError"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeArityMismatch"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}]}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL injection for the typeArityMismatch variant of hydra.core.error.checking.CheckingError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.error.checking.checkingErrorTypeMismatch",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.error.checking.TypeMismatchError"},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "A type mismatch between expected and actual types"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.CheckingError"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.error.checking.TypeMismatchError"},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "A type mismatch between expected and actual types"}}}]}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "inject",
"term": {
"record": {
"typeName": "hydra.core.model.Injection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.checking.CheckingError"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeMismatch"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}]}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL injection for the typeMismatch variant of hydra.core.error.checking.CheckingError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.error.checking.checkingErrorUnboundTypeVariables",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.error.checking.UnboundTypeVariablesError"},
"annotation": {
"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "Type variables that are not bound in scope"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.CheckingError"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.error.checking.UnboundTypeVariablesError"},
"annotation": {
"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "Type variables that are not bound in scope"}}}]}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "inject",
"term": {
"record": {
"typeName": "hydra.core.model.Injection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.checking.CheckingError"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "unboundTypeVariables"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}]}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL injection for the unboundTypeVariables variant of hydra.core.error.checking.CheckingError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.error.checking.checkingErrorUndefinedTermVariable",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.error.checking.UndefinedTermVariableCheckingError"},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "A reference to a term variable that is not bound in scope, encountered during checking"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.CheckingError"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.error.checking.UndefinedTermVariableCheckingError"},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "A reference to a term variable that is not bound in scope, encountered during checking"}}}]}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "inject",
"term": {
"record": {
"typeName": "hydra.core.model.Injection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.checking.CheckingError"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "undefinedTermVariable"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}]}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {
"literal": {"string": "DSL injection for the undefinedTermVariable variant of hydra.core.error.checking.CheckingError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.error.checking.checkingErrorUnequalTypes",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.error.checking.UnequalTypesError"},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "Multiple types that should be equal but are not"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.CheckingError"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.error.checking.UnequalTypesError"},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "Multiple types that should be equal but are not"}}}]}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "inject",
"term": {
"record": {
"typeName": "hydra.core.model.Injection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.checking.CheckingError"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "unequalTypes"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}]}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL injection for the unequalTypes variant of hydra.core.error.checking.CheckingError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.error.checking.checkingErrorUnsupportedTermVariant",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.error.checking.UnsupportedTermVariantError"},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "A term variant that the type checker does not support"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.CheckingError"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.error.checking.UnsupportedTermVariantError"},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "A term variant that the type checker does not support"}}}]}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "inject",
"term": {
"record": {
"typeName": "hydra.core.model.Injection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.checking.CheckingError"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "unsupportedTermVariant"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}]}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {
"literal": {"string": "DSL injection for the unsupportedTermVariant variant of hydra.core.error.checking.CheckingError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.error.checking.checkingErrorUntypedLambda",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.error.checking.UntypedLambdaError"},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "A lambda expression without a type annotation on its parameter"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.CheckingError"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.error.checking.UntypedLambdaError"},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "A lambda expression without a type annotation on its parameter"}}}]}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "inject",
"term": {
"record": {
"typeName": "hydra.core.model.Injection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.checking.CheckingError"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "untypedLambda"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}]}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL injection for the untypedLambda variant of hydra.core.error.checking.CheckingError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.error.checking.checkingErrorUntypedLetBinding",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.error.checking.UntypedLetBindingError"},
"annotation": {
"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "A let binding without a type annotation"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.CheckingError"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.error.checking.UntypedLetBindingError"},
"annotation": {
"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "A let binding without a type annotation"}}}]}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "inject",
"term": {
"record": {
"typeName": "hydra.core.model.Injection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.checking.CheckingError"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "untypedLetBinding"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}]}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL injection for the untypedLetBinding variant of hydra.core.error.checking.CheckingError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.error.checking.checkingErrorUntypedTermVariable",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.error.checking.UntypedTermVariableCheckingError"},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "A reference to a term variable whose type is not known, encountered during checking"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.CheckingError"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.error.checking.UntypedTermVariableCheckingError"},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "A reference to a term variable whose type is not known, encountered during checking"}}}]}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "inject",
"term": {
"record": {
"typeName": "hydra.core.model.Injection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.checking.CheckingError"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "untypedTermVariable"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}]}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL injection for the untypedTermVariable variant of hydra.core.error.checking.CheckingError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.error.checking.incorrectUnificationErrorIncorrectUnificationError",
"signature": {
"typeParameters": [],
"parameters": [],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedName"},
"argument": {"variable": "hydra.core.error.checking.IncorrectUnificationError"}}}}},
"body": {
"annotated": {
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedName",
"body": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.checking.IncorrectUnificationError"}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL name token for hydra.core.error.checking.IncorrectUnificationError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.error.checking.incorrectUnificationError",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.typing.TypeSubst"},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "The substitution that failed the consistency check"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.IncorrectUnificationError"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "substitution",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.typing.TypeSubst"},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "The substitution that failed the consistency check"}}}]}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.checking.IncorrectUnificationError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "substitution"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "substitution"}}}}]}}]}}]}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL constructor for hydra.core.error.checking.IncorrectUnificationError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.error.checking.incorrectUnificationErrorSubstitution",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.IncorrectUnificationError"}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.typing.TypeSubst"},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "The substitution that failed the consistency check"}}}]}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.IncorrectUnificationError"}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "project",
"term": {
"record": {
"typeName": "hydra.core.model.Projection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.checking.IncorrectUnificationError"}}}}},
{
"name": "fieldName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "substitution"}}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {
"literal": {"string": "DSL accessor for the substitution field of hydra.core.error.checking.IncorrectUnificationError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.error.checking.incorrectUnificationErrorWithSubstitution",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.IncorrectUnificationError"}}},
"isLazy": false},
{
"name": "arg1",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.typing.TypeSubst"},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "The substitution that failed the consistency check"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.IncorrectUnificationError"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "original",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.IncorrectUnificationError"}}},
"body": {
"lambda": {
"parameter": "newVal",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.typing.TypeSubst"},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "The substitution that failed the consistency check"}}}]}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.checking.IncorrectUnificationError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "substitution"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}}]}}]}}}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL updater for the substitution field of hydra.core.error.checking.IncorrectUnificationError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.error.checking.notAForallTypeErrorNotAForallTypeError",
"signature": {
"typeParameters": [],
"parameters": [],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedName"},
"argument": {"variable": "hydra.core.error.checking.NotAForallTypeError"}}}}},
"body": {
"annotated": {
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedName",
"body": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.checking.NotAForallTypeError"}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL name token for hydra.core.error.checking.NotAForallTypeError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.error.checking.notAForallTypeError",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.model.Type"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The actual type encountered"}}}]}}}}},
"isLazy": false},
{
"name": "arg1",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"list": {"variable": "hydra.core.model.Type"}},
"annotation": {
"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The type arguments that were being applied"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.NotAForallTypeError"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "type",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.model.Type"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The actual type encountered"}}}]}}}}},
"body": {
"lambda": {
"parameter": "typeArguments",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"list": {"variable": "hydra.core.model.Type"}},
"annotation": {
"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The type arguments that were being applied"}}}]}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.checking.NotAForallTypeError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "type"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "type"}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeArguments"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "typeArguments"}}}}]}}]}}]}}}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL constructor for hydra.core.error.checking.NotAForallTypeError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.error.checking.notAForallTypeErrorType",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.NotAForallTypeError"}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.model.Type"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The actual type encountered"}}}]}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.NotAForallTypeError"}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "project",
"term": {
"record": {
"typeName": "hydra.core.model.Projection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.checking.NotAForallTypeError"}}}}},
{"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "type"}}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL accessor for the type field of hydra.core.error.checking.NotAForallTypeError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.error.checking.notAForallTypeErrorTypeArguments",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.NotAForallTypeError"}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"list": {"variable": "hydra.core.model.Type"}},
"annotation": {
"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The type arguments that were being applied"}}}]}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.NotAForallTypeError"}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "project",
"term": {
"record": {
"typeName": "hydra.core.model.Projection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.checking.NotAForallTypeError"}}}}},
{
"name": "fieldName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeArguments"}}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL accessor for the typeArguments field of hydra.core.error.checking.NotAForallTypeError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.error.checking.notAForallTypeErrorWithType",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.NotAForallTypeError"}}},
"isLazy": false},
{
"name": "arg1",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.model.Type"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The actual type encountered"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.NotAForallTypeError"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "original",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.NotAForallTypeError"}}},
"body": {
"lambda": {
"parameter": "newVal",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.model.Type"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The actual type encountered"}}}]}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.checking.NotAForallTypeError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "type"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeArguments"}}}}},
{
"name": "term",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "project",
"term": {
"record": {
"typeName": "hydra.core.model.Projection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.checking.NotAForallTypeError"}}}}},
{
"name": "fieldName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeArguments"}}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}}]}}]}}}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL updater for the type field of hydra.core.error.checking.NotAForallTypeError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.error.checking.notAForallTypeErrorWithTypeArguments",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.NotAForallTypeError"}}},
"isLazy": false},
{
"name": "arg1",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"list": {"variable": "hydra.core.model.Type"}},
"annotation": {
"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The type arguments that were being applied"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.NotAForallTypeError"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "original",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.NotAForallTypeError"}}},
"body": {
"lambda": {
"parameter": "newVal",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"list": {"variable": "hydra.core.model.Type"}},
"annotation": {
"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The type arguments that were being applied"}}}]}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.checking.NotAForallTypeError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "type"}}}}},
{
"name": "term",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "project",
"term": {
"record": {
"typeName": "hydra.core.model.Projection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.checking.NotAForallTypeError"}}}}},
{"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "type"}}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeArguments"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}}]}}]}}}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL updater for the typeArguments field of hydra.core.error.checking.NotAForallTypeError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.error.checking.notAFunctionTypeErrorNotAFunctionTypeError",
"signature": {
"typeParameters": [],
"parameters": [],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedName"},
"argument": {"variable": "hydra.core.error.checking.NotAFunctionTypeError"}}}}},
"body": {
"annotated": {
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedName",
"body": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.checking.NotAFunctionTypeError"}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL name token for hydra.core.error.checking.NotAFunctionTypeError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.error.checking.notAFunctionTypeError",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.model.Type"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The actual type encountered"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.NotAFunctionTypeError"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "type",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.model.Type"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The actual type encountered"}}}]}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.checking.NotAFunctionTypeError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "type"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "type"}}}}]}}]}}]}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL constructor for hydra.core.error.checking.NotAFunctionTypeError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.error.checking.notAFunctionTypeErrorType",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.NotAFunctionTypeError"}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.model.Type"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The actual type encountered"}}}]}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.NotAFunctionTypeError"}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "project",
"term": {
"record": {
"typeName": "hydra.core.model.Projection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.checking.NotAFunctionTypeError"}}}}},
{"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "type"}}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL accessor for the type field of hydra.core.error.checking.NotAFunctionTypeError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.error.checking.notAFunctionTypeErrorWithType",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.NotAFunctionTypeError"}}},
"isLazy": false},
{
"name": "arg1",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.model.Type"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The actual type encountered"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.NotAFunctionTypeError"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "original",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.NotAFunctionTypeError"}}},
"body": {
"lambda": {
"parameter": "newVal",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.model.Type"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The actual type encountered"}}}]}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.checking.NotAFunctionTypeError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "type"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}}]}}]}}}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL updater for the type field of hydra.core.error.checking.NotAFunctionTypeError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.error.checking.otherCheckingErrorOtherCheckingError",
"signature": {
"typeParameters": [],
"parameters": [],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedName"},
"argument": {"variable": "hydra.core.error.checking.OtherCheckingError"}}}}},
"body": {
"annotated": {
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedName",
"body": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.checking.OtherCheckingError"}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL name token for hydra.core.error.checking.OtherCheckingError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.error.checking.otherCheckingError",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.paths.SubtermPath"},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "The subterm path at which the error was observed"}}}]}}}}},
"isLazy": false},
{
"name": "arg1",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"literal": "string"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "A human-readable error message"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.OtherCheckingError"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "path",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.paths.SubtermPath"},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "The subterm path at which the error was observed"}}}]}}}}},
"body": {
"lambda": {
"parameter": "message",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"literal": "string"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "A human-readable error message"}}}]}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.checking.OtherCheckingError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "path"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "path"}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "message"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "message"}}}}]}}]}}]}}}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL constructor for hydra.core.error.checking.OtherCheckingError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.error.checking.otherCheckingErrorPath",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.OtherCheckingError"}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.paths.SubtermPath"},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "The subterm path at which the error was observed"}}}]}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.OtherCheckingError"}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "project",
"term": {
"record": {
"typeName": "hydra.core.model.Projection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.checking.OtherCheckingError"}}}}},
{"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "path"}}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL accessor for the path field of hydra.core.error.checking.OtherCheckingError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.error.checking.otherCheckingErrorMessage",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.OtherCheckingError"}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"literal": "string"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "A human-readable error message"}}}]}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.OtherCheckingError"}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "project",
"term": {
"record": {
"typeName": "hydra.core.model.Projection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.checking.OtherCheckingError"}}}}},
{
"name": "fieldName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "message"}}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL accessor for the message field of hydra.core.error.checking.OtherCheckingError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.error.checking.otherCheckingErrorWithPath",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.OtherCheckingError"}}},
"isLazy": false},
{
"name": "arg1",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.paths.SubtermPath"},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "The subterm path at which the error was observed"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.OtherCheckingError"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "original",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.OtherCheckingError"}}},
"body": {
"lambda": {
"parameter": "newVal",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.paths.SubtermPath"},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "The subterm path at which the error was observed"}}}]}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.checking.OtherCheckingError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "path"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "message"}}}}},
{
"name": "term",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "project",
"term": {
"record": {
"typeName": "hydra.core.model.Projection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.checking.OtherCheckingError"}}}}},
{
"name": "fieldName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "message"}}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}}]}}]}}}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL updater for the path field of hydra.core.error.checking.OtherCheckingError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.error.checking.otherCheckingErrorWithMessage",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.OtherCheckingError"}}},
"isLazy": false},
{
"name": "arg1",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"literal": "string"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "A human-readable error message"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.OtherCheckingError"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "original",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.OtherCheckingError"}}},
"body": {
"lambda": {
"parameter": "newVal",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"literal": "string"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "A human-readable error message"}}}]}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.checking.OtherCheckingError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "path"}}}}},
{
"name": "term",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "project",
"term": {
"record": {
"typeName": "hydra.core.model.Projection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.checking.OtherCheckingError"}}}}},
{"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "path"}}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "message"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}}]}}]}}}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL updater for the message field of hydra.core.error.checking.OtherCheckingError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.error.checking.typeArityMismatchErrorTypeArityMismatchError",
"signature": {
"typeParameters": [],
"parameters": [],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedName"},
"argument": {"variable": "hydra.core.error.checking.TypeArityMismatchError"}}}}},
"body": {
"annotated": {
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedName",
"body": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.checking.TypeArityMismatchError"}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL name token for hydra.core.error.checking.TypeArityMismatchError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.error.checking.typeArityMismatchError",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.model.Type"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The type being checked"}}}]}}}}},
"isLazy": false},
{
"name": "arg1",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"literal": {"integer": "int32"}},
"annotation": {
"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The expected number of type arguments"}}}]}}}}},
"isLazy": false},
{
"name": "arg2",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"literal": {"integer": "int32"}},
"annotation": {
"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The actual number of type arguments provided"}}}]}}}}},
"isLazy": false},
{
"name": "arg3",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"list": {"variable": "hydra.core.model.Type"}},
"annotation": {
"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The type arguments that were provided"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.TypeArityMismatchError"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "type",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.model.Type"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The type being checked"}}}]}}}}},
"body": {
"lambda": {
"parameter": "expectedArity",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"literal": {"integer": "int32"}},
"annotation": {
"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The expected number of type arguments"}}}]}}}}},
"body": {
"lambda": {
"parameter": "actualArity",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"literal": {"integer": "int32"}},
"annotation": {
"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The actual number of type arguments provided"}}}]}}}}},
"body": {
"lambda": {
"parameter": "typeArguments",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"list": {"variable": "hydra.core.model.Type"}},
"annotation": {
"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The type arguments that were provided"}}}]}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.checking.TypeArityMismatchError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "type"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "type"}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "expectedArity"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "expectedArity"}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "actualArity"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "actualArity"}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeArguments"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "typeArguments"}}}}]}}]}}]}}}}}}}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL constructor for hydra.core.error.checking.TypeArityMismatchError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.error.checking.typeArityMismatchErrorType",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.TypeArityMismatchError"}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.model.Type"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The type being checked"}}}]}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.TypeArityMismatchError"}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "project",
"term": {
"record": {
"typeName": "hydra.core.model.Projection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.checking.TypeArityMismatchError"}}}}},
{"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "type"}}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL accessor for the type field of hydra.core.error.checking.TypeArityMismatchError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.error.checking.typeArityMismatchErrorExpectedArity",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.TypeArityMismatchError"}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"literal": {"integer": "int32"}},
"annotation": {
"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The expected number of type arguments"}}}]}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.TypeArityMismatchError"}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "project",
"term": {
"record": {
"typeName": "hydra.core.model.Projection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.checking.TypeArityMismatchError"}}}}},
{
"name": "fieldName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "expectedArity"}}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL accessor for the expectedArity field of hydra.core.error.checking.TypeArityMismatchError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.error.checking.typeArityMismatchErrorActualArity",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.TypeArityMismatchError"}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"literal": {"integer": "int32"}},
"annotation": {
"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The actual number of type arguments provided"}}}]}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.TypeArityMismatchError"}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "project",
"term": {
"record": {
"typeName": "hydra.core.model.Projection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.checking.TypeArityMismatchError"}}}}},
{
"name": "fieldName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "actualArity"}}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL accessor for the actualArity field of hydra.core.error.checking.TypeArityMismatchError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.error.checking.typeArityMismatchErrorTypeArguments",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.TypeArityMismatchError"}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"list": {"variable": "hydra.core.model.Type"}},
"annotation": {
"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The type arguments that were provided"}}}]}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.TypeArityMismatchError"}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "project",
"term": {
"record": {
"typeName": "hydra.core.model.Projection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.checking.TypeArityMismatchError"}}}}},
{
"name": "fieldName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeArguments"}}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL accessor for the typeArguments field of hydra.core.error.checking.TypeArityMismatchError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.error.checking.typeArityMismatchErrorWithType",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.TypeArityMismatchError"}}},
"isLazy": false},
{
"name": "arg1",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.model.Type"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The type being checked"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.TypeArityMismatchError"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "original",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.TypeArityMismatchError"}}},
"body": {
"lambda": {
"parameter": "newVal",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.model.Type"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The type being checked"}}}]}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.checking.TypeArityMismatchError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "type"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "expectedArity"}}}}},
{
"name": "term",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "project",
"term": {
"record": {
"typeName": "hydra.core.model.Projection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.checking.TypeArityMismatchError"}}}}},
{
"name": "fieldName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "expectedArity"}}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "actualArity"}}}}},
{
"name": "term",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "project",
"term": {
"record": {
"typeName": "hydra.core.model.Projection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.checking.TypeArityMismatchError"}}}}},
{
"name": "fieldName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "actualArity"}}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeArguments"}}}}},
{
"name": "term",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "project",
"term": {
"record": {
"typeName": "hydra.core.model.Projection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.checking.TypeArityMismatchError"}}}}},
{
"name": "fieldName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeArguments"}}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}}]}}]}}}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL updater for the type field of hydra.core.error.checking.TypeArityMismatchError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.error.checking.typeArityMismatchErrorWithExpectedArity",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.TypeArityMismatchError"}}},
"isLazy": false},
{
"name": "arg1",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"literal": {"integer": "int32"}},
"annotation": {
"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The expected number of type arguments"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.TypeArityMismatchError"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "original",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.TypeArityMismatchError"}}},
"body": {
"lambda": {
"parameter": "newVal",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"literal": {"integer": "int32"}},
"annotation": {
"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The expected number of type arguments"}}}]}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.checking.TypeArityMismatchError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "type"}}}}},
{
"name": "term",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "project",
"term": {
"record": {
"typeName": "hydra.core.model.Projection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.checking.TypeArityMismatchError"}}}}},
{"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "type"}}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "expectedArity"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "actualArity"}}}}},
{
"name": "term",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "project",
"term": {
"record": {
"typeName": "hydra.core.model.Projection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.checking.TypeArityMismatchError"}}}}},
{
"name": "fieldName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "actualArity"}}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeArguments"}}}}},
{
"name": "term",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "project",
"term": {
"record": {
"typeName": "hydra.core.model.Projection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.checking.TypeArityMismatchError"}}}}},
{
"name": "fieldName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeArguments"}}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}}]}}]}}}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL updater for the expectedArity field of hydra.core.error.checking.TypeArityMismatchError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.error.checking.typeArityMismatchErrorWithActualArity",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.TypeArityMismatchError"}}},
"isLazy": false},
{
"name": "arg1",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"literal": {"integer": "int32"}},
"annotation": {
"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The actual number of type arguments provided"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.TypeArityMismatchError"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "original",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.TypeArityMismatchError"}}},
"body": {
"lambda": {
"parameter": "newVal",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"literal": {"integer": "int32"}},
"annotation": {
"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The actual number of type arguments provided"}}}]}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.checking.TypeArityMismatchError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "type"}}}}},
{
"name": "term",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "project",
"term": {
"record": {
"typeName": "hydra.core.model.Projection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.checking.TypeArityMismatchError"}}}}},
{"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "type"}}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "expectedArity"}}}}},
{
"name": "term",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "project",
"term": {
"record": {
"typeName": "hydra.core.model.Projection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.checking.TypeArityMismatchError"}}}}},
{
"name": "fieldName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "expectedArity"}}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "actualArity"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeArguments"}}}}},
{
"name": "term",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "project",
"term": {
"record": {
"typeName": "hydra.core.model.Projection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.checking.TypeArityMismatchError"}}}}},
{
"name": "fieldName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeArguments"}}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}}]}}]}}}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL updater for the actualArity field of hydra.core.error.checking.TypeArityMismatchError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.error.checking.typeArityMismatchErrorWithTypeArguments",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.TypeArityMismatchError"}}},
"isLazy": false},
{
"name": "arg1",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"list": {"variable": "hydra.core.model.Type"}},
"annotation": {
"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The type arguments that were provided"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.TypeArityMismatchError"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "original",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.TypeArityMismatchError"}}},
"body": {
"lambda": {
"parameter": "newVal",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"list": {"variable": "hydra.core.model.Type"}},
"annotation": {
"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The type arguments that were provided"}}}]}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.checking.TypeArityMismatchError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "type"}}}}},
{
"name": "term",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "project",
"term": {
"record": {
"typeName": "hydra.core.model.Projection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.checking.TypeArityMismatchError"}}}}},
{"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "type"}}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "expectedArity"}}}}},
{
"name": "term",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "project",
"term": {
"record": {
"typeName": "hydra.core.model.Projection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.checking.TypeArityMismatchError"}}}}},
{
"name": "fieldName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "expectedArity"}}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "actualArity"}}}}},
{
"name": "term",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "project",
"term": {
"record": {
"typeName": "hydra.core.model.Projection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.checking.TypeArityMismatchError"}}}}},
{
"name": "fieldName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "actualArity"}}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeArguments"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}}]}}]}}}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL updater for the typeArguments field of hydra.core.error.checking.TypeArityMismatchError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.error.checking.typeMismatchErrorTypeMismatchError",
"signature": {
"typeParameters": [],
"parameters": [],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedName"},
"argument": {"variable": "hydra.core.error.checking.TypeMismatchError"}}}}},
"body": {
"annotated": {
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedName",
"body": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.checking.TypeMismatchError"}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL name token for hydra.core.error.checking.TypeMismatchError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.error.checking.typeMismatchError",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.model.Type"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The expected type"}}}]}}}}},
"isLazy": false},
{
"name": "arg1",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.model.Type"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The actual type encountered"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.TypeMismatchError"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "expectedType",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.model.Type"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The expected type"}}}]}}}}},
"body": {
"lambda": {
"parameter": "actualType",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.model.Type"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The actual type encountered"}}}]}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.checking.TypeMismatchError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "expectedType"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "expectedType"}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "actualType"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "actualType"}}}}]}}]}}]}}}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL constructor for hydra.core.error.checking.TypeMismatchError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.error.checking.typeMismatchErrorExpectedType",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.TypeMismatchError"}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.model.Type"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The expected type"}}}]}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.TypeMismatchError"}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "project",
"term": {
"record": {
"typeName": "hydra.core.model.Projection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.checking.TypeMismatchError"}}}}},
{
"name": "fieldName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "expectedType"}}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL accessor for the expectedType field of hydra.core.error.checking.TypeMismatchError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.error.checking.typeMismatchErrorActualType",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.TypeMismatchError"}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.model.Type"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The actual type encountered"}}}]}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.TypeMismatchError"}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "project",
"term": {
"record": {
"typeName": "hydra.core.model.Projection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.checking.TypeMismatchError"}}}}},
{
"name": "fieldName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "actualType"}}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL accessor for the actualType field of hydra.core.error.checking.TypeMismatchError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.error.checking.typeMismatchErrorWithExpectedType",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.TypeMismatchError"}}},
"isLazy": false},
{
"name": "arg1",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.model.Type"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The expected type"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.TypeMismatchError"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "original",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.TypeMismatchError"}}},
"body": {
"lambda": {
"parameter": "newVal",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.model.Type"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The expected type"}}}]}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.checking.TypeMismatchError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "expectedType"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "actualType"}}}}},
{
"name": "term",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "project",
"term": {
"record": {
"typeName": "hydra.core.model.Projection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.checking.TypeMismatchError"}}}}},
{
"name": "fieldName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "actualType"}}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}}]}}]}}}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL updater for the expectedType field of hydra.core.error.checking.TypeMismatchError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.error.checking.typeMismatchErrorWithActualType",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.TypeMismatchError"}}},
"isLazy": false},
{
"name": "arg1",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.model.Type"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The actual type encountered"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.TypeMismatchError"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "original",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.TypeMismatchError"}}},
"body": {
"lambda": {
"parameter": "newVal",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.model.Type"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The actual type encountered"}}}]}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.checking.TypeMismatchError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "expectedType"}}}}},
{
"name": "term",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "project",
"term": {
"record": {
"typeName": "hydra.core.model.Projection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.checking.TypeMismatchError"}}}}},
{
"name": "fieldName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "expectedType"}}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "actualType"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}}]}}]}}}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL updater for the actualType field of hydra.core.error.checking.TypeMismatchError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.error.checking.unboundTypeVariablesErrorUnboundTypeVariablesError",
"signature": {
"typeParameters": [],
"parameters": [],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedName"},
"argument": {"variable": "hydra.core.error.checking.UnboundTypeVariablesError"}}}}},
"body": {
"annotated": {
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedName",
"body": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.checking.UnboundTypeVariablesError"}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL name token for hydra.core.error.checking.UnboundTypeVariablesError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.error.checking.unboundTypeVariablesError",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"set": {"variable": "hydra.core.model.Name"}},
"annotation": {
"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The set of unbound type variable names"}}}]}}}}},
"isLazy": false},
{
"name": "arg1",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.model.Type"},
"annotation": {
"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The type containing the unbound variables"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.UnboundTypeVariablesError"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "variables",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"set": {"variable": "hydra.core.model.Name"}},
"annotation": {
"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The set of unbound type variable names"}}}]}}}}},
"body": {
"lambda": {
"parameter": "type",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.model.Type"},
"annotation": {
"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The type containing the unbound variables"}}}]}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.checking.UnboundTypeVariablesError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "variables"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "variables"}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "type"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "type"}}}}]}}]}}]}}}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL constructor for hydra.core.error.checking.UnboundTypeVariablesError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.error.checking.unboundTypeVariablesErrorVariables",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.UnboundTypeVariablesError"}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"set": {"variable": "hydra.core.model.Name"}},
"annotation": {
"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The set of unbound type variable names"}}}]}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.UnboundTypeVariablesError"}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "project",
"term": {
"record": {
"typeName": "hydra.core.model.Projection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.checking.UnboundTypeVariablesError"}}}}},
{
"name": "fieldName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "variables"}}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL accessor for the variables field of hydra.core.error.checking.UnboundTypeVariablesError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.error.checking.unboundTypeVariablesErrorType",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.UnboundTypeVariablesError"}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.model.Type"},
"annotation": {
"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The type containing the unbound variables"}}}]}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.UnboundTypeVariablesError"}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "project",
"term": {
"record": {
"typeName": "hydra.core.model.Projection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.checking.UnboundTypeVariablesError"}}}}},
{"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "type"}}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL accessor for the type field of hydra.core.error.checking.UnboundTypeVariablesError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.error.checking.unboundTypeVariablesErrorWithVariables",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.UnboundTypeVariablesError"}}},
"isLazy": false},
{
"name": "arg1",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"set": {"variable": "hydra.core.model.Name"}},
"annotation": {
"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The set of unbound type variable names"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.UnboundTypeVariablesError"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "original",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.UnboundTypeVariablesError"}}},
"body": {
"lambda": {
"parameter": "newVal",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"set": {"variable": "hydra.core.model.Name"}},
"annotation": {
"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The set of unbound type variable names"}}}]}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.checking.UnboundTypeVariablesError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "variables"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "type"}}}}},
{
"name": "term",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "project",
"term": {
"record": {
"typeName": "hydra.core.model.Projection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.checking.UnboundTypeVariablesError"}}}}},
{"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "type"}}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}}]}}]}}}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL updater for the variables field of hydra.core.error.checking.UnboundTypeVariablesError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.error.checking.unboundTypeVariablesErrorWithType",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.UnboundTypeVariablesError"}}},
"isLazy": false},
{
"name": "arg1",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.model.Type"},
"annotation": {
"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The type containing the unbound variables"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.UnboundTypeVariablesError"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "original",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.UnboundTypeVariablesError"}}},
"body": {
"lambda": {
"parameter": "newVal",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.model.Type"},
"annotation": {
"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The type containing the unbound variables"}}}]}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.checking.UnboundTypeVariablesError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "variables"}}}}},
{
"name": "term",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "project",
"term": {
"record": {
"typeName": "hydra.core.model.Projection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.checking.UnboundTypeVariablesError"}}}}},
{
"name": "fieldName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "variables"}}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "type"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}}]}}]}}}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL updater for the type field of hydra.core.error.checking.UnboundTypeVariablesError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.error.checking.undefinedTermVariableCheckingErrorUndefinedTermVariableCheckingError",
"signature": {
"typeParameters": [],
"parameters": [],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedName"},
"argument": {"variable": "hydra.core.error.checking.UndefinedTermVariableCheckingError"}}}}},
"body": {
"annotated": {
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedName",
"body": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.checking.UndefinedTermVariableCheckingError"}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL name token for hydra.core.error.checking.UndefinedTermVariableCheckingError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.error.checking.undefinedTermVariableCheckingError",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.paths.SubtermPath"},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "The subterm path at which the variable was referenced"}}}]}}}}},
"isLazy": false},
{
"name": "arg1",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.model.Name"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the undefined variable"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.UndefinedTermVariableCheckingError"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "path",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.paths.SubtermPath"},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "The subterm path at which the variable was referenced"}}}]}}}}},
"body": {
"lambda": {
"parameter": "name",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.model.Name"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the undefined variable"}}}]}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.checking.UndefinedTermVariableCheckingError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "path"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "path"}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "name"}}}}]}}]}}]}}}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL constructor for hydra.core.error.checking.UndefinedTermVariableCheckingError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.error.checking.undefinedTermVariableCheckingErrorPath",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.UndefinedTermVariableCheckingError"}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.paths.SubtermPath"},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "The subterm path at which the variable was referenced"}}}]}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.UndefinedTermVariableCheckingError"}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "project",
"term": {
"record": {
"typeName": "hydra.core.model.Projection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.checking.UndefinedTermVariableCheckingError"}}}}},
{"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "path"}}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {
"literal": {"string": "DSL accessor for the path field of hydra.core.error.checking.UndefinedTermVariableCheckingError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.error.checking.undefinedTermVariableCheckingErrorName",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.UndefinedTermVariableCheckingError"}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.model.Name"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the undefined variable"}}}]}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.UndefinedTermVariableCheckingError"}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "project",
"term": {
"record": {
"typeName": "hydra.core.model.Projection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.checking.UndefinedTermVariableCheckingError"}}}}},
{"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {
"literal": {"string": "DSL accessor for the name field of hydra.core.error.checking.UndefinedTermVariableCheckingError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.error.checking.undefinedTermVariableCheckingErrorWithPath",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.UndefinedTermVariableCheckingError"}}},
"isLazy": false},
{
"name": "arg1",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.paths.SubtermPath"},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "The subterm path at which the variable was referenced"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.UndefinedTermVariableCheckingError"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "original",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.UndefinedTermVariableCheckingError"}}},
"body": {
"lambda": {
"parameter": "newVal",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.paths.SubtermPath"},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "The subterm path at which the variable was referenced"}}}]}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.checking.UndefinedTermVariableCheckingError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "path"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}},
{
"name": "term",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "project",
"term": {
"record": {
"typeName": "hydra.core.model.Projection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.checking.UndefinedTermVariableCheckingError"}}}}},
{"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}}]}}]}}}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {
"literal": {"string": "DSL updater for the path field of hydra.core.error.checking.UndefinedTermVariableCheckingError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.error.checking.undefinedTermVariableCheckingErrorWithName",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.UndefinedTermVariableCheckingError"}}},
"isLazy": false},
{
"name": "arg1",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.model.Name"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the undefined variable"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.UndefinedTermVariableCheckingError"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "original",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.UndefinedTermVariableCheckingError"}}},
"body": {
"lambda": {
"parameter": "newVal",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.model.Name"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the undefined variable"}}}]}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.checking.UndefinedTermVariableCheckingError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "path"}}}}},
{
"name": "term",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "project",
"term": {
"record": {
"typeName": "hydra.core.model.Projection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.checking.UndefinedTermVariableCheckingError"}}}}},
{"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "path"}}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}}]}}]}}}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {
"literal": {"string": "DSL updater for the name field of hydra.core.error.checking.UndefinedTermVariableCheckingError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.error.checking.unequalTypesErrorUnequalTypesError",
"signature": {
"typeParameters": [],
"parameters": [],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedName"},
"argument": {"variable": "hydra.core.error.checking.UnequalTypesError"}}}}},
"body": {
"annotated": {
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedName",
"body": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.checking.UnequalTypesError"}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL name token for hydra.core.error.checking.UnequalTypesError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.error.checking.unequalTypesError",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"list": {"variable": "hydra.core.model.Type"}},
"annotation": {
"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The list of types that are not all equal"}}}]}}}}},
"isLazy": false},
{
"name": "arg1",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"literal": "string"},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "A description of the context in which the types were expected to be equal"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.UnequalTypesError"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "types",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"list": {"variable": "hydra.core.model.Type"}},
"annotation": {
"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The list of types that are not all equal"}}}]}}}}},
"body": {
"lambda": {
"parameter": "description",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"literal": "string"},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "A description of the context in which the types were expected to be equal"}}}]}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.checking.UnequalTypesError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "types"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "types"}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "description"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "description"}}}}]}}]}}]}}}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL constructor for hydra.core.error.checking.UnequalTypesError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.error.checking.unequalTypesErrorTypes",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.UnequalTypesError"}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"list": {"variable": "hydra.core.model.Type"}},
"annotation": {
"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The list of types that are not all equal"}}}]}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.UnequalTypesError"}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "project",
"term": {
"record": {
"typeName": "hydra.core.model.Projection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.checking.UnequalTypesError"}}}}},
{"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "types"}}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL accessor for the types field of hydra.core.error.checking.UnequalTypesError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.error.checking.unequalTypesErrorDescription",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.UnequalTypesError"}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"literal": "string"},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "A description of the context in which the types were expected to be equal"}}}]}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.UnequalTypesError"}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "project",
"term": {
"record": {
"typeName": "hydra.core.model.Projection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.checking.UnequalTypesError"}}}}},
{
"name": "fieldName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "description"}}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL accessor for the description field of hydra.core.error.checking.UnequalTypesError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.error.checking.unequalTypesErrorWithTypes",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.UnequalTypesError"}}},
"isLazy": false},
{
"name": "arg1",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"list": {"variable": "hydra.core.model.Type"}},
"annotation": {
"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The list of types that are not all equal"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.UnequalTypesError"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "original",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.UnequalTypesError"}}},
"body": {
"lambda": {
"parameter": "newVal",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"list": {"variable": "hydra.core.model.Type"}},
"annotation": {
"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The list of types that are not all equal"}}}]}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.checking.UnequalTypesError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "types"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "description"}}}}},
{
"name": "term",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "project",
"term": {
"record": {
"typeName": "hydra.core.model.Projection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.checking.UnequalTypesError"}}}}},
{
"name": "fieldName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "description"}}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}}]}}]}}}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL updater for the types field of hydra.core.error.checking.UnequalTypesError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.error.checking.unequalTypesErrorWithDescription",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.UnequalTypesError"}}},
"isLazy": false},
{
"name": "arg1",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"literal": "string"},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "A description of the context in which the types were expected to be equal"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.UnequalTypesError"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "original",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.UnequalTypesError"}}},
"body": {
"lambda": {
"parameter": "newVal",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"literal": "string"},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "A description of the context in which the types were expected to be equal"}}}]}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.checking.UnequalTypesError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "types"}}}}},
{
"name": "term",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "project",
"term": {
"record": {
"typeName": "hydra.core.model.Projection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.checking.UnequalTypesError"}}}}},
{"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "types"}}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "description"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}}]}}]}}}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL updater for the description field of hydra.core.error.checking.UnequalTypesError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.error.checking.unsupportedTermVariantErrorUnsupportedTermVariantError",
"signature": {
"typeParameters": [],
"parameters": [],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedName"},
"argument": {"variable": "hydra.core.error.checking.UnsupportedTermVariantError"}}}}},
"body": {
"annotated": {
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedName",
"body": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.checking.UnsupportedTermVariantError"}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL name token for hydra.core.error.checking.UnsupportedTermVariantError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.error.checking.unsupportedTermVariantError",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.variants.TermVariant"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The unsupported term variant"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.UnsupportedTermVariantError"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "termVariant",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.variants.TermVariant"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The unsupported term variant"}}}]}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.checking.UnsupportedTermVariantError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "termVariant"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "termVariant"}}}}]}}]}}]}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL constructor for hydra.core.error.checking.UnsupportedTermVariantError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.error.checking.unsupportedTermVariantErrorTermVariant",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.UnsupportedTermVariantError"}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.variants.TermVariant"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The unsupported term variant"}}}]}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.UnsupportedTermVariantError"}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "project",
"term": {
"record": {
"typeName": "hydra.core.model.Projection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.checking.UnsupportedTermVariantError"}}}}},
{
"name": "fieldName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "termVariant"}}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {
"literal": {"string": "DSL accessor for the termVariant field of hydra.core.error.checking.UnsupportedTermVariantError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.error.checking.unsupportedTermVariantErrorWithTermVariant",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.UnsupportedTermVariantError"}}},
"isLazy": false},
{
"name": "arg1",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.variants.TermVariant"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The unsupported term variant"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.UnsupportedTermVariantError"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "original",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.UnsupportedTermVariantError"}}},
"body": {
"lambda": {
"parameter": "newVal",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.variants.TermVariant"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The unsupported term variant"}}}]}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.checking.UnsupportedTermVariantError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "termVariant"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}}]}}]}}}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {
"literal": {"string": "DSL updater for the termVariant field of hydra.core.error.checking.UnsupportedTermVariantError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.error.checking.untypedLambdaErrorUntypedLambdaError",
"signature": {
"typeParameters": [],
"parameters": [],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedName"},
"argument": {"variable": "hydra.core.error.checking.UntypedLambdaError"}}}}},
"body": {
"annotated": {
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedName",
"body": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.checking.UntypedLambdaError"}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL name token for hydra.core.error.checking.UntypedLambdaError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.error.checking.untypedLambdaError",
"signature": {
"typeParameters": [],
"parameters": [],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.UntypedLambdaError"}}}}},
"body": {
"annotated": {
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.checking.UntypedLambdaError"}}}}},
{"name": "fields", "term": {"list": []}}]}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL constructor for hydra.core.error.checking.UntypedLambdaError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.error.checking.untypedLetBindingErrorUntypedLetBindingError",
"signature": {
"typeParameters": [],
"parameters": [],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedName"},
"argument": {"variable": "hydra.core.error.checking.UntypedLetBindingError"}}}}},
"body": {
"annotated": {
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedName",
"body": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.checking.UntypedLetBindingError"}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL name token for hydra.core.error.checking.UntypedLetBindingError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.error.checking.untypedLetBindingError",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.model.Binding"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The untyped binding"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.UntypedLetBindingError"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "binding",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.model.Binding"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The untyped binding"}}}]}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.checking.UntypedLetBindingError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "binding"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "binding"}}}}]}}]}}]}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL constructor for hydra.core.error.checking.UntypedLetBindingError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.error.checking.untypedLetBindingErrorBinding",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.UntypedLetBindingError"}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.model.Binding"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The untyped binding"}}}]}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.UntypedLetBindingError"}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "project",
"term": {
"record": {
"typeName": "hydra.core.model.Projection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.checking.UntypedLetBindingError"}}}}},
{
"name": "fieldName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "binding"}}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL accessor for the binding field of hydra.core.error.checking.UntypedLetBindingError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.error.checking.untypedLetBindingErrorWithBinding",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.UntypedLetBindingError"}}},
"isLazy": false},
{
"name": "arg1",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.model.Binding"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The untyped binding"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.UntypedLetBindingError"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "original",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.UntypedLetBindingError"}}},
"body": {
"lambda": {
"parameter": "newVal",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.model.Binding"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The untyped binding"}}}]}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.checking.UntypedLetBindingError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "binding"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}}]}}]}}}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL updater for the binding field of hydra.core.error.checking.UntypedLetBindingError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.error.checking.untypedTermVariableCheckingErrorUntypedTermVariableCheckingError",
"signature": {
"typeParameters": [],
"parameters": [],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedName"},
"argument": {"variable": "hydra.core.error.checking.UntypedTermVariableCheckingError"}}}}},
"body": {
"annotated": {
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedName",
"body": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.checking.UntypedTermVariableCheckingError"}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL name token for hydra.core.error.checking.UntypedTermVariableCheckingError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.error.checking.untypedTermVariableCheckingError",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.paths.SubtermPath"},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "The subterm path at which the variable was referenced"}}}]}}}}},
"isLazy": false},
{
"name": "arg1",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.model.Name"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the untyped variable"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.UntypedTermVariableCheckingError"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "path",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.paths.SubtermPath"},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "The subterm path at which the variable was referenced"}}}]}}}}},
"body": {
"lambda": {
"parameter": "name",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.model.Name"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the untyped variable"}}}]}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.checking.UntypedTermVariableCheckingError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "path"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "path"}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "name"}}}}]}}]}}]}}}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL constructor for hydra.core.error.checking.UntypedTermVariableCheckingError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.error.checking.untypedTermVariableCheckingErrorPath",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.UntypedTermVariableCheckingError"}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.paths.SubtermPath"},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "The subterm path at which the variable was referenced"}}}]}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.UntypedTermVariableCheckingError"}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "project",
"term": {
"record": {
"typeName": "hydra.core.model.Projection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.checking.UntypedTermVariableCheckingError"}}}}},
{"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "path"}}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL accessor for the path field of hydra.core.error.checking.UntypedTermVariableCheckingError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.error.checking.untypedTermVariableCheckingErrorName",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.UntypedTermVariableCheckingError"}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.model.Name"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the untyped variable"}}}]}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.UntypedTermVariableCheckingError"}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "project",
"term": {
"record": {
"typeName": "hydra.core.model.Projection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.checking.UntypedTermVariableCheckingError"}}}}},
{"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL accessor for the name field of hydra.core.error.checking.UntypedTermVariableCheckingError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.error.checking.untypedTermVariableCheckingErrorWithPath",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.UntypedTermVariableCheckingError"}}},
"isLazy": false},
{
"name": "arg1",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.paths.SubtermPath"},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "The subterm path at which the variable was referenced"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.UntypedTermVariableCheckingError"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "original",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.UntypedTermVariableCheckingError"}}},
"body": {
"lambda": {
"parameter": "newVal",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.paths.SubtermPath"},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "The subterm path at which the variable was referenced"}}}]}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.checking.UntypedTermVariableCheckingError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "path"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}},
{
"name": "term",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "project",
"term": {
"record": {
"typeName": "hydra.core.model.Projection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.checking.UntypedTermVariableCheckingError"}}}}},
{"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}}]}}]}}}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL updater for the path field of hydra.core.error.checking.UntypedTermVariableCheckingError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.error.checking.untypedTermVariableCheckingErrorWithName",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.UntypedTermVariableCheckingError"}}},
"isLazy": false},
{
"name": "arg1",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.model.Name"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the untyped variable"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.UntypedTermVariableCheckingError"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "original",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.error.checking.UntypedTermVariableCheckingError"}}},
"body": {
"lambda": {
"parameter": "newVal",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.model.Name"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the untyped variable"}}}]}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.checking.UntypedTermVariableCheckingError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "path"}}}}},
{
"name": "term",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "project",
"term": {
"record": {
"typeName": "hydra.core.model.Projection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.checking.UntypedTermVariableCheckingError"}}}}},
{"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "path"}}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}}]}}]}}}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL updater for the name field of hydra.core.error.checking.UntypedTermVariableCheckingError"}}}]}}}}}]}