hydra-kernel-0.18.1: hydra-kernel-json/hydra/core/dsl/errors.json
{
"name": "hydra.core.dsl.errors",
"metadata": {"description": "DSL functions for hydra.core.errors", "comments": [], "seeAlso": [], "provisions": []},
"dependencies": [
{"module": "hydra.core.errors"},
{"module": "hydra.core.typed"},
{"module": "hydra.core.encode.errors"},
{"module": "hydra.core.decode.errors"},
{"module": "hydra.core.error.checking"},
{"module": "hydra.core.error.model"},
{"module": "hydra.core.model"},
{"module": "hydra.core.paths"},
{"module": "hydra.core.dsl.error.checking"},
{"module": "hydra.core.dsl.error.model"},
{"module": "hydra.core.dsl.model"},
{"module": "hydra.core.dsl.paths"}],
"definitions": [
{
"term": {
"name": "hydra.core.dsl.errors.decodingErrorDecodingError",
"signature": {
"typeParameters": [],
"parameters": [],
"result": {
"type": {
"application": {"function": {"variable": "hydra.core.typed.TypedName"}, "argument": {"variable": "hydra.core.errors.DecodingError"}}}}},
"body": {
"annotated": {
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedName",
"body": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.errors.DecodingError"}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL name token for hydra.core.errors.DecodingError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.errors.decodingError",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"literal": "string"}}},
"isLazy": false}],
"result": {
"type": {
"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.errors.DecodingError"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"literal": "string"}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "wrap",
"term": {
"record": {
"typeName": "hydra.core.model.WrappedTerm",
"fields": [
{
"name": "typeName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.errors.DecodingError"}}}}},
{
"name": "body",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL constructor for the hydra.core.errors.DecodingError wrapper"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.errors.unDecodingError",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.errors.DecodingError"}}},
"isLazy": false}],
"result": {"type": {"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"literal": "string"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.errors.DecodingError"}}},
"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": "unwrap",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.errors.DecodingError"}}}}}}}},
{
"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 body of hydra.core.errors.DecodingError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.errors.errorError",
"signature": {
"typeParameters": [],
"parameters": [],
"result": {
"type": {
"application": {"function": {"variable": "hydra.core.typed.TypedName"}, "argument": {"variable": "hydra.core.errors.Error"}}}}},
"body": {
"annotated": {
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedName",
"body": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.errors.Error"}}}}}},
"annotation": {
"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "DSL name token for hydra.core.errors.Error"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.errors.errorChecking",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.error.checking.CheckingError"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "A type checking error"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.errors.Error"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.error.checking.CheckingError"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "A type 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.errors.Error"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "checking"}}}}},
{
"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 checking variant of hydra.core.errors.Error"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.errors.errorDecoding",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.errors.DecodingError"},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "An error that occurred during decoding of a term"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.errors.Error"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.errors.DecodingError"},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "An error that occurred during decoding of a term"}}}]}}}}},
"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.errors.Error"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "decoding"}}}}},
{
"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 decoding variant of hydra.core.errors.Error"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.errors.errorDuplicateBinding",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.error.model.DuplicateBindingError"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "A duplicate binding name error"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.errors.Error"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.error.model.DuplicateBindingError"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "A duplicate binding name 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.errors.Error"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "duplicateBinding"}}}}},
{
"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 duplicateBinding variant of hydra.core.errors.Error"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.errors.errorDuplicateField",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.error.model.DuplicateFieldError"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "A duplicate field name error"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.errors.Error"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.error.model.DuplicateFieldError"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "A duplicate field name 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.errors.Error"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "duplicateField"}}}}},
{
"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 duplicateField variant of hydra.core.errors.Error"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.errors.errorExtraction",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.errors.ExtractionError"},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "An error that occurred while extracting a value from a term"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.errors.Error"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.errors.ExtractionError"},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "An error that occurred while extracting a value from a term"}}}]}}}}},
"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.errors.Error"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "extraction"}}}}},
{
"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 extraction variant of hydra.core.errors.Error"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.errors.errorInference",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.errors.InferenceError"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "A type inference error"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.errors.Error"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.errors.InferenceError"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "A type inference 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.errors.Error"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "inference"}}}}},
{
"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 inference variant of hydra.core.errors.Error"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.errors.errorInvalidLiteral",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.error.model.InvalidLiteralError"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "A literal value validation error"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.errors.Error"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.error.model.InvalidLiteralError"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "A literal value validation 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.errors.Error"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "invalidLiteral"}}}}},
{
"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 invalidLiteral variant of hydra.core.errors.Error"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.errors.errorOther",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.errors.OtherError"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "Any other error"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.errors.Error"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.errors.OtherError"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "Any other 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.errors.Error"}}}}},
{
"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.errors.Error"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.errors.errorResolution",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.errors.ResolutionError"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "A name-resolution error"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.errors.Error"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.errors.ResolutionError"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "A name-resolution 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.errors.Error"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "resolution"}}}}},
{
"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 resolution variant of hydra.core.errors.Error"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.errors.errorUndefinedField",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.error.model.UndefinedFieldError"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "A reference to an undefined field"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.errors.Error"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.error.model.UndefinedFieldError"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "A reference to an undefined field"}}}]}}}}},
"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.errors.Error"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "undefinedField"}}}}},
{
"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 undefinedField variant of hydra.core.errors.Error"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.errors.errorUndefinedTermVariable",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.error.model.UndefinedTermVariableError"},
"annotation": {
"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "A reference to an undefined term variable"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.errors.Error"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.error.model.UndefinedTermVariableError"},
"annotation": {
"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "A reference to an undefined term variable"}}}]}}}}},
"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.errors.Error"}}}}},
{
"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.errors.Error"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.errors.errorUntypedTermVariable",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.error.model.UntypedTermVariableError"},
"annotation": {
"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "A term variable whose type is not known"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.errors.Error"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.error.model.UntypedTermVariableError"},
"annotation": {
"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "A term variable whose type is not known"}}}]}}}}},
"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.errors.Error"}}}}},
{
"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.errors.Error"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.errors.errorUnexpectedTermVariant",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.error.model.UnexpectedTermVariantError"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "An unexpected term variant"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.errors.Error"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.error.model.UnexpectedTermVariantError"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "An unexpected term variant"}}}]}}}}},
"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.errors.Error"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "unexpectedTermVariant"}}}}},
{
"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 unexpectedTermVariant variant of hydra.core.errors.Error"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.errors.errorUnexpectedTypeVariant",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.error.model.UnexpectedTypeVariantError"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "An unexpected type variant"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.errors.Error"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.error.model.UnexpectedTypeVariantError"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "An unexpected type variant"}}}]}}}}},
"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.errors.Error"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "unexpectedTypeVariant"}}}}},
{
"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 unexpectedTypeVariant variant of hydra.core.errors.Error"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.errors.errorUnification",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.errors.UnificationError"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "A type unification error"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.errors.Error"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.errors.UnificationError"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "A type unification 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.errors.Error"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "unification"}}}}},
{
"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 unification variant of hydra.core.errors.Error"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.errors.extractionErrorExtractionError",
"signature": {
"typeParameters": [],
"parameters": [],
"result": {
"type": {
"application": {"function": {"variable": "hydra.core.typed.TypedName"}, "argument": {"variable": "hydra.core.errors.ExtractionError"}}}}},
"body": {
"annotated": {
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedName",
"body": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.errors.ExtractionError"}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL name token for hydra.core.errors.ExtractionError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.errors.extractionErrorEmptyList",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.errors.EmptyListError"},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "An empty list was encountered where a non-empty list was required"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.errors.ExtractionError"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.errors.EmptyListError"},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "An empty list was encountered where a non-empty list was required"}}}]}}}}},
"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.errors.ExtractionError"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "emptyList"}}}}},
{
"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 emptyList variant of hydra.core.errors.ExtractionError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.errors.extractionErrorMultipleBindings",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.errors.MultipleBindingsError"},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "Multiple let bindings were found with the same name"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.errors.ExtractionError"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.errors.MultipleBindingsError"},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "Multiple let bindings were found with the same name"}}}]}}}}},
"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.errors.ExtractionError"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "multipleBindings"}}}}},
{
"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 multipleBindings variant of hydra.core.errors.ExtractionError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.errors.extractionErrorMultipleFields",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.errors.MultipleFieldsError"},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "Multiple record fields were found with the same field name"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.errors.ExtractionError"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.errors.MultipleFieldsError"},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "Multiple record fields were found with the same field name"}}}]}}}}},
"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.errors.ExtractionError"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "multipleFields"}}}}},
{
"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 multipleFields variant of hydra.core.errors.ExtractionError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.errors.extractionErrorNoMatchingField",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.errors.NoMatchingFieldError"},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "No field with the expected name was found in a record"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.errors.ExtractionError"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.errors.NoMatchingFieldError"},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "No field with the expected name was found in a record"}}}]}}}}},
"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.errors.ExtractionError"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "noMatchingField"}}}}},
{
"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 noMatchingField variant of hydra.core.errors.ExtractionError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.errors.extractionErrorNoSuchBinding",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.errors.NoSuchBindingError"},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "No let binding with the expected name was found"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.errors.ExtractionError"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.errors.NoSuchBindingError"},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "No let binding with the expected name was found"}}}]}}}}},
"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.errors.ExtractionError"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "noSuchBinding"}}}}},
{
"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 noSuchBinding variant of hydra.core.errors.ExtractionError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.errors.extractionErrorNotEnoughCases",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.errors.NotEnoughCasesError"},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "A case statement did not contain enough cases to match the target"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.errors.ExtractionError"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.errors.NotEnoughCasesError"},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "A case statement did not contain enough cases to match the target"}}}]}}}}},
"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.errors.ExtractionError"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "notEnoughCases"}}}}},
{
"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 notEnoughCases variant of hydra.core.errors.ExtractionError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.errors.extractionErrorUnexpectedShape",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.errors.UnexpectedShapeError"},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "A term, type, literal, or other value had an unexpected shape"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.errors.ExtractionError"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.errors.UnexpectedShapeError"},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "A term, type, literal, or other value had an unexpected shape"}}}]}}}}},
"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.errors.ExtractionError"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "unexpectedShape"}}}}},
{
"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 unexpectedShape variant of hydra.core.errors.ExtractionError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.errors.inferenceErrorInferenceError",
"signature": {
"typeParameters": [],
"parameters": [],
"result": {
"type": {
"application": {"function": {"variable": "hydra.core.typed.TypedName"}, "argument": {"variable": "hydra.core.errors.InferenceError"}}}}},
"body": {
"annotated": {
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedName",
"body": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.errors.InferenceError"}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL name token for hydra.core.errors.InferenceError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.errors.inferenceErrorChecking",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.error.checking.CheckingError"},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "A type checking error encountered during inference"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.errors.InferenceError"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.error.checking.CheckingError"},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "A type checking error encountered during inference"}}}]}}}}},
"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.errors.InferenceError"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "checking"}}}}},
{
"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 checking variant of hydra.core.errors.InferenceError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.errors.inferenceErrorOther",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.errors.OtherInferenceError"},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {
"literal": {
"string": "A generic inference error carrying a message and a subterm path. Placeholder arm; sites should migrate to typed variants."}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.errors.InferenceError"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.errors.OtherInferenceError"},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {
"literal": {
"string": "A generic inference error carrying a message and a subterm path. Placeholder arm; sites should migrate to typed variants."}}}]}}}}},
"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.errors.InferenceError"}}}}},
{
"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.errors.InferenceError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.errors.inferenceErrorUnification",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.errors.UnificationInferenceError"},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "A unification failure encountered while inferring types"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.errors.InferenceError"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.errors.UnificationInferenceError"},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "A unification failure encountered while inferring 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.errors.InferenceError"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "unification"}}}}},
{
"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 unification variant of hydra.core.errors.InferenceError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.errors.multipleBindingsErrorMultipleBindingsError",
"signature": {
"typeParameters": [],
"parameters": [],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedName"},
"argument": {"variable": "hydra.core.errors.MultipleBindingsError"}}}}},
"body": {
"annotated": {
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedName",
"body": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.errors.MultipleBindingsError"}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL name token for hydra.core.errors.MultipleBindingsError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.errors.multipleBindingsError",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"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 binding name which was duplicated"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.errors.MultipleBindingsError"}}}}},
"body": {
"annotated": {
"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 binding name which was duplicated"}}}]}}}}},
"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.errors.MultipleBindingsError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"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.errors.MultipleBindingsError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.errors.multipleBindingsErrorName",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.errors.MultipleBindingsError"}}},
"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 binding name which was duplicated"}}}]}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.errors.MultipleBindingsError"}}},
"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.errors.MultipleBindingsError"}}}}},
{"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.errors.MultipleBindingsError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.errors.multipleBindingsErrorWithName",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.errors.MultipleBindingsError"}}},
"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 binding name which was duplicated"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.errors.MultipleBindingsError"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "original",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.errors.MultipleBindingsError"}}},
"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 binding name which was duplicated"}}}]}}}}},
"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.errors.MultipleBindingsError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"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.errors.MultipleBindingsError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.errors.multipleFieldsErrorMultipleFieldsError",
"signature": {
"typeParameters": [],
"parameters": [],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedName"},
"argument": {"variable": "hydra.core.errors.MultipleFieldsError"}}}}},
"body": {
"annotated": {
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedName",
"body": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.errors.MultipleFieldsError"}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL name token for hydra.core.errors.MultipleFieldsError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.errors.multipleFieldsError",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"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 field name which appeared more than once"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.errors.MultipleFieldsError"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "fieldName",
"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 field name which appeared more than once"}}}]}}}}},
"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.errors.MultipleFieldsError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "fieldName"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "fieldName"}}}}]}}]}}]}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL constructor for hydra.core.errors.MultipleFieldsError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.errors.multipleFieldsErrorFieldName",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.errors.MultipleFieldsError"}}},
"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 field name which appeared more than once"}}}]}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.errors.MultipleFieldsError"}}},
"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.errors.MultipleFieldsError"}}}}},
{
"name": "fieldName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "fieldName"}}}}}]}}}}}},
{
"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 fieldName field of hydra.core.errors.MultipleFieldsError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.errors.multipleFieldsErrorWithFieldName",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.errors.MultipleFieldsError"}}},
"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 field name which appeared more than once"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.errors.MultipleFieldsError"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "original",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.errors.MultipleFieldsError"}}},
"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 field name which appeared more than once"}}}]}}}}},
"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.errors.MultipleFieldsError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "fieldName"}}}}},
{
"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 fieldName field of hydra.core.errors.MultipleFieldsError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.errors.noMatchingFieldErrorNoMatchingFieldError",
"signature": {
"typeParameters": [],
"parameters": [],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedName"},
"argument": {"variable": "hydra.core.errors.NoMatchingFieldError"}}}}},
"body": {
"annotated": {
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedName",
"body": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.errors.NoMatchingFieldError"}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL name token for hydra.core.errors.NoMatchingFieldError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.errors.noMatchingFieldError",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"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 field name which was not found"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.errors.NoMatchingFieldError"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "fieldName",
"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 field name which was not found"}}}]}}}}},
"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.errors.NoMatchingFieldError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "fieldName"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "fieldName"}}}}]}}]}}]}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL constructor for hydra.core.errors.NoMatchingFieldError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.errors.noMatchingFieldErrorFieldName",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.errors.NoMatchingFieldError"}}},
"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 field name which was not found"}}}]}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.errors.NoMatchingFieldError"}}},
"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.errors.NoMatchingFieldError"}}}}},
{
"name": "fieldName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "fieldName"}}}}}]}}}}}},
{
"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 fieldName field of hydra.core.errors.NoMatchingFieldError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.errors.noMatchingFieldErrorWithFieldName",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.errors.NoMatchingFieldError"}}},
"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 field name which was not found"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.errors.NoMatchingFieldError"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "original",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.errors.NoMatchingFieldError"}}},
"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 field name which was not found"}}}]}}}}},
"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.errors.NoMatchingFieldError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "fieldName"}}}}},
{
"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 fieldName field of hydra.core.errors.NoMatchingFieldError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.errors.noSuchBindingErrorNoSuchBindingError",
"signature": {
"typeParameters": [],
"parameters": [],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedName"},
"argument": {"variable": "hydra.core.errors.NoSuchBindingError"}}}}},
"body": {
"annotated": {
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedName",
"body": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.errors.NoSuchBindingError"}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL name token for hydra.core.errors.NoSuchBindingError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.errors.noSuchBindingError",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"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 binding name which was not found"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.errors.NoSuchBindingError"}}}}},
"body": {
"annotated": {
"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 binding name which was not found"}}}]}}}}},
"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.errors.NoSuchBindingError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"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.errors.NoSuchBindingError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.errors.noSuchBindingErrorName",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.errors.NoSuchBindingError"}}},
"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 binding name which was not found"}}}]}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.errors.NoSuchBindingError"}}},
"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.errors.NoSuchBindingError"}}}}},
{"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.errors.NoSuchBindingError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.errors.noSuchBindingErrorWithName",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.errors.NoSuchBindingError"}}},
"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 binding name which was not found"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.errors.NoSuchBindingError"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "original",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.errors.NoSuchBindingError"}}},
"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 binding name which was not found"}}}]}}}}},
"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.errors.NoSuchBindingError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"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.errors.NoSuchBindingError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.errors.noSuchPrimitiveErrorNoSuchPrimitiveError",
"signature": {
"typeParameters": [],
"parameters": [],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedName"},
"argument": {"variable": "hydra.core.errors.NoSuchPrimitiveError"}}}}},
"body": {
"annotated": {
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedName",
"body": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.errors.NoSuchPrimitiveError"}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL name token for hydra.core.errors.NoSuchPrimitiveError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.errors.noSuchPrimitiveError",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"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 primitive name which was not found"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.errors.NoSuchPrimitiveError"}}}}},
"body": {
"annotated": {
"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 primitive name which was not found"}}}]}}}}},
"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.errors.NoSuchPrimitiveError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"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.errors.NoSuchPrimitiveError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.errors.noSuchPrimitiveErrorName",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.errors.NoSuchPrimitiveError"}}},
"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 primitive name which was not found"}}}]}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.errors.NoSuchPrimitiveError"}}},
"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.errors.NoSuchPrimitiveError"}}}}},
{"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.errors.NoSuchPrimitiveError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.errors.noSuchPrimitiveErrorWithName",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.errors.NoSuchPrimitiveError"}}},
"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 primitive name which was not found"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.errors.NoSuchPrimitiveError"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "original",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.errors.NoSuchPrimitiveError"}}},
"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 primitive name which was not found"}}}]}}}}},
"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.errors.NoSuchPrimitiveError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"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.errors.NoSuchPrimitiveError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.errors.otherErrorOtherError",
"signature": {
"typeParameters": [],
"parameters": [],
"result": {
"type": {
"application": {"function": {"variable": "hydra.core.typed.TypedName"}, "argument": {"variable": "hydra.core.errors.OtherError"}}}}},
"body": {
"annotated": {
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedName",
"body": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.errors.OtherError"}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL name token for hydra.core.errors.OtherError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.errors.otherError",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"literal": "string"}}},
"isLazy": false}],
"result": {
"type": {
"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.errors.OtherError"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"literal": "string"}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "wrap",
"term": {
"record": {
"typeName": "hydra.core.model.WrappedTerm",
"fields": [
{
"name": "typeName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.errors.OtherError"}}}}},
{
"name": "body",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL constructor for the hydra.core.errors.OtherError wrapper"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.errors.unOtherError",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.errors.OtherError"}}},
"isLazy": false}],
"result": {"type": {"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"literal": "string"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.errors.OtherError"}}},
"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": "unwrap",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.errors.OtherError"}}}}}}}},
{
"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 body of hydra.core.errors.OtherError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.errors.otherInferenceErrorOtherInferenceError",
"signature": {
"typeParameters": [],
"parameters": [],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedName"},
"argument": {"variable": "hydra.core.errors.OtherInferenceError"}}}}},
"body": {
"annotated": {
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedName",
"body": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.errors.OtherInferenceError"}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL name token for hydra.core.errors.OtherInferenceError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.errors.otherInferenceError",
"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.errors.OtherInferenceError"}}}}},
"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.errors.OtherInferenceError"}}}}},
{
"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.errors.OtherInferenceError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.errors.otherInferenceErrorPath",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.errors.OtherInferenceError"}}},
"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.errors.OtherInferenceError"}}},
"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.errors.OtherInferenceError"}}}}},
{"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.errors.OtherInferenceError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.errors.otherInferenceErrorMessage",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.errors.OtherInferenceError"}}},
"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.errors.OtherInferenceError"}}},
"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.errors.OtherInferenceError"}}}}},
{
"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.errors.OtherInferenceError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.errors.otherInferenceErrorWithPath",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.errors.OtherInferenceError"}}},
"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.errors.OtherInferenceError"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "original",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.errors.OtherInferenceError"}}},
"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.errors.OtherInferenceError"}}}}},
{
"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.errors.OtherInferenceError"}}}}},
{
"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.errors.OtherInferenceError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.errors.otherInferenceErrorWithMessage",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.errors.OtherInferenceError"}}},
"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.errors.OtherInferenceError"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "original",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.errors.OtherInferenceError"}}},
"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.errors.OtherInferenceError"}}}}},
{
"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.errors.OtherInferenceError"}}}}},
{"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.errors.OtherInferenceError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.errors.otherResolutionErrorOtherResolutionError",
"signature": {
"typeParameters": [],
"parameters": [],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedName"},
"argument": {"variable": "hydra.core.errors.OtherResolutionError"}}}}},
"body": {
"annotated": {
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedName",
"body": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.errors.OtherResolutionError"}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL name token for hydra.core.errors.OtherResolutionError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.errors.otherResolutionError",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"literal": "string"}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.errors.OtherResolutionError"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"literal": "string"}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "wrap",
"term": {
"record": {
"typeName": "hydra.core.model.WrappedTerm",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.errors.OtherResolutionError"}}}}},
{
"name": "body",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL constructor for the hydra.core.errors.OtherResolutionError wrapper"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.errors.unOtherResolutionError",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.errors.OtherResolutionError"}}},
"isLazy": false}],
"result": {"type": {"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"literal": "string"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.errors.OtherResolutionError"}}},
"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": "unwrap",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.errors.OtherResolutionError"}}}}}}}},
{
"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 body of hydra.core.errors.OtherResolutionError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.errors.resolutionErrorResolutionError",
"signature": {
"typeParameters": [],
"parameters": [],
"result": {
"type": {
"application": {"function": {"variable": "hydra.core.typed.TypedName"}, "argument": {"variable": "hydra.core.errors.ResolutionError"}}}}},
"body": {
"annotated": {
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedName",
"body": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.errors.ResolutionError"}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL name token for hydra.core.errors.ResolutionError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.errors.resolutionErrorNoSuchBinding",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.errors.NoSuchBindingError"},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "No binding with the expected name was found in the graph"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.errors.ResolutionError"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.errors.NoSuchBindingError"},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "No binding with the expected name was found in the graph"}}}]}}}}},
"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.errors.ResolutionError"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "noSuchBinding"}}}}},
{
"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 noSuchBinding variant of hydra.core.errors.ResolutionError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.errors.resolutionErrorNoSuchPrimitive",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.errors.NoSuchPrimitiveError"},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "No primitive function with the expected name was found in the graph"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.errors.ResolutionError"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.errors.NoSuchPrimitiveError"},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "No primitive function with the expected name was found in the graph"}}}]}}}}},
"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.errors.ResolutionError"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "noSuchPrimitive"}}}}},
{
"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 noSuchPrimitive variant of hydra.core.errors.ResolutionError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.errors.resolutionErrorNoMatchingField",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.errors.NoMatchingFieldError"},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "No field with the expected name was present in a record or case statement"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.errors.ResolutionError"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.errors.NoMatchingFieldError"},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "No field with the expected name was present in a record or case statement"}}}]}}}}},
"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.errors.ResolutionError"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "noMatchingField"}}}}},
{
"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 noMatchingField variant of hydra.core.errors.ResolutionError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.errors.resolutionErrorOther",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.errors.OtherResolutionError"},
"annotation": {
"map": [
{"key": {"variable": "description"}, "value": {"literal": {"string": "A generic resolution error carrying a message"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.errors.ResolutionError"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.errors.OtherResolutionError"},
"annotation": {
"map": [
{"key": {"variable": "description"}, "value": {"literal": {"string": "A generic resolution error carrying a message"}}}]}}}}},
"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.errors.ResolutionError"}}}}},
{
"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.errors.ResolutionError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.errors.resolutionErrorUnexpectedShape",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.errors.UnexpectedShapeError"},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "A term had a shape other than the one expected (e.g. a record, an injection)"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.errors.ResolutionError"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.errors.UnexpectedShapeError"},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "A term had a shape other than the one expected (e.g. a record, an injection)"}}}]}}}}},
"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.errors.ResolutionError"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "unexpectedShape"}}}}},
{
"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 unexpectedShape variant of hydra.core.errors.ResolutionError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.errors.unexpectedShapeErrorUnexpectedShapeError",
"signature": {
"typeParameters": [],
"parameters": [],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedName"},
"argument": {"variable": "hydra.core.errors.UnexpectedShapeError"}}}}},
"body": {
"annotated": {
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedName",
"body": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.errors.UnexpectedShapeError"}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL name token for hydra.core.errors.UnexpectedShapeError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.errors.unexpectedShapeError",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"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 expected shape"}}}]}}}}},
"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 shape actually encountered"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.errors.UnexpectedShapeError"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "expected",
"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 expected shape"}}}]}}}}},
"body": {
"lambda": {
"parameter": "actual",
"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 shape actually 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.errors.UnexpectedShapeError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "expected"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "expected"}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "actual"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "actual"}}}}]}}]}}]}}}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL constructor for hydra.core.errors.UnexpectedShapeError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.errors.unexpectedShapeErrorExpected",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.errors.UnexpectedShapeError"}}},
"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 expected shape"}}}]}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.errors.UnexpectedShapeError"}}},
"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.errors.UnexpectedShapeError"}}}}},
{
"name": "fieldName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "expected"}}}}}]}}}}}},
{
"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 expected field of hydra.core.errors.UnexpectedShapeError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.errors.unexpectedShapeErrorActual",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.errors.UnexpectedShapeError"}}},
"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 shape actually encountered"}}}]}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.errors.UnexpectedShapeError"}}},
"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.errors.UnexpectedShapeError"}}}}},
{
"name": "fieldName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "actual"}}}}}]}}}}}},
{
"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 actual field of hydra.core.errors.UnexpectedShapeError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.errors.unexpectedShapeErrorWithExpected",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.errors.UnexpectedShapeError"}}},
"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 expected shape"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.errors.UnexpectedShapeError"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "original",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.errors.UnexpectedShapeError"}}},
"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 expected shape"}}}]}}}}},
"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.errors.UnexpectedShapeError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "expected"}}}}},
{
"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": "actual"}}}}},
{
"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.errors.UnexpectedShapeError"}}}}},
{
"name": "fieldName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "actual"}}}}}]}}}}}},
{
"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 expected field of hydra.core.errors.UnexpectedShapeError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.errors.unexpectedShapeErrorWithActual",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.errors.UnexpectedShapeError"}}},
"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 shape actually encountered"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.errors.UnexpectedShapeError"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "original",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.errors.UnexpectedShapeError"}}},
"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 shape actually 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.errors.UnexpectedShapeError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "expected"}}}}},
{
"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.errors.UnexpectedShapeError"}}}}},
{
"name": "fieldName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "expected"}}}}}]}}}}}},
{
"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": "actual"}}}}},
{
"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 actual field of hydra.core.errors.UnexpectedShapeError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.errors.unificationErrorUnificationError",
"signature": {
"typeParameters": [],
"parameters": [],
"result": {
"type": {
"application": {"function": {"variable": "hydra.core.typed.TypedName"}, "argument": {"variable": "hydra.core.errors.UnificationError"}}}}},
"body": {
"annotated": {
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedName",
"body": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.errors.UnificationError"}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL name token for hydra.core.errors.UnificationError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.errors.unificationError",
"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 left-hand type in the unification"}}}]}}}}},
"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 right-hand type in the unification"}}}]}}}}},
"isLazy": false},
{
"name": "arg2",
"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.errors.UnificationError"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "leftType",
"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 left-hand type in the unification"}}}]}}}}},
"body": {
"lambda": {
"parameter": "rightType",
"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 right-hand type in the unification"}}}]}}}}},
"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.errors.UnificationError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "leftType"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "leftType"}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "rightType"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "rightType"}}}}]}},
{
"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.errors.UnificationError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.errors.unificationErrorLeftType",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.errors.UnificationError"}}},
"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 left-hand type in the unification"}}}]}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.errors.UnificationError"}}},
"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.errors.UnificationError"}}}}},
{
"name": "fieldName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "leftType"}}}}}]}}}}}},
{
"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 leftType field of hydra.core.errors.UnificationError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.errors.unificationErrorRightType",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.errors.UnificationError"}}},
"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 right-hand type in the unification"}}}]}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.errors.UnificationError"}}},
"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.errors.UnificationError"}}}}},
{
"name": "fieldName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "rightType"}}}}}]}}}}}},
{
"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 rightType field of hydra.core.errors.UnificationError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.errors.unificationErrorMessage",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.errors.UnificationError"}}},
"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.errors.UnificationError"}}},
"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.errors.UnificationError"}}}}},
{
"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.errors.UnificationError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.errors.unificationErrorWithLeftType",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.errors.UnificationError"}}},
"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 left-hand type in the unification"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.errors.UnificationError"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "original",
"domain": {
"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.errors.UnificationError"}}},
"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 left-hand type in the unification"}}}]}}}}},
"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.errors.UnificationError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "leftType"}}}}},
{
"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": "rightType"}}}}},
{
"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.errors.UnificationError"}}}}},
{
"name": "fieldName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "rightType"}}}}}]}}}}}},
{
"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": {
"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.errors.UnificationError"}}}}},
{
"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 leftType field of hydra.core.errors.UnificationError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.errors.unificationErrorWithRightType",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.errors.UnificationError"}}},
"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 right-hand type in the unification"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.errors.UnificationError"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "original",
"domain": {
"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.errors.UnificationError"}}},
"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 right-hand type in the unification"}}}]}}}}},
"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.errors.UnificationError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "leftType"}}}}},
{
"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.errors.UnificationError"}}}}},
{
"name": "fieldName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "leftType"}}}}}]}}}}}},
{
"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": "rightType"}}}}},
{
"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.errors.UnificationError"}}}}},
{
"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 rightType field of hydra.core.errors.UnificationError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.errors.unificationErrorWithMessage",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.errors.UnificationError"}}},
"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.errors.UnificationError"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "original",
"domain": {
"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.errors.UnificationError"}}},
"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.errors.UnificationError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "leftType"}}}}},
{
"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.errors.UnificationError"}}}}},
{
"name": "fieldName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "leftType"}}}}}]}}}}}},
{
"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": "rightType"}}}}},
{
"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.errors.UnificationError"}}}}},
{
"name": "fieldName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "rightType"}}}}}]}}}}}},
{
"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.errors.UnificationError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.errors.unificationInferenceErrorUnificationInferenceError",
"signature": {
"typeParameters": [],
"parameters": [],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedName"},
"argument": {"variable": "hydra.core.errors.UnificationInferenceError"}}}}},
"body": {
"annotated": {
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedName",
"body": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.errors.UnificationInferenceError"}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL name token for hydra.core.errors.UnificationInferenceError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.errors.unificationInferenceError",
"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 unification failure was observed"}}}]}}}}},
"isLazy": false},
{
"name": "arg1",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.errors.UnificationError"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The underlying unification error"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.errors.UnificationInferenceError"}}}}},
"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 unification failure was observed"}}}]}}}}},
"body": {
"lambda": {
"parameter": "cause",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.errors.UnificationError"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The underlying unification error"}}}]}}}}},
"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.errors.UnificationInferenceError"}}}}},
{
"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": "cause"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "cause"}}}}]}}]}}]}}}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL constructor for hydra.core.errors.UnificationInferenceError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.errors.unificationInferenceErrorPath",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.errors.UnificationInferenceError"}}},
"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 unification failure was observed"}}}]}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.errors.UnificationInferenceError"}}},
"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.errors.UnificationInferenceError"}}}}},
{"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.errors.UnificationInferenceError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.errors.unificationInferenceErrorCause",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.errors.UnificationInferenceError"}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.errors.UnificationError"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The underlying unification error"}}}]}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.errors.UnificationInferenceError"}}},
"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.errors.UnificationInferenceError"}}}}},
{"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "cause"}}}}}]}}}}}},
{
"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 cause field of hydra.core.errors.UnificationInferenceError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.errors.unificationInferenceErrorWithPath",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.errors.UnificationInferenceError"}}},
"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 unification failure was observed"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.errors.UnificationInferenceError"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "original",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.errors.UnificationInferenceError"}}},
"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 unification failure 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.errors.UnificationInferenceError"}}}}},
{
"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": "cause"}}}}},
{
"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.errors.UnificationInferenceError"}}}}},
{"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "cause"}}}}}]}}}}}},
{
"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.errors.UnificationInferenceError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.errors.unificationInferenceErrorWithCause",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.errors.UnificationInferenceError"}}},
"isLazy": false},
{
"name": "arg1",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.errors.UnificationError"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The underlying unification error"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.errors.UnificationInferenceError"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "original",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"variable": "hydra.core.errors.UnificationInferenceError"}}},
"body": {
"lambda": {
"parameter": "newVal",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "hydra.core.errors.UnificationError"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The underlying unification error"}}}]}}}}},
"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.errors.UnificationInferenceError"}}}}},
{
"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.errors.UnificationInferenceError"}}}}},
{"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": "cause"}}}}},
{
"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 cause field of hydra.core.errors.UnificationInferenceError"}}}]}}}}}]}