hydra-kernel-0.18.1: hydra-kernel-json/hydra/core/encode/error/model.json
{
"name": "hydra.core.encode.error.model",
"metadata": {"description": "Term encoders for hydra.core.error.model", "comments": [], "seeAlso": [], "provisions": []},
"dependencies": [
{"module": "hydra.core.encode.model"},
{"module": "hydra.core.encode.paths"},
{"module": "hydra.core.encode.variants"},
{"module": "hydra.core.error.model"}],
"definitions": [
{
"term": {
"name": "hydra.core.encode.error.model.constantConditionError",
"signature": {
"typeParameters": [],
"parameters": [{"name": "arg0", "type": {"variable": "hydra.core.error.model.ConstantConditionError"}, "isLazy": false}],
"result": {"type": {"variable": "hydra.core.model.Term"}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {"variable": "hydra.core.error.model.ConstantConditionError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.ConstantConditionError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.paths.subtermPath"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.model.ConstantConditionError", "fieldName": "location"}},
"argument": {"variable": "x"}}}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "value"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {
"lambda": {
"parameter": "x",
"domain": {"literal": "boolean"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "literal",
"term": {"inject": {"typeName": "hydra.core.model.Literal", "field": {"name": "boolean", "term": {"variable": "x"}}}}}}}}},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.model.ConstantConditionError", "fieldName": "value"}},
"argument": {"variable": "x"}}}}}}]}}]}}]}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "Encoder for hydra.core.error.model.ConstantConditionError"}}}]}}}}},
{
"term": {
"name": "hydra.core.encode.error.model.duplicateBindingError",
"signature": {
"typeParameters": [],
"parameters": [{"name": "arg0", "type": {"variable": "hydra.core.error.model.DuplicateBindingError"}, "isLazy": false}],
"result": {"type": {"variable": "hydra.core.model.Term"}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {"variable": "hydra.core.error.model.DuplicateBindingError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.DuplicateBindingError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.paths.subtermPath"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.model.DuplicateBindingError", "fieldName": "location"}},
"argument": {"variable": "x"}}}}}}]}},
{
"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": {"variable": "hydra.core.encode.model.name"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.model.DuplicateBindingError", "fieldName": "name"}},
"argument": {"variable": "x"}}}}}}]}}]}}]}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "Encoder for hydra.core.error.model.DuplicateBindingError"}}}]}}}}},
{
"term": {
"name": "hydra.core.encode.error.model.duplicateFieldError",
"signature": {
"typeParameters": [],
"parameters": [{"name": "arg0", "type": {"variable": "hydra.core.error.model.DuplicateFieldError"}, "isLazy": false}],
"result": {"type": {"variable": "hydra.core.model.Term"}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {"variable": "hydra.core.error.model.DuplicateFieldError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.DuplicateFieldError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.paths.subtermPath"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.model.DuplicateFieldError", "fieldName": "location"}},
"argument": {"variable": "x"}}}}}}]}},
{
"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": {"variable": "hydra.core.encode.model.name"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.model.DuplicateFieldError", "fieldName": "name"}},
"argument": {"variable": "x"}}}}}}]}}]}}]}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "Encoder for hydra.core.error.model.DuplicateFieldError"}}}]}}}}},
{
"term": {
"name": "hydra.core.encode.error.model.duplicateRecordTypeFieldNamesError",
"signature": {
"typeParameters": [],
"parameters": [{"name": "arg0", "type": {"variable": "hydra.core.error.model.DuplicateRecordTypeFieldNamesError"}, "isLazy": false}],
"result": {"type": {"variable": "hydra.core.model.Term"}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {"variable": "hydra.core.error.model.DuplicateRecordTypeFieldNamesError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.model.DuplicateRecordTypeFieldNamesError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.paths.subtermPath"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.model.DuplicateRecordTypeFieldNamesError", "fieldName": "location"}},
"argument": {"variable": "x"}}}}}}]}},
{
"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": {"variable": "hydra.core.encode.model.name"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.model.DuplicateRecordTypeFieldNamesError", "fieldName": "name"}},
"argument": {"variable": "x"}}}}}}]}}]}}]}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "Encoder for hydra.core.error.model.DuplicateRecordTypeFieldNamesError"}}}]}}}}},
{
"term": {
"name": "hydra.core.encode.error.model.duplicateUnionTypeFieldNamesError",
"signature": {
"typeParameters": [],
"parameters": [{"name": "arg0", "type": {"variable": "hydra.core.error.model.DuplicateUnionTypeFieldNamesError"}, "isLazy": false}],
"result": {"type": {"variable": "hydra.core.model.Term"}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {"variable": "hydra.core.error.model.DuplicateUnionTypeFieldNamesError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.model.DuplicateUnionTypeFieldNamesError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.paths.subtermPath"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.model.DuplicateUnionTypeFieldNamesError", "fieldName": "location"}},
"argument": {"variable": "x"}}}}}}]}},
{
"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": {"variable": "hydra.core.encode.model.name"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.model.DuplicateUnionTypeFieldNamesError", "fieldName": "name"}},
"argument": {"variable": "x"}}}}}}]}}]}}]}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "Encoder for hydra.core.error.model.DuplicateUnionTypeFieldNamesError"}}}]}}}}},
{
"term": {
"name": "hydra.core.encode.error.model.emptyCaseStatementError",
"signature": {
"typeParameters": [],
"parameters": [{"name": "arg0", "type": {"variable": "hydra.core.error.model.EmptyCaseStatementError"}, "isLazy": false}],
"result": {"type": {"variable": "hydra.core.model.Term"}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {"variable": "hydra.core.error.model.EmptyCaseStatementError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.EmptyCaseStatementError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.paths.subtermPath"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.model.EmptyCaseStatementError", "fieldName": "location"}},
"argument": {"variable": "x"}}}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeName"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.model.name"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.model.EmptyCaseStatementError", "fieldName": "typeName"}},
"argument": {"variable": "x"}}}}}}]}}]}}]}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "Encoder for hydra.core.error.model.EmptyCaseStatementError"}}}]}}}}},
{
"term": {
"name": "hydra.core.encode.error.model.emptyLetBindingsError",
"signature": {
"typeParameters": [],
"parameters": [{"name": "arg0", "type": {"variable": "hydra.core.error.model.EmptyLetBindingsError"}, "isLazy": false}],
"result": {"type": {"variable": "hydra.core.model.Term"}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {"variable": "hydra.core.error.model.EmptyLetBindingsError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.EmptyLetBindingsError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.paths.subtermPath"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.model.EmptyLetBindingsError", "fieldName": "location"}},
"argument": {"variable": "x"}}}}}}]}}]}}]}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "Encoder for hydra.core.error.model.EmptyLetBindingsError"}}}]}}}}},
{
"term": {
"name": "hydra.core.encode.error.model.emptyRecordTypeError",
"signature": {
"typeParameters": [],
"parameters": [{"name": "arg0", "type": {"variable": "hydra.core.error.model.EmptyRecordTypeError"}, "isLazy": false}],
"result": {"type": {"variable": "hydra.core.model.Term"}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {"variable": "hydra.core.error.model.EmptyRecordTypeError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.EmptyRecordTypeError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.paths.subtermPath"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.model.EmptyRecordTypeError", "fieldName": "location"}},
"argument": {"variable": "x"}}}}}}]}}]}}]}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "Encoder for hydra.core.error.model.EmptyRecordTypeError"}}}]}}}}},
{
"term": {
"name": "hydra.core.encode.error.model.emptyTermAnnotationError",
"signature": {
"typeParameters": [],
"parameters": [{"name": "arg0", "type": {"variable": "hydra.core.error.model.EmptyTermAnnotationError"}, "isLazy": false}],
"result": {"type": {"variable": "hydra.core.model.Term"}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {"variable": "hydra.core.error.model.EmptyTermAnnotationError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.model.EmptyTermAnnotationError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.paths.subtermPath"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.model.EmptyTermAnnotationError", "fieldName": "location"}},
"argument": {"variable": "x"}}}}}}]}}]}}]}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "Encoder for hydra.core.error.model.EmptyTermAnnotationError"}}}]}}}}},
{
"term": {
"name": "hydra.core.encode.error.model.emptyTypeAnnotationError",
"signature": {
"typeParameters": [],
"parameters": [{"name": "arg0", "type": {"variable": "hydra.core.error.model.EmptyTypeAnnotationError"}, "isLazy": false}],
"result": {"type": {"variable": "hydra.core.model.Term"}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {"variable": "hydra.core.error.model.EmptyTypeAnnotationError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.model.EmptyTypeAnnotationError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.paths.subtermPath"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.model.EmptyTypeAnnotationError", "fieldName": "location"}},
"argument": {"variable": "x"}}}}}}]}}]}}]}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "Encoder for hydra.core.error.model.EmptyTypeAnnotationError"}}}]}}}}},
{
"term": {
"name": "hydra.core.encode.error.model.emptyTypeNameInTermError",
"signature": {
"typeParameters": [],
"parameters": [{"name": "arg0", "type": {"variable": "hydra.core.error.model.EmptyTypeNameInTermError"}, "isLazy": false}],
"result": {"type": {"variable": "hydra.core.model.Term"}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {"variable": "hydra.core.error.model.EmptyTypeNameInTermError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.model.EmptyTypeNameInTermError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.paths.subtermPath"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.model.EmptyTypeNameInTermError", "fieldName": "location"}},
"argument": {"variable": "x"}}}}}}]}}]}}]}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "Encoder for hydra.core.error.model.EmptyTypeNameInTermError"}}}]}}}}},
{
"term": {
"name": "hydra.core.encode.error.model.emptyUnionTypeError",
"signature": {
"typeParameters": [],
"parameters": [{"name": "arg0", "type": {"variable": "hydra.core.error.model.EmptyUnionTypeError"}, "isLazy": false}],
"result": {"type": {"variable": "hydra.core.model.Term"}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {"variable": "hydra.core.error.model.EmptyUnionTypeError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.EmptyUnionTypeError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.paths.subtermPath"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.model.EmptyUnionTypeError", "fieldName": "location"}},
"argument": {"variable": "x"}}}}}}]}}]}}]}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "Encoder for hydra.core.error.model.EmptyUnionTypeError"}}}]}}}}},
{
"term": {
"name": "hydra.core.encode.error.model.extraRecordFieldsError",
"signature": {
"typeParameters": [],
"parameters": [{"name": "arg0", "type": {"variable": "hydra.core.error.model.ExtraRecordFieldsError"}, "isLazy": false}],
"result": {"type": {"variable": "hydra.core.model.Term"}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {"variable": "hydra.core.error.model.ExtraRecordFieldsError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.ExtraRecordFieldsError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.paths.subtermPath"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.model.ExtraRecordFieldsError", "fieldName": "location"}},
"argument": {"variable": "x"}}}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeName"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.model.name"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.model.ExtraRecordFieldsError", "fieldName": "typeName"}},
"argument": {"variable": "x"}}}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "fieldNames"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {
"lambda": {
"parameter": "xs",
"domain": {"list": {"variable": "hydra.core.model.Name"}},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "list",
"term": {
"application": {
"function": {
"application": {
"function": {
"typeApplication": {
"body": {"typeApplication": {"body": {"variable": "hydra.core.lib.lists.map"}, "type": {"variable": "hydra.core.model.Name"}}},
"type": {"variable": "hydra.core.model.Term"}}},
"argument": {"variable": "hydra.core.encode.model.name"}}},
"argument": {"variable": "xs"}}}}}}}},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.model.ExtraRecordFieldsError", "fieldName": "fieldNames"}},
"argument": {"variable": "x"}}}}}}]}}]}}]}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "Encoder for hydra.core.error.model.ExtraRecordFieldsError"}}}]}}}}},
{
"term": {
"name": "hydra.core.encode.error.model.invalidForallParameterNameError",
"signature": {
"typeParameters": [],
"parameters": [{"name": "arg0", "type": {"variable": "hydra.core.error.model.InvalidForallParameterNameError"}, "isLazy": false}],
"result": {"type": {"variable": "hydra.core.model.Term"}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {"variable": "hydra.core.error.model.InvalidForallParameterNameError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.model.InvalidForallParameterNameError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.paths.subtermPath"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.model.InvalidForallParameterNameError", "fieldName": "location"}},
"argument": {"variable": "x"}}}}}}]}},
{
"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": {"variable": "hydra.core.encode.model.name"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.model.InvalidForallParameterNameError", "fieldName": "name"}},
"argument": {"variable": "x"}}}}}}]}}]}}]}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "Encoder for hydra.core.error.model.InvalidForallParameterNameError"}}}]}}}}},
{
"term": {
"name": "hydra.core.encode.error.model.invalidLambdaParameterNameError",
"signature": {
"typeParameters": [],
"parameters": [{"name": "arg0", "type": {"variable": "hydra.core.error.model.InvalidLambdaParameterNameError"}, "isLazy": false}],
"result": {"type": {"variable": "hydra.core.model.Term"}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {"variable": "hydra.core.error.model.InvalidLambdaParameterNameError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.model.InvalidLambdaParameterNameError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.paths.subtermPath"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.model.InvalidLambdaParameterNameError", "fieldName": "location"}},
"argument": {"variable": "x"}}}}}}]}},
{
"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": {"variable": "hydra.core.encode.model.name"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.model.InvalidLambdaParameterNameError", "fieldName": "name"}},
"argument": {"variable": "x"}}}}}}]}}]}}]}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "Encoder for hydra.core.error.model.InvalidLambdaParameterNameError"}}}]}}}}},
{
"term": {
"name": "hydra.core.encode.error.model.invalidLetBindingNameError",
"signature": {
"typeParameters": [],
"parameters": [{"name": "arg0", "type": {"variable": "hydra.core.error.model.InvalidLetBindingNameError"}, "isLazy": false}],
"result": {"type": {"variable": "hydra.core.model.Term"}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {"variable": "hydra.core.error.model.InvalidLetBindingNameError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.model.InvalidLetBindingNameError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.paths.subtermPath"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.model.InvalidLetBindingNameError", "fieldName": "location"}},
"argument": {"variable": "x"}}}}}}]}},
{
"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": {"variable": "hydra.core.encode.model.name"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.model.InvalidLetBindingNameError", "fieldName": "name"}},
"argument": {"variable": "x"}}}}}}]}}]}}]}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "Encoder for hydra.core.error.model.InvalidLetBindingNameError"}}}]}}}}},
{
"term": {
"name": "hydra.core.encode.error.model.invalidLiteralError",
"signature": {
"typeParameters": [],
"parameters": [{"name": "arg0", "type": {"variable": "hydra.core.error.model.InvalidLiteralError"}, "isLazy": false}],
"result": {"type": {"variable": "hydra.core.model.Term"}}},
"body": {
"annotated": {
"body": {
"cases": {
"typeName": "hydra.core.error.model.InvalidLiteralError",
"cases": [
{
"name": "typeMismatch",
"handler": {
"lambda": {
"parameter": "y",
"domain": {"variable": "hydra.core.error.model.LiteralTypeMismatchError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "inject",
"term": {
"record": {
"typeName": "hydra.core.model.Injection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.InvalidLiteralError"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeMismatch"}}}}},
{
"name": "term",
"term": {
"application": {"function": {"variable": "hydra.core.encode.error.model.literalTypeMismatchError"}, "argument": {"variable": "y"}}}}]}}}]}}}}}}}}]}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "Encoder for hydra.core.error.model.InvalidLiteralError"}}}]}}}}},
{
"term": {
"name": "hydra.core.encode.error.model.invalidTermError",
"signature": {
"typeParameters": [],
"parameters": [{"name": "arg0", "type": {"variable": "hydra.core.error.model.InvalidTermError"}, "isLazy": false}],
"result": {"type": {"variable": "hydra.core.model.Term"}}},
"body": {
"annotated": {
"body": {
"cases": {
"typeName": "hydra.core.error.model.InvalidTermError",
"cases": [
{
"name": "constantCondition",
"handler": {
"lambda": {
"parameter": "y",
"domain": {"variable": "hydra.core.error.model.ConstantConditionError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "inject",
"term": {
"record": {
"typeName": "hydra.core.model.Injection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.InvalidTermError"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "constantCondition"}}}}},
{
"name": "term",
"term": {
"application": {"function": {"variable": "hydra.core.encode.error.model.constantConditionError"}, "argument": {"variable": "y"}}}}]}}}]}}}}}}}},
{
"name": "duplicateBinding",
"handler": {
"lambda": {
"parameter": "y",
"domain": {"variable": "hydra.core.error.model.DuplicateBindingError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "inject",
"term": {
"record": {
"typeName": "hydra.core.model.Injection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.InvalidTermError"}}}}},
{
"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": {"variable": "hydra.core.encode.error.model.duplicateBindingError"}, "argument": {"variable": "y"}}}}]}}}]}}}}}}}},
{
"name": "duplicateField",
"handler": {
"lambda": {
"parameter": "y",
"domain": {"variable": "hydra.core.error.model.DuplicateFieldError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "inject",
"term": {
"record": {
"typeName": "hydra.core.model.Injection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.InvalidTermError"}}}}},
{
"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": {"variable": "hydra.core.encode.error.model.duplicateFieldError"}, "argument": {"variable": "y"}}}}]}}}]}}}}}}}},
{
"name": "emptyCaseStatement",
"handler": {
"lambda": {
"parameter": "y",
"domain": {"variable": "hydra.core.error.model.EmptyCaseStatementError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "inject",
"term": {
"record": {
"typeName": "hydra.core.model.Injection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.InvalidTermError"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "emptyCaseStatement"}}}}},
{
"name": "term",
"term": {
"application": {"function": {"variable": "hydra.core.encode.error.model.emptyCaseStatementError"}, "argument": {"variable": "y"}}}}]}}}]}}}}}}}},
{
"name": "emptyLetBindings",
"handler": {
"lambda": {
"parameter": "y",
"domain": {"variable": "hydra.core.error.model.EmptyLetBindingsError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "inject",
"term": {
"record": {
"typeName": "hydra.core.model.Injection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.InvalidTermError"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "emptyLetBindings"}}}}},
{
"name": "term",
"term": {
"application": {"function": {"variable": "hydra.core.encode.error.model.emptyLetBindingsError"}, "argument": {"variable": "y"}}}}]}}}]}}}}}}}},
{
"name": "emptyTermAnnotation",
"handler": {
"lambda": {
"parameter": "y",
"domain": {"variable": "hydra.core.error.model.EmptyTermAnnotationError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "inject",
"term": {
"record": {
"typeName": "hydra.core.model.Injection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.InvalidTermError"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "emptyTermAnnotation"}}}}},
{
"name": "term",
"term": {
"application": {"function": {"variable": "hydra.core.encode.error.model.emptyTermAnnotationError"}, "argument": {"variable": "y"}}}}]}}}]}}}}}}}},
{
"name": "emptyTypeNameInTerm",
"handler": {
"lambda": {
"parameter": "y",
"domain": {"variable": "hydra.core.error.model.EmptyTypeNameInTermError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "inject",
"term": {
"record": {
"typeName": "hydra.core.model.Injection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.InvalidTermError"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "emptyTypeNameInTerm"}}}}},
{
"name": "term",
"term": {
"application": {"function": {"variable": "hydra.core.encode.error.model.emptyTypeNameInTermError"}, "argument": {"variable": "y"}}}}]}}}]}}}}}}}},
{
"name": "extraRecordFields",
"handler": {
"lambda": {
"parameter": "y",
"domain": {"variable": "hydra.core.error.model.ExtraRecordFieldsError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "inject",
"term": {
"record": {
"typeName": "hydra.core.model.Injection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.InvalidTermError"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "extraRecordFields"}}}}},
{
"name": "term",
"term": {
"application": {"function": {"variable": "hydra.core.encode.error.model.extraRecordFieldsError"}, "argument": {"variable": "y"}}}}]}}}]}}}}}}}},
{
"name": "invalidLambdaParameterName",
"handler": {
"lambda": {
"parameter": "y",
"domain": {"variable": "hydra.core.error.model.InvalidLambdaParameterNameError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "inject",
"term": {
"record": {
"typeName": "hydra.core.model.Injection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.InvalidTermError"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "invalidLambdaParameterName"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.error.model.invalidLambdaParameterNameError"},
"argument": {"variable": "y"}}}}]}}}]}}}}}}}},
{
"name": "invalidLetBindingName",
"handler": {
"lambda": {
"parameter": "y",
"domain": {"variable": "hydra.core.error.model.InvalidLetBindingNameError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "inject",
"term": {
"record": {
"typeName": "hydra.core.model.Injection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.InvalidTermError"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "invalidLetBindingName"}}}}},
{
"name": "term",
"term": {
"application": {"function": {"variable": "hydra.core.encode.error.model.invalidLetBindingNameError"}, "argument": {"variable": "y"}}}}]}}}]}}}}}}}},
{
"name": "invalidTypeLambdaParameterName",
"handler": {
"lambda": {
"parameter": "y",
"domain": {"variable": "hydra.core.error.model.InvalidTypeLambdaParameterNameError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "inject",
"term": {
"record": {
"typeName": "hydra.core.model.Injection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.InvalidTermError"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "invalidTypeLambdaParameterName"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.error.model.invalidTypeLambdaParameterNameError"},
"argument": {"variable": "y"}}}}]}}}]}}}}}}}},
{
"name": "missingCaseBranches",
"handler": {
"lambda": {
"parameter": "y",
"domain": {"variable": "hydra.core.error.model.MissingCaseBranchesError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "inject",
"term": {
"record": {
"typeName": "hydra.core.model.Injection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.InvalidTermError"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "missingCaseBranches"}}}}},
{
"name": "term",
"term": {
"application": {"function": {"variable": "hydra.core.encode.error.model.missingCaseBranchesError"}, "argument": {"variable": "y"}}}}]}}}]}}}}}}}},
{
"name": "missingRecordFields",
"handler": {
"lambda": {
"parameter": "y",
"domain": {"variable": "hydra.core.error.model.MissingRecordFieldsError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "inject",
"term": {
"record": {
"typeName": "hydra.core.model.Injection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.InvalidTermError"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "missingRecordFields"}}}}},
{
"name": "term",
"term": {
"application": {"function": {"variable": "hydra.core.encode.error.model.missingRecordFieldsError"}, "argument": {"variable": "y"}}}}]}}}]}}}}}}}},
{
"name": "nestedTermAnnotation",
"handler": {
"lambda": {
"parameter": "y",
"domain": {"variable": "hydra.core.error.model.NestedTermAnnotationError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "inject",
"term": {
"record": {
"typeName": "hydra.core.model.Injection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.InvalidTermError"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "nestedTermAnnotation"}}}}},
{
"name": "term",
"term": {
"application": {"function": {"variable": "hydra.core.encode.error.model.nestedTermAnnotationError"}, "argument": {"variable": "y"}}}}]}}}]}}}}}}}},
{
"name": "nominalTypeKindMismatch",
"handler": {
"lambda": {
"parameter": "y",
"domain": {"variable": "hydra.core.error.model.NominalTypeKindMismatchError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "inject",
"term": {
"record": {
"typeName": "hydra.core.model.Injection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.InvalidTermError"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "nominalTypeKindMismatch"}}}}},
{
"name": "term",
"term": {
"application": {"function": {"variable": "hydra.core.encode.error.model.nominalTypeKindMismatchError"}, "argument": {"variable": "y"}}}}]}}}]}}}}}}}},
{
"name": "redundantWrapUnwrap",
"handler": {
"lambda": {
"parameter": "y",
"domain": {"variable": "hydra.core.error.model.RedundantWrapUnwrapError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "inject",
"term": {
"record": {
"typeName": "hydra.core.model.Injection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.InvalidTermError"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "redundantWrapUnwrap"}}}}},
{
"name": "term",
"term": {
"application": {"function": {"variable": "hydra.core.encode.error.model.redundantWrapUnwrapError"}, "argument": {"variable": "y"}}}}]}}}]}}}}}}}},
{
"name": "selfApplication",
"handler": {
"lambda": {
"parameter": "y",
"domain": {"variable": "hydra.core.error.model.SelfApplicationError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "inject",
"term": {
"record": {
"typeName": "hydra.core.model.Injection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.InvalidTermError"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "selfApplication"}}}}},
{
"name": "term",
"term": {
"application": {"function": {"variable": "hydra.core.encode.error.model.selfApplicationError"}, "argument": {"variable": "y"}}}}]}}}]}}}}}}}},
{
"name": "termVariableShadowing",
"handler": {
"lambda": {
"parameter": "y",
"domain": {"variable": "hydra.core.error.model.TermVariableShadowingError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "inject",
"term": {
"record": {
"typeName": "hydra.core.model.Injection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.InvalidTermError"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "termVariableShadowing"}}}}},
{
"name": "term",
"term": {
"application": {"function": {"variable": "hydra.core.encode.error.model.termVariableShadowingError"}, "argument": {"variable": "y"}}}}]}}}]}}}}}}}},
{
"name": "typeVariableShadowingInTypeLambda",
"handler": {
"lambda": {
"parameter": "y",
"domain": {"variable": "hydra.core.error.model.TypeVariableShadowingInTypeLambdaError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "inject",
"term": {
"record": {
"typeName": "hydra.core.model.Injection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.InvalidTermError"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeVariableShadowingInTypeLambda"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.error.model.typeVariableShadowingInTypeLambdaError"},
"argument": {"variable": "y"}}}}]}}}]}}}}}}}},
{
"name": "undeclaredVariant",
"handler": {
"lambda": {
"parameter": "y",
"domain": {"variable": "hydra.core.error.model.UndeclaredVariantError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "inject",
"term": {
"record": {
"typeName": "hydra.core.model.Injection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.InvalidTermError"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "undeclaredVariant"}}}}},
{
"name": "term",
"term": {
"application": {"function": {"variable": "hydra.core.encode.error.model.undeclaredVariantError"}, "argument": {"variable": "y"}}}}]}}}]}}}}}}}},
{
"name": "undefinedTermVariable",
"handler": {
"lambda": {
"parameter": "y",
"domain": {"variable": "hydra.core.error.model.UndefinedTermVariableError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "inject",
"term": {
"record": {
"typeName": "hydra.core.model.Injection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.InvalidTermError"}}}}},
{
"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": {"variable": "hydra.core.encode.error.model.undefinedTermVariableError"}, "argument": {"variable": "y"}}}}]}}}]}}}}}}}},
{
"name": "undefinedTypeVariableInBindingType",
"handler": {
"lambda": {
"parameter": "y",
"domain": {"variable": "hydra.core.error.model.UndefinedTypeVariableInBindingTypeError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "inject",
"term": {
"record": {
"typeName": "hydra.core.model.Injection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.InvalidTermError"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "undefinedTypeVariableInBindingType"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.error.model.undefinedTypeVariableInBindingTypeError"},
"argument": {"variable": "y"}}}}]}}}]}}}}}}}},
{
"name": "undefinedTypeVariableInLambdaDomain",
"handler": {
"lambda": {
"parameter": "y",
"domain": {"variable": "hydra.core.error.model.UndefinedTypeVariableInLambdaDomainError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "inject",
"term": {
"record": {
"typeName": "hydra.core.model.Injection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.InvalidTermError"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "undefinedTypeVariableInLambdaDomain"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.error.model.undefinedTypeVariableInLambdaDomainError"},
"argument": {"variable": "y"}}}}]}}}]}}}}}}}},
{
"name": "undefinedTypeVariableInTypeApplication",
"handler": {
"lambda": {
"parameter": "y",
"domain": {"variable": "hydra.core.error.model.UndefinedTypeVariableInTypeApplicationError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "inject",
"term": {
"record": {
"typeName": "hydra.core.model.Injection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.InvalidTermError"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "undefinedTypeVariableInTypeApplication"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.error.model.undefinedTypeVariableInTypeApplicationError"},
"argument": {"variable": "y"}}}}]}}}]}}}}}}}},
{
"name": "unknownCaseAlternative",
"handler": {
"lambda": {
"parameter": "y",
"domain": {"variable": "hydra.core.error.model.UnknownCaseAlternativeError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "inject",
"term": {
"record": {
"typeName": "hydra.core.model.Injection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.InvalidTermError"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "unknownCaseAlternative"}}}}},
{
"name": "term",
"term": {
"application": {"function": {"variable": "hydra.core.encode.error.model.unknownCaseAlternativeError"}, "argument": {"variable": "y"}}}}]}}}]}}}}}}}},
{
"name": "unknownPrimitiveName",
"handler": {
"lambda": {
"parameter": "y",
"domain": {"variable": "hydra.core.error.model.UnknownPrimitiveNameError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "inject",
"term": {
"record": {
"typeName": "hydra.core.model.Injection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.InvalidTermError"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "unknownPrimitiveName"}}}}},
{
"name": "term",
"term": {
"application": {"function": {"variable": "hydra.core.encode.error.model.unknownPrimitiveNameError"}, "argument": {"variable": "y"}}}}]}}}]}}}}}}}},
{
"name": "unknownProjectedField",
"handler": {
"lambda": {
"parameter": "y",
"domain": {"variable": "hydra.core.error.model.UnknownProjectedFieldError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "inject",
"term": {
"record": {
"typeName": "hydra.core.model.Injection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.InvalidTermError"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "unknownProjectedField"}}}}},
{
"name": "term",
"term": {
"application": {"function": {"variable": "hydra.core.encode.error.model.unknownProjectedFieldError"}, "argument": {"variable": "y"}}}}]}}}]}}}}}}}},
{
"name": "unnecessaryIdentityApplication",
"handler": {
"lambda": {
"parameter": "y",
"domain": {"variable": "hydra.core.error.model.UnnecessaryIdentityApplicationError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "inject",
"term": {
"record": {
"typeName": "hydra.core.model.Injection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.InvalidTermError"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "unnecessaryIdentityApplication"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.error.model.unnecessaryIdentityApplicationError"},
"argument": {"variable": "y"}}}}]}}}]}}}}}}}},
{
"name": "unresolvedNominalType",
"handler": {
"lambda": {
"parameter": "y",
"domain": {"variable": "hydra.core.error.model.UnresolvedNominalTypeError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "inject",
"term": {
"record": {
"typeName": "hydra.core.model.Injection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.InvalidTermError"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "unresolvedNominalType"}}}}},
{
"name": "term",
"term": {
"application": {"function": {"variable": "hydra.core.encode.error.model.unresolvedNominalTypeError"}, "argument": {"variable": "y"}}}}]}}}]}}}}}}}},
{
"name": "untypedTermVariable",
"handler": {
"lambda": {
"parameter": "y",
"domain": {"variable": "hydra.core.error.model.UntypedTermVariableError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "inject",
"term": {
"record": {
"typeName": "hydra.core.model.Injection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.InvalidTermError"}}}}},
{
"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": {"variable": "hydra.core.encode.error.model.untypedTermVariableError"}, "argument": {"variable": "y"}}}}]}}}]}}}}}}}}]}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "Encoder for hydra.core.error.model.InvalidTermError"}}}]}}}}},
{
"term": {
"name": "hydra.core.encode.error.model.invalidTypeError",
"signature": {
"typeParameters": [],
"parameters": [{"name": "arg0", "type": {"variable": "hydra.core.error.model.InvalidTypeError"}, "isLazy": false}],
"result": {"type": {"variable": "hydra.core.model.Term"}}},
"body": {
"annotated": {
"body": {
"cases": {
"typeName": "hydra.core.error.model.InvalidTypeError",
"cases": [
{
"name": "duplicateRecordTypeFieldNames",
"handler": {
"lambda": {
"parameter": "y",
"domain": {"variable": "hydra.core.error.model.DuplicateRecordTypeFieldNamesError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "inject",
"term": {
"record": {
"typeName": "hydra.core.model.Injection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.InvalidTypeError"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "duplicateRecordTypeFieldNames"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.error.model.duplicateRecordTypeFieldNamesError"},
"argument": {"variable": "y"}}}}]}}}]}}}}}}}},
{
"name": "duplicateUnionTypeFieldNames",
"handler": {
"lambda": {
"parameter": "y",
"domain": {"variable": "hydra.core.error.model.DuplicateUnionTypeFieldNamesError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "inject",
"term": {
"record": {
"typeName": "hydra.core.model.Injection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.InvalidTypeError"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "duplicateUnionTypeFieldNames"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.error.model.duplicateUnionTypeFieldNamesError"},
"argument": {"variable": "y"}}}}]}}}]}}}}}}}},
{
"name": "emptyRecordType",
"handler": {
"lambda": {
"parameter": "y",
"domain": {"variable": "hydra.core.error.model.EmptyRecordTypeError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "inject",
"term": {
"record": {
"typeName": "hydra.core.model.Injection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.InvalidTypeError"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "emptyRecordType"}}}}},
{
"name": "term",
"term": {
"application": {"function": {"variable": "hydra.core.encode.error.model.emptyRecordTypeError"}, "argument": {"variable": "y"}}}}]}}}]}}}}}}}},
{
"name": "emptyTypeAnnotation",
"handler": {
"lambda": {
"parameter": "y",
"domain": {"variable": "hydra.core.error.model.EmptyTypeAnnotationError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "inject",
"term": {
"record": {
"typeName": "hydra.core.model.Injection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.InvalidTypeError"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "emptyTypeAnnotation"}}}}},
{
"name": "term",
"term": {
"application": {"function": {"variable": "hydra.core.encode.error.model.emptyTypeAnnotationError"}, "argument": {"variable": "y"}}}}]}}}]}}}}}}}},
{
"name": "emptyUnionType",
"handler": {
"lambda": {
"parameter": "y",
"domain": {"variable": "hydra.core.error.model.EmptyUnionTypeError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "inject",
"term": {
"record": {
"typeName": "hydra.core.model.Injection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.InvalidTypeError"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "emptyUnionType"}}}}},
{
"name": "term",
"term": {
"application": {"function": {"variable": "hydra.core.encode.error.model.emptyUnionTypeError"}, "argument": {"variable": "y"}}}}]}}}]}}}}}}}},
{
"name": "invalidForallParameterName",
"handler": {
"lambda": {
"parameter": "y",
"domain": {"variable": "hydra.core.error.model.InvalidForallParameterNameError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "inject",
"term": {
"record": {
"typeName": "hydra.core.model.Injection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.InvalidTypeError"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "invalidForallParameterName"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.error.model.invalidForallParameterNameError"},
"argument": {"variable": "y"}}}}]}}}]}}}}}}}},
{
"name": "invalidTypeSchemeVariableName",
"handler": {
"lambda": {
"parameter": "y",
"domain": {"variable": "hydra.core.error.model.InvalidTypeSchemeVariableNameError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "inject",
"term": {
"record": {
"typeName": "hydra.core.model.Injection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.InvalidTypeError"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "invalidTypeSchemeVariableName"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.error.model.invalidTypeSchemeVariableNameError"},
"argument": {"variable": "y"}}}}]}}}]}}}}}}}},
{
"name": "nestedTypeAnnotation",
"handler": {
"lambda": {
"parameter": "y",
"domain": {"variable": "hydra.core.error.model.NestedTypeAnnotationError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "inject",
"term": {
"record": {
"typeName": "hydra.core.model.Injection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.InvalidTypeError"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "nestedTypeAnnotation"}}}}},
{
"name": "term",
"term": {
"application": {"function": {"variable": "hydra.core.encode.error.model.nestedTypeAnnotationError"}, "argument": {"variable": "y"}}}}]}}}]}}}}}}}},
{
"name": "nonComparableMapKeyType",
"handler": {
"lambda": {
"parameter": "y",
"domain": {"variable": "hydra.core.error.model.NonComparableMapKeyTypeError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "inject",
"term": {
"record": {
"typeName": "hydra.core.model.Injection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.InvalidTypeError"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "nonComparableMapKeyType"}}}}},
{
"name": "term",
"term": {
"application": {"function": {"variable": "hydra.core.encode.error.model.nonComparableMapKeyTypeError"}, "argument": {"variable": "y"}}}}]}}}]}}}}}}}},
{
"name": "nonComparableSetElementType",
"handler": {
"lambda": {
"parameter": "y",
"domain": {"variable": "hydra.core.error.model.NonComparableSetElementTypeError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "inject",
"term": {
"record": {
"typeName": "hydra.core.model.Injection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.InvalidTypeError"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "nonComparableSetElementType"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.error.model.nonComparableSetElementTypeError"},
"argument": {"variable": "y"}}}}]}}}]}}}}}}}},
{
"name": "singleVariantUnion",
"handler": {
"lambda": {
"parameter": "y",
"domain": {"variable": "hydra.core.error.model.SingleVariantUnionError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "inject",
"term": {
"record": {
"typeName": "hydra.core.model.Injection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.InvalidTypeError"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "singleVariantUnion"}}}}},
{
"name": "term",
"term": {
"application": {"function": {"variable": "hydra.core.encode.error.model.singleVariantUnionError"}, "argument": {"variable": "y"}}}}]}}}]}}}}}}}},
{
"name": "typeVariableShadowingInForall",
"handler": {
"lambda": {
"parameter": "y",
"domain": {"variable": "hydra.core.error.model.TypeVariableShadowingInForallError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "inject",
"term": {
"record": {
"typeName": "hydra.core.model.Injection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.InvalidTypeError"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeVariableShadowingInForall"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.error.model.typeVariableShadowingInForallError"},
"argument": {"variable": "y"}}}}]}}}]}}}}}}}},
{
"name": "undefinedTypeVariable",
"handler": {
"lambda": {
"parameter": "y",
"domain": {"variable": "hydra.core.error.model.UndefinedTypeVariableError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "inject",
"term": {
"record": {
"typeName": "hydra.core.model.Injection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.InvalidTypeError"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "undefinedTypeVariable"}}}}},
{
"name": "term",
"term": {
"application": {"function": {"variable": "hydra.core.encode.error.model.undefinedTypeVariableError"}, "argument": {"variable": "y"}}}}]}}}]}}}}}}}},
{
"name": "voidInNonBottomPosition",
"handler": {
"lambda": {
"parameter": "y",
"domain": {"variable": "hydra.core.error.model.VoidInNonBottomPositionError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "inject",
"term": {
"record": {
"typeName": "hydra.core.model.Injection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.InvalidTypeError"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "voidInNonBottomPosition"}}}}},
{
"name": "term",
"term": {
"application": {"function": {"variable": "hydra.core.encode.error.model.voidInNonBottomPositionError"}, "argument": {"variable": "y"}}}}]}}}]}}}}}}}}]}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "Encoder for hydra.core.error.model.InvalidTypeError"}}}]}}}}},
{
"term": {
"name": "hydra.core.encode.error.model.invalidTypeLambdaParameterNameError",
"signature": {
"typeParameters": [],
"parameters": [{"name": "arg0", "type": {"variable": "hydra.core.error.model.InvalidTypeLambdaParameterNameError"}, "isLazy": false}],
"result": {"type": {"variable": "hydra.core.model.Term"}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {"variable": "hydra.core.error.model.InvalidTypeLambdaParameterNameError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.model.InvalidTypeLambdaParameterNameError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.paths.subtermPath"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.model.InvalidTypeLambdaParameterNameError", "fieldName": "location"}},
"argument": {"variable": "x"}}}}}}]}},
{
"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": {"variable": "hydra.core.encode.model.name"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.model.InvalidTypeLambdaParameterNameError", "fieldName": "name"}},
"argument": {"variable": "x"}}}}}}]}}]}}]}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "Encoder for hydra.core.error.model.InvalidTypeLambdaParameterNameError"}}}]}}}}},
{
"term": {
"name": "hydra.core.encode.error.model.invalidTypeSchemeVariableNameError",
"signature": {
"typeParameters": [],
"parameters": [{"name": "arg0", "type": {"variable": "hydra.core.error.model.InvalidTypeSchemeVariableNameError"}, "isLazy": false}],
"result": {"type": {"variable": "hydra.core.model.Term"}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {"variable": "hydra.core.error.model.InvalidTypeSchemeVariableNameError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.model.InvalidTypeSchemeVariableNameError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.paths.subtermPath"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.model.InvalidTypeSchemeVariableNameError", "fieldName": "location"}},
"argument": {"variable": "x"}}}}}}]}},
{
"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": {"variable": "hydra.core.encode.model.name"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.model.InvalidTypeSchemeVariableNameError", "fieldName": "name"}},
"argument": {"variable": "x"}}}}}}]}}]}}]}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "Encoder for hydra.core.error.model.InvalidTypeSchemeVariableNameError"}}}]}}}}},
{
"term": {
"name": "hydra.core.encode.error.model.literalTypeMismatchError",
"signature": {
"typeParameters": [],
"parameters": [{"name": "arg0", "type": {"variable": "hydra.core.error.model.LiteralTypeMismatchError"}, "isLazy": false}],
"result": {"type": {"variable": "hydra.core.model.Term"}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {"variable": "hydra.core.error.model.LiteralTypeMismatchError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.model.LiteralTypeMismatchError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "expectedType"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.model.literalType"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.model.LiteralTypeMismatchError", "fieldName": "expectedType"}},
"argument": {"variable": "x"}}}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "actualType"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.model.literalType"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.model.LiteralTypeMismatchError", "fieldName": "actualType"}},
"argument": {"variable": "x"}}}}}}]}}]}}]}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "Encoder for hydra.core.error.model.LiteralTypeMismatchError"}}}]}}}}},
{
"term": {
"name": "hydra.core.encode.error.model.missingCaseBranchesError",
"signature": {
"typeParameters": [],
"parameters": [{"name": "arg0", "type": {"variable": "hydra.core.error.model.MissingCaseBranchesError"}, "isLazy": false}],
"result": {"type": {"variable": "hydra.core.model.Term"}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {"variable": "hydra.core.error.model.MissingCaseBranchesError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.model.MissingCaseBranchesError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.paths.subtermPath"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.model.MissingCaseBranchesError", "fieldName": "location"}},
"argument": {"variable": "x"}}}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeName"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.model.name"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.model.MissingCaseBranchesError", "fieldName": "typeName"}},
"argument": {"variable": "x"}}}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "variantNames"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {
"lambda": {
"parameter": "xs",
"domain": {"list": {"variable": "hydra.core.model.Name"}},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "list",
"term": {
"application": {
"function": {
"application": {
"function": {
"typeApplication": {
"body": {"typeApplication": {"body": {"variable": "hydra.core.lib.lists.map"}, "type": {"variable": "hydra.core.model.Name"}}},
"type": {"variable": "hydra.core.model.Term"}}},
"argument": {"variable": "hydra.core.encode.model.name"}}},
"argument": {"variable": "xs"}}}}}}}},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.model.MissingCaseBranchesError", "fieldName": "variantNames"}},
"argument": {"variable": "x"}}}}}}]}}]}}]}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "Encoder for hydra.core.error.model.MissingCaseBranchesError"}}}]}}}}},
{
"term": {
"name": "hydra.core.encode.error.model.missingRecordFieldsError",
"signature": {
"typeParameters": [],
"parameters": [{"name": "arg0", "type": {"variable": "hydra.core.error.model.MissingRecordFieldsError"}, "isLazy": false}],
"result": {"type": {"variable": "hydra.core.model.Term"}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {"variable": "hydra.core.error.model.MissingRecordFieldsError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.model.MissingRecordFieldsError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.paths.subtermPath"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.model.MissingRecordFieldsError", "fieldName": "location"}},
"argument": {"variable": "x"}}}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeName"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.model.name"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.model.MissingRecordFieldsError", "fieldName": "typeName"}},
"argument": {"variable": "x"}}}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "fieldNames"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {
"lambda": {
"parameter": "xs",
"domain": {"list": {"variable": "hydra.core.model.Name"}},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "list",
"term": {
"application": {
"function": {
"application": {
"function": {
"typeApplication": {
"body": {"typeApplication": {"body": {"variable": "hydra.core.lib.lists.map"}, "type": {"variable": "hydra.core.model.Name"}}},
"type": {"variable": "hydra.core.model.Term"}}},
"argument": {"variable": "hydra.core.encode.model.name"}}},
"argument": {"variable": "xs"}}}}}}}},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.model.MissingRecordFieldsError", "fieldName": "fieldNames"}},
"argument": {"variable": "x"}}}}}}]}}]}}]}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "Encoder for hydra.core.error.model.MissingRecordFieldsError"}}}]}}}}},
{
"term": {
"name": "hydra.core.encode.error.model.nestedTermAnnotationError",
"signature": {
"typeParameters": [],
"parameters": [{"name": "arg0", "type": {"variable": "hydra.core.error.model.NestedTermAnnotationError"}, "isLazy": false}],
"result": {"type": {"variable": "hydra.core.model.Term"}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {"variable": "hydra.core.error.model.NestedTermAnnotationError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.model.NestedTermAnnotationError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.paths.subtermPath"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.model.NestedTermAnnotationError", "fieldName": "location"}},
"argument": {"variable": "x"}}}}}}]}}]}}]}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "Encoder for hydra.core.error.model.NestedTermAnnotationError"}}}]}}}}},
{
"term": {
"name": "hydra.core.encode.error.model.nestedTypeAnnotationError",
"signature": {
"typeParameters": [],
"parameters": [{"name": "arg0", "type": {"variable": "hydra.core.error.model.NestedTypeAnnotationError"}, "isLazy": false}],
"result": {"type": {"variable": "hydra.core.model.Term"}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {"variable": "hydra.core.error.model.NestedTypeAnnotationError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.model.NestedTypeAnnotationError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.paths.subtermPath"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.model.NestedTypeAnnotationError", "fieldName": "location"}},
"argument": {"variable": "x"}}}}}}]}}]}}]}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "Encoder for hydra.core.error.model.NestedTypeAnnotationError"}}}]}}}}},
{
"term": {
"name": "hydra.core.encode.error.model.nominalTypeKindMismatchError",
"signature": {
"typeParameters": [],
"parameters": [{"name": "arg0", "type": {"variable": "hydra.core.error.model.NominalTypeKindMismatchError"}, "isLazy": false}],
"result": {"type": {"variable": "hydra.core.model.Term"}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {"variable": "hydra.core.error.model.NominalTypeKindMismatchError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.model.NominalTypeKindMismatchError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.paths.subtermPath"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.model.NominalTypeKindMismatchError", "fieldName": "location"}},
"argument": {"variable": "x"}}}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeName"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.model.name"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.model.NominalTypeKindMismatchError", "fieldName": "typeName"}},
"argument": {"variable": "x"}}}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "expectedVariant"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.variants.typeVariant"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.model.NominalTypeKindMismatchError", "fieldName": "expectedVariant"}},
"argument": {"variable": "x"}}}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "actualVariant"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.variants.typeVariant"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.model.NominalTypeKindMismatchError", "fieldName": "actualVariant"}},
"argument": {"variable": "x"}}}}}}]}}]}}]}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "Encoder for hydra.core.error.model.NominalTypeKindMismatchError"}}}]}}}}},
{
"term": {
"name": "hydra.core.encode.error.model.nonComparableMapKeyTypeError",
"signature": {
"typeParameters": [],
"parameters": [{"name": "arg0", "type": {"variable": "hydra.core.error.model.NonComparableMapKeyTypeError"}, "isLazy": false}],
"result": {"type": {"variable": "hydra.core.model.Term"}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {"variable": "hydra.core.error.model.NonComparableMapKeyTypeError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.model.NonComparableMapKeyTypeError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.paths.subtermPath"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.model.NonComparableMapKeyTypeError", "fieldName": "location"}},
"argument": {"variable": "x"}}}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "keyType"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.model.type"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.model.NonComparableMapKeyTypeError", "fieldName": "keyType"}},
"argument": {"variable": "x"}}}}}}]}}]}}]}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "Encoder for hydra.core.error.model.NonComparableMapKeyTypeError"}}}]}}}}},
{
"term": {
"name": "hydra.core.encode.error.model.nonComparableSetElementTypeError",
"signature": {
"typeParameters": [],
"parameters": [{"name": "arg0", "type": {"variable": "hydra.core.error.model.NonComparableSetElementTypeError"}, "isLazy": false}],
"result": {"type": {"variable": "hydra.core.model.Term"}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {"variable": "hydra.core.error.model.NonComparableSetElementTypeError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.model.NonComparableSetElementTypeError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.paths.subtermPath"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.model.NonComparableSetElementTypeError", "fieldName": "location"}},
"argument": {"variable": "x"}}}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "elementType"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.model.type"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.model.NonComparableSetElementTypeError", "fieldName": "elementType"}},
"argument": {"variable": "x"}}}}}}]}}]}}]}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "Encoder for hydra.core.error.model.NonComparableSetElementTypeError"}}}]}}}}},
{
"term": {
"name": "hydra.core.encode.error.model.redundantWrapUnwrapError",
"signature": {
"typeParameters": [],
"parameters": [{"name": "arg0", "type": {"variable": "hydra.core.error.model.RedundantWrapUnwrapError"}, "isLazy": false}],
"result": {"type": {"variable": "hydra.core.model.Term"}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {"variable": "hydra.core.error.model.RedundantWrapUnwrapError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.model.RedundantWrapUnwrapError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.paths.subtermPath"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.model.RedundantWrapUnwrapError", "fieldName": "location"}},
"argument": {"variable": "x"}}}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeName"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.model.name"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.model.RedundantWrapUnwrapError", "fieldName": "typeName"}},
"argument": {"variable": "x"}}}}}}]}}]}}]}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "Encoder for hydra.core.error.model.RedundantWrapUnwrapError"}}}]}}}}},
{
"term": {
"name": "hydra.core.encode.error.model.selfApplicationError",
"signature": {
"typeParameters": [],
"parameters": [{"name": "arg0", "type": {"variable": "hydra.core.error.model.SelfApplicationError"}, "isLazy": false}],
"result": {"type": {"variable": "hydra.core.model.Term"}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {"variable": "hydra.core.error.model.SelfApplicationError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.SelfApplicationError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.paths.subtermPath"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.model.SelfApplicationError", "fieldName": "location"}},
"argument": {"variable": "x"}}}}}}]}},
{
"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": {"variable": "hydra.core.encode.model.name"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.model.SelfApplicationError", "fieldName": "name"}},
"argument": {"variable": "x"}}}}}}]}}]}}]}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "Encoder for hydra.core.error.model.SelfApplicationError"}}}]}}}}},
{
"term": {
"name": "hydra.core.encode.error.model.singleVariantUnionError",
"signature": {
"typeParameters": [],
"parameters": [{"name": "arg0", "type": {"variable": "hydra.core.error.model.SingleVariantUnionError"}, "isLazy": false}],
"result": {"type": {"variable": "hydra.core.model.Term"}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {"variable": "hydra.core.error.model.SingleVariantUnionError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.SingleVariantUnionError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.paths.subtermPath"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.model.SingleVariantUnionError", "fieldName": "location"}},
"argument": {"variable": "x"}}}}}}]}},
{
"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": {"variable": "hydra.core.encode.model.name"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.model.SingleVariantUnionError", "fieldName": "fieldName"}},
"argument": {"variable": "x"}}}}}}]}}]}}]}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "Encoder for hydra.core.error.model.SingleVariantUnionError"}}}]}}}}},
{
"term": {
"name": "hydra.core.encode.error.model.termVariableShadowingError",
"signature": {
"typeParameters": [],
"parameters": [{"name": "arg0", "type": {"variable": "hydra.core.error.model.TermVariableShadowingError"}, "isLazy": false}],
"result": {"type": {"variable": "hydra.core.model.Term"}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {"variable": "hydra.core.error.model.TermVariableShadowingError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.model.TermVariableShadowingError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.paths.subtermPath"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.model.TermVariableShadowingError", "fieldName": "location"}},
"argument": {"variable": "x"}}}}}}]}},
{
"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": {"variable": "hydra.core.encode.model.name"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.model.TermVariableShadowingError", "fieldName": "name"}},
"argument": {"variable": "x"}}}}}}]}}]}}]}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "Encoder for hydra.core.error.model.TermVariableShadowingError"}}}]}}}}},
{
"term": {
"name": "hydra.core.encode.error.model.typeVariableShadowingInForallError",
"signature": {
"typeParameters": [],
"parameters": [{"name": "arg0", "type": {"variable": "hydra.core.error.model.TypeVariableShadowingInForallError"}, "isLazy": false}],
"result": {"type": {"variable": "hydra.core.model.Term"}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {"variable": "hydra.core.error.model.TypeVariableShadowingInForallError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.model.TypeVariableShadowingInForallError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.paths.subtermPath"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.model.TypeVariableShadowingInForallError", "fieldName": "location"}},
"argument": {"variable": "x"}}}}}}]}},
{
"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": {"variable": "hydra.core.encode.model.name"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.model.TypeVariableShadowingInForallError", "fieldName": "name"}},
"argument": {"variable": "x"}}}}}}]}}]}}]}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "Encoder for hydra.core.error.model.TypeVariableShadowingInForallError"}}}]}}}}},
{
"term": {
"name": "hydra.core.encode.error.model.typeVariableShadowingInTypeLambdaError",
"signature": {
"typeParameters": [],
"parameters": [
{"name": "arg0", "type": {"variable": "hydra.core.error.model.TypeVariableShadowingInTypeLambdaError"}, "isLazy": false}],
"result": {"type": {"variable": "hydra.core.model.Term"}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {"variable": "hydra.core.error.model.TypeVariableShadowingInTypeLambdaError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.model.TypeVariableShadowingInTypeLambdaError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.paths.subtermPath"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.model.TypeVariableShadowingInTypeLambdaError", "fieldName": "location"}},
"argument": {"variable": "x"}}}}}}]}},
{
"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": {"variable": "hydra.core.encode.model.name"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.model.TypeVariableShadowingInTypeLambdaError", "fieldName": "name"}},
"argument": {"variable": "x"}}}}}}]}}]}}]}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "Encoder for hydra.core.error.model.TypeVariableShadowingInTypeLambdaError"}}}]}}}}},
{
"term": {
"name": "hydra.core.encode.error.model.undeclaredVariantError",
"signature": {
"typeParameters": [],
"parameters": [{"name": "arg0", "type": {"variable": "hydra.core.error.model.UndeclaredVariantError"}, "isLazy": false}],
"result": {"type": {"variable": "hydra.core.model.Term"}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {"variable": "hydra.core.error.model.UndeclaredVariantError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.UndeclaredVariantError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.paths.subtermPath"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.model.UndeclaredVariantError", "fieldName": "location"}},
"argument": {"variable": "x"}}}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeName"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.model.name"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.model.UndeclaredVariantError", "fieldName": "typeName"}},
"argument": {"variable": "x"}}}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "variantName"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.model.name"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.model.UndeclaredVariantError", "fieldName": "variantName"}},
"argument": {"variable": "x"}}}}}}]}}]}}]}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "Encoder for hydra.core.error.model.UndeclaredVariantError"}}}]}}}}},
{
"term": {
"name": "hydra.core.encode.error.model.undefinedFieldError",
"signature": {
"typeParameters": [],
"parameters": [{"name": "arg0", "type": {"variable": "hydra.core.error.model.UndefinedFieldError"}, "isLazy": false}],
"result": {"type": {"variable": "hydra.core.model.Term"}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {"variable": "hydra.core.error.model.UndefinedFieldError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.UndefinedFieldError"}}}}},
{
"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": {"variable": "hydra.core.encode.model.name"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.model.UndefinedFieldError", "fieldName": "fieldName"}},
"argument": {"variable": "x"}}}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeName"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.model.name"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.model.UndefinedFieldError", "fieldName": "typeName"}},
"argument": {"variable": "x"}}}}}}]}}]}}]}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "Encoder for hydra.core.error.model.UndefinedFieldError"}}}]}}}}},
{
"term": {
"name": "hydra.core.encode.error.model.undefinedTermVariableError",
"signature": {
"typeParameters": [],
"parameters": [{"name": "arg0", "type": {"variable": "hydra.core.error.model.UndefinedTermVariableError"}, "isLazy": false}],
"result": {"type": {"variable": "hydra.core.model.Term"}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {"variable": "hydra.core.error.model.UndefinedTermVariableError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.model.UndefinedTermVariableError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.paths.subtermPath"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.model.UndefinedTermVariableError", "fieldName": "location"}},
"argument": {"variable": "x"}}}}}}]}},
{
"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": {"variable": "hydra.core.encode.model.name"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.model.UndefinedTermVariableError", "fieldName": "name"}},
"argument": {"variable": "x"}}}}}}]}}]}}]}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "Encoder for hydra.core.error.model.UndefinedTermVariableError"}}}]}}}}},
{
"term": {
"name": "hydra.core.encode.error.model.undefinedTypeVariableError",
"signature": {
"typeParameters": [],
"parameters": [{"name": "arg0", "type": {"variable": "hydra.core.error.model.UndefinedTypeVariableError"}, "isLazy": false}],
"result": {"type": {"variable": "hydra.core.model.Term"}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {"variable": "hydra.core.error.model.UndefinedTypeVariableError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.model.UndefinedTypeVariableError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.paths.subtermPath"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.model.UndefinedTypeVariableError", "fieldName": "location"}},
"argument": {"variable": "x"}}}}}}]}},
{
"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": {"variable": "hydra.core.encode.model.name"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.model.UndefinedTypeVariableError", "fieldName": "name"}},
"argument": {"variable": "x"}}}}}}]}}]}}]}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "Encoder for hydra.core.error.model.UndefinedTypeVariableError"}}}]}}}}},
{
"term": {
"name": "hydra.core.encode.error.model.undefinedTypeVariableInBindingTypeError",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {"variable": "hydra.core.error.model.UndefinedTypeVariableInBindingTypeError"},
"isLazy": false}],
"result": {"type": {"variable": "hydra.core.model.Term"}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {"variable": "hydra.core.error.model.UndefinedTypeVariableInBindingTypeError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.model.UndefinedTypeVariableInBindingTypeError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.paths.subtermPath"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.model.UndefinedTypeVariableInBindingTypeError", "fieldName": "location"}},
"argument": {"variable": "x"}}}}}}]}},
{
"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": {"variable": "hydra.core.encode.model.name"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.model.UndefinedTypeVariableInBindingTypeError", "fieldName": "name"}},
"argument": {"variable": "x"}}}}}}]}}]}}]}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "Encoder for hydra.core.error.model.UndefinedTypeVariableInBindingTypeError"}}}]}}}}},
{
"term": {
"name": "hydra.core.encode.error.model.undefinedTypeVariableInLambdaDomainError",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {"variable": "hydra.core.error.model.UndefinedTypeVariableInLambdaDomainError"},
"isLazy": false}],
"result": {"type": {"variable": "hydra.core.model.Term"}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {"variable": "hydra.core.error.model.UndefinedTypeVariableInLambdaDomainError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.model.UndefinedTypeVariableInLambdaDomainError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.paths.subtermPath"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.model.UndefinedTypeVariableInLambdaDomainError", "fieldName": "location"}},
"argument": {"variable": "x"}}}}}}]}},
{
"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": {"variable": "hydra.core.encode.model.name"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.model.UndefinedTypeVariableInLambdaDomainError", "fieldName": "name"}},
"argument": {"variable": "x"}}}}}}]}}]}}]}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "Encoder for hydra.core.error.model.UndefinedTypeVariableInLambdaDomainError"}}}]}}}}},
{
"term": {
"name": "hydra.core.encode.error.model.undefinedTypeVariableInTypeApplicationError",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {"variable": "hydra.core.error.model.UndefinedTypeVariableInTypeApplicationError"},
"isLazy": false}],
"result": {"type": {"variable": "hydra.core.model.Term"}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {"variable": "hydra.core.error.model.UndefinedTypeVariableInTypeApplicationError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.model.UndefinedTypeVariableInTypeApplicationError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.paths.subtermPath"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.model.UndefinedTypeVariableInTypeApplicationError", "fieldName": "location"}},
"argument": {"variable": "x"}}}}}}]}},
{
"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": {"variable": "hydra.core.encode.model.name"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.model.UndefinedTypeVariableInTypeApplicationError", "fieldName": "name"}},
"argument": {"variable": "x"}}}}}}]}}]}}]}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "Encoder for hydra.core.error.model.UndefinedTypeVariableInTypeApplicationError"}}}]}}}}},
{
"term": {
"name": "hydra.core.encode.error.model.unexpectedTermVariantError",
"signature": {
"typeParameters": [],
"parameters": [{"name": "arg0", "type": {"variable": "hydra.core.error.model.UnexpectedTermVariantError"}, "isLazy": false}],
"result": {"type": {"variable": "hydra.core.model.Term"}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {"variable": "hydra.core.error.model.UnexpectedTermVariantError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.model.UnexpectedTermVariantError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "expectedVariant"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.variants.termVariant"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.model.UnexpectedTermVariantError", "fieldName": "expectedVariant"}},
"argument": {"variable": "x"}}}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "actualTerm"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.model.term"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.model.UnexpectedTermVariantError", "fieldName": "actualTerm"}},
"argument": {"variable": "x"}}}}}}]}}]}}]}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "Encoder for hydra.core.error.model.UnexpectedTermVariantError"}}}]}}}}},
{
"term": {
"name": "hydra.core.encode.error.model.unexpectedTypeVariantError",
"signature": {
"typeParameters": [],
"parameters": [{"name": "arg0", "type": {"variable": "hydra.core.error.model.UnexpectedTypeVariantError"}, "isLazy": false}],
"result": {"type": {"variable": "hydra.core.model.Term"}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {"variable": "hydra.core.error.model.UnexpectedTypeVariantError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.model.UnexpectedTypeVariantError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "expectedVariant"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.variants.typeVariant"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.model.UnexpectedTypeVariantError", "fieldName": "expectedVariant"}},
"argument": {"variable": "x"}}}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "actualType"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.model.type"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.model.UnexpectedTypeVariantError", "fieldName": "actualType"}},
"argument": {"variable": "x"}}}}}}]}}]}}]}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "Encoder for hydra.core.error.model.UnexpectedTypeVariantError"}}}]}}}}},
{
"term": {
"name": "hydra.core.encode.error.model.unknownCaseAlternativeError",
"signature": {
"typeParameters": [],
"parameters": [{"name": "arg0", "type": {"variable": "hydra.core.error.model.UnknownCaseAlternativeError"}, "isLazy": false}],
"result": {"type": {"variable": "hydra.core.model.Term"}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {"variable": "hydra.core.error.model.UnknownCaseAlternativeError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.model.UnknownCaseAlternativeError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.paths.subtermPath"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.model.UnknownCaseAlternativeError", "fieldName": "location"}},
"argument": {"variable": "x"}}}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeName"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.model.name"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.model.UnknownCaseAlternativeError", "fieldName": "typeName"}},
"argument": {"variable": "x"}}}}}}]}},
{
"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": {"variable": "hydra.core.encode.model.name"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.model.UnknownCaseAlternativeError", "fieldName": "name"}},
"argument": {"variable": "x"}}}}}}]}}]}}]}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "Encoder for hydra.core.error.model.UnknownCaseAlternativeError"}}}]}}}}},
{
"term": {
"name": "hydra.core.encode.error.model.unknownPrimitiveNameError",
"signature": {
"typeParameters": [],
"parameters": [{"name": "arg0", "type": {"variable": "hydra.core.error.model.UnknownPrimitiveNameError"}, "isLazy": false}],
"result": {"type": {"variable": "hydra.core.model.Term"}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {"variable": "hydra.core.error.model.UnknownPrimitiveNameError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.model.UnknownPrimitiveNameError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.paths.subtermPath"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.model.UnknownPrimitiveNameError", "fieldName": "location"}},
"argument": {"variable": "x"}}}}}}]}},
{
"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": {"variable": "hydra.core.encode.model.name"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.model.UnknownPrimitiveNameError", "fieldName": "name"}},
"argument": {"variable": "x"}}}}}}]}}]}}]}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "Encoder for hydra.core.error.model.UnknownPrimitiveNameError"}}}]}}}}},
{
"term": {
"name": "hydra.core.encode.error.model.unknownProjectedFieldError",
"signature": {
"typeParameters": [],
"parameters": [{"name": "arg0", "type": {"variable": "hydra.core.error.model.UnknownProjectedFieldError"}, "isLazy": false}],
"result": {"type": {"variable": "hydra.core.model.Term"}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {"variable": "hydra.core.error.model.UnknownProjectedFieldError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.model.UnknownProjectedFieldError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.paths.subtermPath"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.model.UnknownProjectedFieldError", "fieldName": "location"}},
"argument": {"variable": "x"}}}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeName"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.model.name"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.model.UnknownProjectedFieldError", "fieldName": "typeName"}},
"argument": {"variable": "x"}}}}}}]}},
{
"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": {"variable": "hydra.core.encode.model.name"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.model.UnknownProjectedFieldError", "fieldName": "fieldName"}},
"argument": {"variable": "x"}}}}}}]}}]}}]}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "Encoder for hydra.core.error.model.UnknownProjectedFieldError"}}}]}}}}},
{
"term": {
"name": "hydra.core.encode.error.model.unnecessaryIdentityApplicationError",
"signature": {
"typeParameters": [],
"parameters": [{"name": "arg0", "type": {"variable": "hydra.core.error.model.UnnecessaryIdentityApplicationError"}, "isLazy": false}],
"result": {"type": {"variable": "hydra.core.model.Term"}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {"variable": "hydra.core.error.model.UnnecessaryIdentityApplicationError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.model.UnnecessaryIdentityApplicationError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.paths.subtermPath"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.model.UnnecessaryIdentityApplicationError", "fieldName": "location"}},
"argument": {"variable": "x"}}}}}}]}}]}}]}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "Encoder for hydra.core.error.model.UnnecessaryIdentityApplicationError"}}}]}}}}},
{
"term": {
"name": "hydra.core.encode.error.model.unresolvedNominalTypeError",
"signature": {
"typeParameters": [],
"parameters": [{"name": "arg0", "type": {"variable": "hydra.core.error.model.UnresolvedNominalTypeError"}, "isLazy": false}],
"result": {"type": {"variable": "hydra.core.model.Term"}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {"variable": "hydra.core.error.model.UnresolvedNominalTypeError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.model.UnresolvedNominalTypeError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.paths.subtermPath"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.model.UnresolvedNominalTypeError", "fieldName": "location"}},
"argument": {"variable": "x"}}}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeName"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.model.name"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.model.UnresolvedNominalTypeError", "fieldName": "typeName"}},
"argument": {"variable": "x"}}}}}}]}}]}}]}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "Encoder for hydra.core.error.model.UnresolvedNominalTypeError"}}}]}}}}},
{
"term": {
"name": "hydra.core.encode.error.model.untypedTermVariableError",
"signature": {
"typeParameters": [],
"parameters": [{"name": "arg0", "type": {"variable": "hydra.core.error.model.UntypedTermVariableError"}, "isLazy": false}],
"result": {"type": {"variable": "hydra.core.model.Term"}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {"variable": "hydra.core.error.model.UntypedTermVariableError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.model.UntypedTermVariableError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.paths.subtermPath"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.model.UntypedTermVariableError", "fieldName": "location"}},
"argument": {"variable": "x"}}}}}}]}},
{
"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": {"variable": "hydra.core.encode.model.name"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.model.UntypedTermVariableError", "fieldName": "name"}},
"argument": {"variable": "x"}}}}}}]}}]}}]}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "Encoder for hydra.core.error.model.UntypedTermVariableError"}}}]}}}}},
{
"term": {
"name": "hydra.core.encode.error.model.voidInNonBottomPositionError",
"signature": {
"typeParameters": [],
"parameters": [{"name": "arg0", "type": {"variable": "hydra.core.error.model.VoidInNonBottomPositionError"}, "isLazy": false}],
"result": {"type": {"variable": "hydra.core.model.Term"}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {"variable": "hydra.core.error.model.VoidInNonBottomPositionError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.model.VoidInNonBottomPositionError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.paths.subtermPath"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.model.VoidInNonBottomPositionError", "fieldName": "location"}},
"argument": {"variable": "x"}}}}}}]}}]}}]}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "Encoder for hydra.core.error.model.VoidInNonBottomPositionError"}}}]}}}}}]}