packages feed

hydra-kernel-0.18.1: hydra-kernel-json/hydra/core/encode/error/checking.json

{
  "name": "hydra.core.encode.error.checking",
  "metadata": {"description": "Term encoders for hydra.core.error.checking", "comments": [], "seeAlso": [], "provisions": []},
  "dependencies": [
    {"module": "hydra.core.encode.model"},
    {"module": "hydra.core.encode.paths"},
    {"module": "hydra.core.encode.typing"},
    {"module": "hydra.core.encode.variants"},
    {"module": "hydra.core.error.checking"}],
  "definitions": [
    {
      "term": {
        "name": "hydra.core.encode.error.checking.checkingError",
        "signature": {
          "typeParameters": [],
          "parameters": [{"name": "arg0", "type": {"variable": "hydra.core.error.checking.CheckingError"}, "isLazy": false}],
          "result": {"type": {"variable": "hydra.core.model.Term"}}},
        "body": {
          "annotated": {
            "body": {
              "cases": {
                "typeName": "hydra.core.error.checking.CheckingError",
                "cases": [
                  {
                    "name": "incorrectUnification",
                    "handler": {
                      "lambda": {
                        "parameter": "y",
                        "domain": {"variable": "hydra.core.error.checking.IncorrectUnificationError"},
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "inject",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Injection",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.checking.CheckingError"}}}}},
                                    {
                                      "name": "field",
                                      "term": {
                                        "record": {
                                          "typeName": "hydra.core.model.Field",
                                          "fields": [
                                            {
                                              "name": "name",
                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "incorrectUnification"}}}}},
                                            {
                                              "name": "term",
                                              "term": {
                                                "application": {"function": {"variable": "hydra.core.encode.error.checking.incorrectUnificationError"}, "argument": {"variable": "y"}}}}]}}}]}}}}}}}},
                  {
                    "name": "notAForallType",
                    "handler": {
                      "lambda": {
                        "parameter": "y",
                        "domain": {"variable": "hydra.core.error.checking.NotAForallTypeError"},
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "inject",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Injection",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.checking.CheckingError"}}}}},
                                    {
                                      "name": "field",
                                      "term": {
                                        "record": {
                                          "typeName": "hydra.core.model.Field",
                                          "fields": [
                                            {
                                              "name": "name",
                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "notAForallType"}}}}},
                                            {
                                              "name": "term",
                                              "term": {
                                                "application": {"function": {"variable": "hydra.core.encode.error.checking.notAForallTypeError"}, "argument": {"variable": "y"}}}}]}}}]}}}}}}}},
                  {
                    "name": "notAFunctionType",
                    "handler": {
                      "lambda": {
                        "parameter": "y",
                        "domain": {"variable": "hydra.core.error.checking.NotAFunctionTypeError"},
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "inject",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Injection",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.checking.CheckingError"}}}}},
                                    {
                                      "name": "field",
                                      "term": {
                                        "record": {
                                          "typeName": "hydra.core.model.Field",
                                          "fields": [
                                            {
                                              "name": "name",
                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "notAFunctionType"}}}}},
                                            {
                                              "name": "term",
                                              "term": {
                                                "application": {"function": {"variable": "hydra.core.encode.error.checking.notAFunctionTypeError"}, "argument": {"variable": "y"}}}}]}}}]}}}}}}}},
                  {
                    "name": "other",
                    "handler": {
                      "lambda": {
                        "parameter": "y",
                        "domain": {"variable": "hydra.core.error.checking.OtherCheckingError"},
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "inject",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Injection",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.checking.CheckingError"}}}}},
                                    {
                                      "name": "field",
                                      "term": {
                                        "record": {
                                          "typeName": "hydra.core.model.Field",
                                          "fields": [
                                            {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "other"}}}}},
                                            {
                                              "name": "term",
                                              "term": {
                                                "application": {"function": {"variable": "hydra.core.encode.error.checking.otherCheckingError"}, "argument": {"variable": "y"}}}}]}}}]}}}}}}}},
                  {
                    "name": "typeArityMismatch",
                    "handler": {
                      "lambda": {
                        "parameter": "y",
                        "domain": {"variable": "hydra.core.error.checking.TypeArityMismatchError"},
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "inject",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Injection",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.checking.CheckingError"}}}}},
                                    {
                                      "name": "field",
                                      "term": {
                                        "record": {
                                          "typeName": "hydra.core.model.Field",
                                          "fields": [
                                            {
                                              "name": "name",
                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeArityMismatch"}}}}},
                                            {
                                              "name": "term",
                                              "term": {
                                                "application": {"function": {"variable": "hydra.core.encode.error.checking.typeArityMismatchError"}, "argument": {"variable": "y"}}}}]}}}]}}}}}}}},
                  {
                    "name": "typeMismatch",
                    "handler": {
                      "lambda": {
                        "parameter": "y",
                        "domain": {"variable": "hydra.core.error.checking.TypeMismatchError"},
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "inject",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Injection",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.checking.CheckingError"}}}}},
                                    {
                                      "name": "field",
                                      "term": {
                                        "record": {
                                          "typeName": "hydra.core.model.Field",
                                          "fields": [
                                            {
                                              "name": "name",
                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeMismatch"}}}}},
                                            {
                                              "name": "term",
                                              "term": {
                                                "application": {"function": {"variable": "hydra.core.encode.error.checking.typeMismatchError"}, "argument": {"variable": "y"}}}}]}}}]}}}}}}}},
                  {
                    "name": "unboundTypeVariables",
                    "handler": {
                      "lambda": {
                        "parameter": "y",
                        "domain": {"variable": "hydra.core.error.checking.UnboundTypeVariablesError"},
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "inject",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Injection",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.checking.CheckingError"}}}}},
                                    {
                                      "name": "field",
                                      "term": {
                                        "record": {
                                          "typeName": "hydra.core.model.Field",
                                          "fields": [
                                            {
                                              "name": "name",
                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "unboundTypeVariables"}}}}},
                                            {
                                              "name": "term",
                                              "term": {
                                                "application": {"function": {"variable": "hydra.core.encode.error.checking.unboundTypeVariablesError"}, "argument": {"variable": "y"}}}}]}}}]}}}}}}}},
                  {
                    "name": "undefinedTermVariable",
                    "handler": {
                      "lambda": {
                        "parameter": "y",
                        "domain": {"variable": "hydra.core.error.checking.UndefinedTermVariableCheckingError"},
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "inject",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Injection",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.checking.CheckingError"}}}}},
                                    {
                                      "name": "field",
                                      "term": {
                                        "record": {
                                          "typeName": "hydra.core.model.Field",
                                          "fields": [
                                            {
                                              "name": "name",
                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "undefinedTermVariable"}}}}},
                                            {
                                              "name": "term",
                                              "term": {
                                                "application": {
                                                  "function": {"variable": "hydra.core.encode.error.checking.undefinedTermVariableCheckingError"},
                                                  "argument": {"variable": "y"}}}}]}}}]}}}}}}}},
                  {
                    "name": "unequalTypes",
                    "handler": {
                      "lambda": {
                        "parameter": "y",
                        "domain": {"variable": "hydra.core.error.checking.UnequalTypesError"},
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "inject",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Injection",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.checking.CheckingError"}}}}},
                                    {
                                      "name": "field",
                                      "term": {
                                        "record": {
                                          "typeName": "hydra.core.model.Field",
                                          "fields": [
                                            {
                                              "name": "name",
                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "unequalTypes"}}}}},
                                            {
                                              "name": "term",
                                              "term": {
                                                "application": {"function": {"variable": "hydra.core.encode.error.checking.unequalTypesError"}, "argument": {"variable": "y"}}}}]}}}]}}}}}}}},
                  {
                    "name": "unsupportedTermVariant",
                    "handler": {
                      "lambda": {
                        "parameter": "y",
                        "domain": {"variable": "hydra.core.error.checking.UnsupportedTermVariantError"},
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "inject",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Injection",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.checking.CheckingError"}}}}},
                                    {
                                      "name": "field",
                                      "term": {
                                        "record": {
                                          "typeName": "hydra.core.model.Field",
                                          "fields": [
                                            {
                                              "name": "name",
                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "unsupportedTermVariant"}}}}},
                                            {
                                              "name": "term",
                                              "term": {
                                                "application": {
                                                  "function": {"variable": "hydra.core.encode.error.checking.unsupportedTermVariantError"},
                                                  "argument": {"variable": "y"}}}}]}}}]}}}}}}}},
                  {
                    "name": "untypedLambda",
                    "handler": {
                      "lambda": {
                        "parameter": "y",
                        "domain": {"variable": "hydra.core.error.checking.UntypedLambdaError"},
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "inject",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Injection",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.checking.CheckingError"}}}}},
                                    {
                                      "name": "field",
                                      "term": {
                                        "record": {
                                          "typeName": "hydra.core.model.Field",
                                          "fields": [
                                            {
                                              "name": "name",
                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "untypedLambda"}}}}},
                                            {
                                              "name": "term",
                                              "term": {
                                                "application": {"function": {"variable": "hydra.core.encode.error.checking.untypedLambdaError"}, "argument": {"variable": "y"}}}}]}}}]}}}}}}}},
                  {
                    "name": "untypedLetBinding",
                    "handler": {
                      "lambda": {
                        "parameter": "y",
                        "domain": {"variable": "hydra.core.error.checking.UntypedLetBindingError"},
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "inject",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Injection",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.checking.CheckingError"}}}}},
                                    {
                                      "name": "field",
                                      "term": {
                                        "record": {
                                          "typeName": "hydra.core.model.Field",
                                          "fields": [
                                            {
                                              "name": "name",
                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "untypedLetBinding"}}}}},
                                            {
                                              "name": "term",
                                              "term": {
                                                "application": {"function": {"variable": "hydra.core.encode.error.checking.untypedLetBindingError"}, "argument": {"variable": "y"}}}}]}}}]}}}}}}}},
                  {
                    "name": "untypedTermVariable",
                    "handler": {
                      "lambda": {
                        "parameter": "y",
                        "domain": {"variable": "hydra.core.error.checking.UntypedTermVariableCheckingError"},
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "inject",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Injection",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.checking.CheckingError"}}}}},
                                    {
                                      "name": "field",
                                      "term": {
                                        "record": {
                                          "typeName": "hydra.core.model.Field",
                                          "fields": [
                                            {
                                              "name": "name",
                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "untypedTermVariable"}}}}},
                                            {
                                              "name": "term",
                                              "term": {
                                                "application": {
                                                  "function": {"variable": "hydra.core.encode.error.checking.untypedTermVariableCheckingError"},
                                                  "argument": {"variable": "y"}}}}]}}}]}}}}}}}}]}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "Encoder for hydra.core.error.checking.CheckingError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.encode.error.checking.incorrectUnificationError",
        "signature": {
          "typeParameters": [],
          "parameters": [{"name": "arg0", "type": {"variable": "hydra.core.error.checking.IncorrectUnificationError"}, "isLazy": false}],
          "result": {"type": {"variable": "hydra.core.model.Term"}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {"variable": "hydra.core.error.checking.IncorrectUnificationError"},
                "body": {
                  "inject": {
                    "typeName": "hydra.core.model.Term",
                    "field": {
                      "name": "record",
                      "term": {
                        "record": {
                          "typeName": "hydra.core.model.Record",
                          "fields": [
                            {
                              "name": "typeName",
                              "term": {
                                "wrap": {
                                  "typeName": "hydra.core.model.Name",
                                  "body": {"literal": {"string": "hydra.core.error.checking.IncorrectUnificationError"}}}}},
                            {
                              "name": "fields",
                              "term": {
                                "list": [
                                  {
                                    "record": {
                                      "typeName": "hydra.core.model.Field",
                                      "fields": [
                                        {
                                          "name": "name",
                                          "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "substitution"}}}}},
                                        {
                                          "name": "term",
                                          "term": {
                                            "application": {
                                              "function": {"variable": "hydra.core.encode.typing.typeSubst"},
                                              "argument": {
                                                "application": {
                                                  "function": {"project": {"typeName": "hydra.core.error.checking.IncorrectUnificationError", "fieldName": "substitution"}},
                                                  "argument": {"variable": "x"}}}}}}]}}]}}]}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "Encoder for hydra.core.error.checking.IncorrectUnificationError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.encode.error.checking.notAForallTypeError",
        "signature": {
          "typeParameters": [],
          "parameters": [{"name": "arg0", "type": {"variable": "hydra.core.error.checking.NotAForallTypeError"}, "isLazy": false}],
          "result": {"type": {"variable": "hydra.core.model.Term"}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {"variable": "hydra.core.error.checking.NotAForallTypeError"},
                "body": {
                  "inject": {
                    "typeName": "hydra.core.model.Term",
                    "field": {
                      "name": "record",
                      "term": {
                        "record": {
                          "typeName": "hydra.core.model.Record",
                          "fields": [
                            {
                              "name": "typeName",
                              "term": {
                                "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.checking.NotAForallTypeError"}}}}},
                            {
                              "name": "fields",
                              "term": {
                                "list": [
                                  {
                                    "record": {
                                      "typeName": "hydra.core.model.Field",
                                      "fields": [
                                        {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "type"}}}}},
                                        {
                                          "name": "term",
                                          "term": {
                                            "application": {
                                              "function": {"variable": "hydra.core.encode.model.type"},
                                              "argument": {
                                                "application": {
                                                  "function": {"project": {"typeName": "hydra.core.error.checking.NotAForallTypeError", "fieldName": "type"}},
                                                  "argument": {"variable": "x"}}}}}}]}},
                                  {
                                    "record": {
                                      "typeName": "hydra.core.model.Field",
                                      "fields": [
                                        {
                                          "name": "name",
                                          "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeArguments"}}}}},
                                        {
                                          "name": "term",
                                          "term": {
                                            "application": {
                                              "function": {
                                                "lambda": {
                                                  "parameter": "xs",
                                                  "domain": {"list": {"variable": "hydra.core.model.Type"}},
                                                  "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.Type"}}},
                                                                    "type": {"variable": "hydra.core.model.Term"}}},
                                                                "argument": {"variable": "hydra.core.encode.model.type"}}},
                                                            "argument": {"variable": "xs"}}}}}}}},
                                              "argument": {
                                                "application": {
                                                  "function": {"project": {"typeName": "hydra.core.error.checking.NotAForallTypeError", "fieldName": "typeArguments"}},
                                                  "argument": {"variable": "x"}}}}}}]}}]}}]}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "Encoder for hydra.core.error.checking.NotAForallTypeError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.encode.error.checking.notAFunctionTypeError",
        "signature": {
          "typeParameters": [],
          "parameters": [{"name": "arg0", "type": {"variable": "hydra.core.error.checking.NotAFunctionTypeError"}, "isLazy": false}],
          "result": {"type": {"variable": "hydra.core.model.Term"}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {"variable": "hydra.core.error.checking.NotAFunctionTypeError"},
                "body": {
                  "inject": {
                    "typeName": "hydra.core.model.Term",
                    "field": {
                      "name": "record",
                      "term": {
                        "record": {
                          "typeName": "hydra.core.model.Record",
                          "fields": [
                            {
                              "name": "typeName",
                              "term": {
                                "wrap": {
                                  "typeName": "hydra.core.model.Name",
                                  "body": {"literal": {"string": "hydra.core.error.checking.NotAFunctionTypeError"}}}}},
                            {
                              "name": "fields",
                              "term": {
                                "list": [
                                  {
                                    "record": {
                                      "typeName": "hydra.core.model.Field",
                                      "fields": [
                                        {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "type"}}}}},
                                        {
                                          "name": "term",
                                          "term": {
                                            "application": {
                                              "function": {"variable": "hydra.core.encode.model.type"},
                                              "argument": {
                                                "application": {
                                                  "function": {"project": {"typeName": "hydra.core.error.checking.NotAFunctionTypeError", "fieldName": "type"}},
                                                  "argument": {"variable": "x"}}}}}}]}}]}}]}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "Encoder for hydra.core.error.checking.NotAFunctionTypeError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.encode.error.checking.otherCheckingError",
        "signature": {
          "typeParameters": [],
          "parameters": [{"name": "arg0", "type": {"variable": "hydra.core.error.checking.OtherCheckingError"}, "isLazy": false}],
          "result": {"type": {"variable": "hydra.core.model.Term"}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {"variable": "hydra.core.error.checking.OtherCheckingError"},
                "body": {
                  "inject": {
                    "typeName": "hydra.core.model.Term",
                    "field": {
                      "name": "record",
                      "term": {
                        "record": {
                          "typeName": "hydra.core.model.Record",
                          "fields": [
                            {
                              "name": "typeName",
                              "term": {
                                "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.checking.OtherCheckingError"}}}}},
                            {
                              "name": "fields",
                              "term": {
                                "list": [
                                  {
                                    "record": {
                                      "typeName": "hydra.core.model.Field",
                                      "fields": [
                                        {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "path"}}}}},
                                        {
                                          "name": "term",
                                          "term": {
                                            "application": {
                                              "function": {"variable": "hydra.core.encode.paths.subtermPath"},
                                              "argument": {
                                                "application": {
                                                  "function": {"project": {"typeName": "hydra.core.error.checking.OtherCheckingError", "fieldName": "path"}},
                                                  "argument": {"variable": "x"}}}}}}]}},
                                  {
                                    "record": {
                                      "typeName": "hydra.core.model.Field",
                                      "fields": [
                                        {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "message"}}}}},
                                        {
                                          "name": "term",
                                          "term": {
                                            "application": {
                                              "function": {
                                                "lambda": {
                                                  "parameter": "x",
                                                  "domain": {"literal": "string"},
                                                  "body": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "literal",
                                                        "term": {"inject": {"typeName": "hydra.core.model.Literal", "field": {"name": "string", "term": {"variable": "x"}}}}}}}}},
                                              "argument": {
                                                "application": {
                                                  "function": {"project": {"typeName": "hydra.core.error.checking.OtherCheckingError", "fieldName": "message"}},
                                                  "argument": {"variable": "x"}}}}}}]}}]}}]}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "Encoder for hydra.core.error.checking.OtherCheckingError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.encode.error.checking.typeArityMismatchError",
        "signature": {
          "typeParameters": [],
          "parameters": [{"name": "arg0", "type": {"variable": "hydra.core.error.checking.TypeArityMismatchError"}, "isLazy": false}],
          "result": {"type": {"variable": "hydra.core.model.Term"}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {"variable": "hydra.core.error.checking.TypeArityMismatchError"},
                "body": {
                  "inject": {
                    "typeName": "hydra.core.model.Term",
                    "field": {
                      "name": "record",
                      "term": {
                        "record": {
                          "typeName": "hydra.core.model.Record",
                          "fields": [
                            {
                              "name": "typeName",
                              "term": {
                                "wrap": {
                                  "typeName": "hydra.core.model.Name",
                                  "body": {"literal": {"string": "hydra.core.error.checking.TypeArityMismatchError"}}}}},
                            {
                              "name": "fields",
                              "term": {
                                "list": [
                                  {
                                    "record": {
                                      "typeName": "hydra.core.model.Field",
                                      "fields": [
                                        {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "type"}}}}},
                                        {
                                          "name": "term",
                                          "term": {
                                            "application": {
                                              "function": {"variable": "hydra.core.encode.model.type"},
                                              "argument": {
                                                "application": {
                                                  "function": {"project": {"typeName": "hydra.core.error.checking.TypeArityMismatchError", "fieldName": "type"}},
                                                  "argument": {"variable": "x"}}}}}}]}},
                                  {
                                    "record": {
                                      "typeName": "hydra.core.model.Field",
                                      "fields": [
                                        {
                                          "name": "name",
                                          "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "expectedArity"}}}}},
                                        {
                                          "name": "term",
                                          "term": {
                                            "application": {
                                              "function": {
                                                "lambda": {
                                                  "parameter": "x",
                                                  "domain": {"literal": {"integer": "int32"}},
                                                  "body": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "literal",
                                                        "term": {
                                                          "inject": {
                                                            "typeName": "hydra.core.model.Literal",
                                                            "field": {
                                                              "name": "integer",
                                                              "term": {"inject": {"typeName": "hydra.core.model.IntegerValue", "field": {"name": "int32", "term": {"variable": "x"}}}}}}}}}}}},
                                              "argument": {
                                                "application": {
                                                  "function": {"project": {"typeName": "hydra.core.error.checking.TypeArityMismatchError", "fieldName": "expectedArity"}},
                                                  "argument": {"variable": "x"}}}}}}]}},
                                  {
                                    "record": {
                                      "typeName": "hydra.core.model.Field",
                                      "fields": [
                                        {
                                          "name": "name",
                                          "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "actualArity"}}}}},
                                        {
                                          "name": "term",
                                          "term": {
                                            "application": {
                                              "function": {
                                                "lambda": {
                                                  "parameter": "x",
                                                  "domain": {"literal": {"integer": "int32"}},
                                                  "body": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "literal",
                                                        "term": {
                                                          "inject": {
                                                            "typeName": "hydra.core.model.Literal",
                                                            "field": {
                                                              "name": "integer",
                                                              "term": {"inject": {"typeName": "hydra.core.model.IntegerValue", "field": {"name": "int32", "term": {"variable": "x"}}}}}}}}}}}},
                                              "argument": {
                                                "application": {
                                                  "function": {"project": {"typeName": "hydra.core.error.checking.TypeArityMismatchError", "fieldName": "actualArity"}},
                                                  "argument": {"variable": "x"}}}}}}]}},
                                  {
                                    "record": {
                                      "typeName": "hydra.core.model.Field",
                                      "fields": [
                                        {
                                          "name": "name",
                                          "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeArguments"}}}}},
                                        {
                                          "name": "term",
                                          "term": {
                                            "application": {
                                              "function": {
                                                "lambda": {
                                                  "parameter": "xs",
                                                  "domain": {"list": {"variable": "hydra.core.model.Type"}},
                                                  "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.Type"}}},
                                                                    "type": {"variable": "hydra.core.model.Term"}}},
                                                                "argument": {"variable": "hydra.core.encode.model.type"}}},
                                                            "argument": {"variable": "xs"}}}}}}}},
                                              "argument": {
                                                "application": {
                                                  "function": {"project": {"typeName": "hydra.core.error.checking.TypeArityMismatchError", "fieldName": "typeArguments"}},
                                                  "argument": {"variable": "x"}}}}}}]}}]}}]}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "Encoder for hydra.core.error.checking.TypeArityMismatchError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.encode.error.checking.typeMismatchError",
        "signature": {
          "typeParameters": [],
          "parameters": [{"name": "arg0", "type": {"variable": "hydra.core.error.checking.TypeMismatchError"}, "isLazy": false}],
          "result": {"type": {"variable": "hydra.core.model.Term"}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {"variable": "hydra.core.error.checking.TypeMismatchError"},
                "body": {
                  "inject": {
                    "typeName": "hydra.core.model.Term",
                    "field": {
                      "name": "record",
                      "term": {
                        "record": {
                          "typeName": "hydra.core.model.Record",
                          "fields": [
                            {
                              "name": "typeName",
                              "term": {
                                "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.checking.TypeMismatchError"}}}}},
                            {
                              "name": "fields",
                              "term": {
                                "list": [
                                  {
                                    "record": {
                                      "typeName": "hydra.core.model.Field",
                                      "fields": [
                                        {
                                          "name": "name",
                                          "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "expectedType"}}}}},
                                        {
                                          "name": "term",
                                          "term": {
                                            "application": {
                                              "function": {"variable": "hydra.core.encode.model.type"},
                                              "argument": {
                                                "application": {
                                                  "function": {"project": {"typeName": "hydra.core.error.checking.TypeMismatchError", "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.type"},
                                              "argument": {
                                                "application": {
                                                  "function": {"project": {"typeName": "hydra.core.error.checking.TypeMismatchError", "fieldName": "actualType"}},
                                                  "argument": {"variable": "x"}}}}}}]}}]}}]}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "Encoder for hydra.core.error.checking.TypeMismatchError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.encode.error.checking.unboundTypeVariablesError",
        "signature": {
          "typeParameters": [],
          "parameters": [{"name": "arg0", "type": {"variable": "hydra.core.error.checking.UnboundTypeVariablesError"}, "isLazy": false}],
          "result": {"type": {"variable": "hydra.core.model.Term"}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {"variable": "hydra.core.error.checking.UnboundTypeVariablesError"},
                "body": {
                  "inject": {
                    "typeName": "hydra.core.model.Term",
                    "field": {
                      "name": "record",
                      "term": {
                        "record": {
                          "typeName": "hydra.core.model.Record",
                          "fields": [
                            {
                              "name": "typeName",
                              "term": {
                                "wrap": {
                                  "typeName": "hydra.core.model.Name",
                                  "body": {"literal": {"string": "hydra.core.error.checking.UnboundTypeVariablesError"}}}}},
                            {
                              "name": "fields",
                              "term": {
                                "list": [
                                  {
                                    "record": {
                                      "typeName": "hydra.core.model.Field",
                                      "fields": [
                                        {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "variables"}}}}},
                                        {
                                          "name": "term",
                                          "term": {
                                            "application": {
                                              "function": {
                                                "lambda": {
                                                  "parameter": "s",
                                                  "domain": {"set": {"variable": "hydra.core.model.Name"}},
                                                  "body": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "set",
                                                        "term": {
                                                          "application": {
                                                            "function": {
                                                              "application": {
                                                                "function": {
                                                                  "typeApplication": {
                                                                    "body": {"typeApplication": {"body": {"variable": "hydra.core.lib.sets.map"}, "type": {"variable": "hydra.core.model.Name"}}},
                                                                    "type": {"variable": "hydra.core.model.Term"}}},
                                                                "argument": {"variable": "hydra.core.encode.model.name"}}},
                                                            "argument": {"variable": "s"}}}}}}}},
                                              "argument": {
                                                "application": {
                                                  "function": {"project": {"typeName": "hydra.core.error.checking.UnboundTypeVariablesError", "fieldName": "variables"}},
                                                  "argument": {"variable": "x"}}}}}}]}},
                                  {
                                    "record": {
                                      "typeName": "hydra.core.model.Field",
                                      "fields": [
                                        {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "type"}}}}},
                                        {
                                          "name": "term",
                                          "term": {
                                            "application": {
                                              "function": {"variable": "hydra.core.encode.model.type"},
                                              "argument": {
                                                "application": {
                                                  "function": {"project": {"typeName": "hydra.core.error.checking.UnboundTypeVariablesError", "fieldName": "type"}},
                                                  "argument": {"variable": "x"}}}}}}]}}]}}]}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "Encoder for hydra.core.error.checking.UnboundTypeVariablesError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.encode.error.checking.undefinedTermVariableCheckingError",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {"name": "arg0", "type": {"variable": "hydra.core.error.checking.UndefinedTermVariableCheckingError"}, "isLazy": false}],
          "result": {"type": {"variable": "hydra.core.model.Term"}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {"variable": "hydra.core.error.checking.UndefinedTermVariableCheckingError"},
                "body": {
                  "inject": {
                    "typeName": "hydra.core.model.Term",
                    "field": {
                      "name": "record",
                      "term": {
                        "record": {
                          "typeName": "hydra.core.model.Record",
                          "fields": [
                            {
                              "name": "typeName",
                              "term": {
                                "wrap": {
                                  "typeName": "hydra.core.model.Name",
                                  "body": {"literal": {"string": "hydra.core.error.checking.UndefinedTermVariableCheckingError"}}}}},
                            {
                              "name": "fields",
                              "term": {
                                "list": [
                                  {
                                    "record": {
                                      "typeName": "hydra.core.model.Field",
                                      "fields": [
                                        {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "path"}}}}},
                                        {
                                          "name": "term",
                                          "term": {
                                            "application": {
                                              "function": {"variable": "hydra.core.encode.paths.subtermPath"},
                                              "argument": {
                                                "application": {
                                                  "function": {"project": {"typeName": "hydra.core.error.checking.UndefinedTermVariableCheckingError", "fieldName": "path"}},
                                                  "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.checking.UndefinedTermVariableCheckingError", "fieldName": "name"}},
                                                  "argument": {"variable": "x"}}}}}}]}}]}}]}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "Encoder for hydra.core.error.checking.UndefinedTermVariableCheckingError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.encode.error.checking.unequalTypesError",
        "signature": {
          "typeParameters": [],
          "parameters": [{"name": "arg0", "type": {"variable": "hydra.core.error.checking.UnequalTypesError"}, "isLazy": false}],
          "result": {"type": {"variable": "hydra.core.model.Term"}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {"variable": "hydra.core.error.checking.UnequalTypesError"},
                "body": {
                  "inject": {
                    "typeName": "hydra.core.model.Term",
                    "field": {
                      "name": "record",
                      "term": {
                        "record": {
                          "typeName": "hydra.core.model.Record",
                          "fields": [
                            {
                              "name": "typeName",
                              "term": {
                                "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.checking.UnequalTypesError"}}}}},
                            {
                              "name": "fields",
                              "term": {
                                "list": [
                                  {
                                    "record": {
                                      "typeName": "hydra.core.model.Field",
                                      "fields": [
                                        {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "types"}}}}},
                                        {
                                          "name": "term",
                                          "term": {
                                            "application": {
                                              "function": {
                                                "lambda": {
                                                  "parameter": "xs",
                                                  "domain": {"list": {"variable": "hydra.core.model.Type"}},
                                                  "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.Type"}}},
                                                                    "type": {"variable": "hydra.core.model.Term"}}},
                                                                "argument": {"variable": "hydra.core.encode.model.type"}}},
                                                            "argument": {"variable": "xs"}}}}}}}},
                                              "argument": {
                                                "application": {
                                                  "function": {"project": {"typeName": "hydra.core.error.checking.UnequalTypesError", "fieldName": "types"}},
                                                  "argument": {"variable": "x"}}}}}}]}},
                                  {
                                    "record": {
                                      "typeName": "hydra.core.model.Field",
                                      "fields": [
                                        {
                                          "name": "name",
                                          "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "description"}}}}},
                                        {
                                          "name": "term",
                                          "term": {
                                            "application": {
                                              "function": {
                                                "lambda": {
                                                  "parameter": "x",
                                                  "domain": {"literal": "string"},
                                                  "body": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "literal",
                                                        "term": {"inject": {"typeName": "hydra.core.model.Literal", "field": {"name": "string", "term": {"variable": "x"}}}}}}}}},
                                              "argument": {
                                                "application": {
                                                  "function": {"project": {"typeName": "hydra.core.error.checking.UnequalTypesError", "fieldName": "description"}},
                                                  "argument": {"variable": "x"}}}}}}]}}]}}]}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "Encoder for hydra.core.error.checking.UnequalTypesError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.encode.error.checking.unsupportedTermVariantError",
        "signature": {
          "typeParameters": [],
          "parameters": [{"name": "arg0", "type": {"variable": "hydra.core.error.checking.UnsupportedTermVariantError"}, "isLazy": false}],
          "result": {"type": {"variable": "hydra.core.model.Term"}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {"variable": "hydra.core.error.checking.UnsupportedTermVariantError"},
                "body": {
                  "inject": {
                    "typeName": "hydra.core.model.Term",
                    "field": {
                      "name": "record",
                      "term": {
                        "record": {
                          "typeName": "hydra.core.model.Record",
                          "fields": [
                            {
                              "name": "typeName",
                              "term": {
                                "wrap": {
                                  "typeName": "hydra.core.model.Name",
                                  "body": {"literal": {"string": "hydra.core.error.checking.UnsupportedTermVariantError"}}}}},
                            {
                              "name": "fields",
                              "term": {
                                "list": [
                                  {
                                    "record": {
                                      "typeName": "hydra.core.model.Field",
                                      "fields": [
                                        {
                                          "name": "name",
                                          "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "termVariant"}}}}},
                                        {
                                          "name": "term",
                                          "term": {
                                            "application": {
                                              "function": {"variable": "hydra.core.encode.variants.termVariant"},
                                              "argument": {
                                                "application": {
                                                  "function": {"project": {"typeName": "hydra.core.error.checking.UnsupportedTermVariantError", "fieldName": "termVariant"}},
                                                  "argument": {"variable": "x"}}}}}}]}}]}}]}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "Encoder for hydra.core.error.checking.UnsupportedTermVariantError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.encode.error.checking.untypedLambdaError",
        "signature": {
          "typeParameters": [],
          "parameters": [{"name": "arg0", "type": {"variable": "hydra.core.error.checking.UntypedLambdaError"}, "isLazy": false}],
          "result": {"type": {"variable": "hydra.core.model.Term"}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {"variable": "hydra.core.error.checking.UntypedLambdaError"},
                "body": {
                  "inject": {
                    "typeName": "hydra.core.model.Term",
                    "field": {
                      "name": "record",
                      "term": {
                        "record": {
                          "typeName": "hydra.core.model.Record",
                          "fields": [
                            {
                              "name": "typeName",
                              "term": {
                                "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.checking.UntypedLambdaError"}}}}},
                            {"name": "fields", "term": {"list": []}}]}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "Encoder for hydra.core.error.checking.UntypedLambdaError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.encode.error.checking.untypedLetBindingError",
        "signature": {
          "typeParameters": [],
          "parameters": [{"name": "arg0", "type": {"variable": "hydra.core.error.checking.UntypedLetBindingError"}, "isLazy": false}],
          "result": {"type": {"variable": "hydra.core.model.Term"}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {"variable": "hydra.core.error.checking.UntypedLetBindingError"},
                "body": {
                  "inject": {
                    "typeName": "hydra.core.model.Term",
                    "field": {
                      "name": "record",
                      "term": {
                        "record": {
                          "typeName": "hydra.core.model.Record",
                          "fields": [
                            {
                              "name": "typeName",
                              "term": {
                                "wrap": {
                                  "typeName": "hydra.core.model.Name",
                                  "body": {"literal": {"string": "hydra.core.error.checking.UntypedLetBindingError"}}}}},
                            {
                              "name": "fields",
                              "term": {
                                "list": [
                                  {
                                    "record": {
                                      "typeName": "hydra.core.model.Field",
                                      "fields": [
                                        {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "binding"}}}}},
                                        {
                                          "name": "term",
                                          "term": {
                                            "application": {
                                              "function": {"variable": "hydra.core.encode.model.binding"},
                                              "argument": {
                                                "application": {
                                                  "function": {"project": {"typeName": "hydra.core.error.checking.UntypedLetBindingError", "fieldName": "binding"}},
                                                  "argument": {"variable": "x"}}}}}}]}}]}}]}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "Encoder for hydra.core.error.checking.UntypedLetBindingError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.encode.error.checking.untypedTermVariableCheckingError",
        "signature": {
          "typeParameters": [],
          "parameters": [{"name": "arg0", "type": {"variable": "hydra.core.error.checking.UntypedTermVariableCheckingError"}, "isLazy": false}],
          "result": {"type": {"variable": "hydra.core.model.Term"}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {"variable": "hydra.core.error.checking.UntypedTermVariableCheckingError"},
                "body": {
                  "inject": {
                    "typeName": "hydra.core.model.Term",
                    "field": {
                      "name": "record",
                      "term": {
                        "record": {
                          "typeName": "hydra.core.model.Record",
                          "fields": [
                            {
                              "name": "typeName",
                              "term": {
                                "wrap": {
                                  "typeName": "hydra.core.model.Name",
                                  "body": {"literal": {"string": "hydra.core.error.checking.UntypedTermVariableCheckingError"}}}}},
                            {
                              "name": "fields",
                              "term": {
                                "list": [
                                  {
                                    "record": {
                                      "typeName": "hydra.core.model.Field",
                                      "fields": [
                                        {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "path"}}}}},
                                        {
                                          "name": "term",
                                          "term": {
                                            "application": {
                                              "function": {"variable": "hydra.core.encode.paths.subtermPath"},
                                              "argument": {
                                                "application": {
                                                  "function": {"project": {"typeName": "hydra.core.error.checking.UntypedTermVariableCheckingError", "fieldName": "path"}},
                                                  "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.checking.UntypedTermVariableCheckingError", "fieldName": "name"}},
                                                  "argument": {"variable": "x"}}}}}}]}}]}}]}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "Encoder for hydra.core.error.checking.UntypedTermVariableCheckingError"}}}]}}}}}]}