packages feed

hydra-kernel-0.18.1: hydra-kernel-json/hydra/core/dsl/error/model.json

{
  "name": "hydra.core.dsl.error.model",
  "metadata": {"description": "DSL functions for hydra.core.error.model", "comments": [], "seeAlso": [], "provisions": []},
  "dependencies": [
    {"module": "hydra.core.error.model"},
    {"module": "hydra.core.typed"},
    {"module": "hydra.core.encode.error.model"},
    {"module": "hydra.core.decode.error.model"},
    {"module": "hydra.core.model"},
    {"module": "hydra.core.paths"},
    {"module": "hydra.core.variants"},
    {"module": "hydra.core.dsl.model"},
    {"module": "hydra.core.dsl.paths"},
    {"module": "hydra.core.dsl.variants"}],
  "definitions": [
    {
      "term": {
        "name": "hydra.core.dsl.error.model.constantConditionErrorConstantConditionError",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedName"},
                "argument": {"variable": "hydra.core.error.model.ConstantConditionError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "wrap": {
                "typeName": "hydra.core.typed.TypedName",
                "body": {
                  "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.ConstantConditionError"}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL name token for hydra.core.error.model.ConstantConditionError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.constantConditionError",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.paths.SubtermPath"},
                      "annotation": {
                        "map": [
                          {
                            "key": {"variable": "description"},
                            "value": {"literal": {"string": "The path to the constant condition within the term"}}}]}}}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"literal": "boolean"},
                      "annotation": {
                        "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The constant boolean value of the condition"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.ConstantConditionError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "location",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.paths.SubtermPath"},
                        "annotation": {
                          "map": [
                            {
                              "key": {"variable": "description"},
                              "value": {"literal": {"string": "The path to the constant condition within the term"}}}]}}}}},
                "body": {
                  "lambda": {
                    "parameter": "value",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"literal": "boolean"},
                            "annotation": {
                              "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The constant boolean value of the condition"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "location"}}}}]}},
                                          {
                                            "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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "value"}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL constructor for hydra.core.error.model.ConstantConditionError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.constantConditionErrorLocation",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.ConstantConditionError"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"variable": "hydra.core.paths.SubtermPath"},
                    "annotation": {
                      "map": [
                        {
                          "key": {"variable": "description"},
                          "value": {"literal": {"string": "The path to the constant condition within the term"}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.ConstantConditionError"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {
                                                  "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.ConstantConditionError"}}}}},
                                              {
                                                "name": "fieldName",
                                                "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL accessor for the location field of hydra.core.error.model.ConstantConditionError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.constantConditionErrorValue",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.ConstantConditionError"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"literal": "boolean"},
                    "annotation": {
                      "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The constant boolean value of the condition"}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.ConstantConditionError"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {
                                                  "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.ConstantConditionError"}}}}},
                                              {"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "value"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL accessor for the value field of hydra.core.error.model.ConstantConditionError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.constantConditionErrorWithLocation",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.ConstantConditionError"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.paths.SubtermPath"},
                      "annotation": {
                        "map": [
                          {
                            "key": {"variable": "description"},
                            "value": {"literal": {"string": "The path to the constant condition within the term"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.ConstantConditionError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.ConstantConditionError"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.paths.SubtermPath"},
                            "annotation": {
                              "map": [
                                {
                                  "key": {"variable": "description"},
                                  "value": {"literal": {"string": "The path to the constant condition within the term"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "value"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.ConstantConditionError"}}}}},
                                                                            {"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "value"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL updater for the location field of hydra.core.error.model.ConstantConditionError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.constantConditionErrorWithValue",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.ConstantConditionError"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"literal": "boolean"},
                      "annotation": {
                        "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The constant boolean value of the condition"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.ConstantConditionError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.ConstantConditionError"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"literal": "boolean"},
                            "annotation": {
                              "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The constant boolean value of the condition"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.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": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.ConstantConditionError"}}}}},
                                                                            {
                                                                              "name": "fieldName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "value"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL updater for the value field of hydra.core.error.model.ConstantConditionError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.duplicateBindingErrorDuplicateBindingError",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedName"},
                "argument": {"variable": "hydra.core.error.model.DuplicateBindingError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "wrap": {
                "typeName": "hydra.core.typed.TypedName",
                "body": {
                  "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.DuplicateBindingError"}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL name token for hydra.core.error.model.DuplicateBindingError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.duplicateBindingError",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.paths.SubtermPath"},
                      "annotation": {
                        "map": [
                          {
                            "key": {"variable": "description"},
                            "value": {"literal": {"string": "The path to the duplicate binding within the term"}}}]}}}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.model.Name"},
                      "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The duplicated binding name"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.DuplicateBindingError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "location",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.paths.SubtermPath"},
                        "annotation": {
                          "map": [
                            {
                              "key": {"variable": "description"},
                              "value": {"literal": {"string": "The path to the duplicate binding within the term"}}}]}}}}},
                "body": {
                  "lambda": {
                    "parameter": "name",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.model.Name"},
                            "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The duplicated binding name"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "location"}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "name"}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL constructor for hydra.core.error.model.DuplicateBindingError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.duplicateBindingErrorLocation",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.DuplicateBindingError"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"variable": "hydra.core.paths.SubtermPath"},
                    "annotation": {
                      "map": [
                        {
                          "key": {"variable": "description"},
                          "value": {"literal": {"string": "The path to the duplicate binding within the term"}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.DuplicateBindingError"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {
                                                  "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.DuplicateBindingError"}}}}},
                                              {
                                                "name": "fieldName",
                                                "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL accessor for the location field of hydra.core.error.model.DuplicateBindingError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.duplicateBindingErrorName",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.DuplicateBindingError"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"variable": "hydra.core.model.Name"},
                    "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The duplicated binding name"}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.DuplicateBindingError"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {
                                                  "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.DuplicateBindingError"}}}}},
                                              {"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL accessor for the name field of hydra.core.error.model.DuplicateBindingError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.duplicateBindingErrorWithLocation",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.DuplicateBindingError"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.paths.SubtermPath"},
                      "annotation": {
                        "map": [
                          {
                            "key": {"variable": "description"},
                            "value": {"literal": {"string": "The path to the duplicate binding within the term"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.DuplicateBindingError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.DuplicateBindingError"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.paths.SubtermPath"},
                            "annotation": {
                              "map": [
                                {
                                  "key": {"variable": "description"},
                                  "value": {"literal": {"string": "The path to the duplicate binding within the term"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.DuplicateBindingError"}}}}},
                                                                            {"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL updater for the location field of hydra.core.error.model.DuplicateBindingError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.duplicateBindingErrorWithName",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.DuplicateBindingError"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.model.Name"},
                      "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The duplicated binding name"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.DuplicateBindingError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.DuplicateBindingError"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.model.Name"},
                            "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The duplicated binding name"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.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": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.DuplicateBindingError"}}}}},
                                                                            {
                                                                              "name": "fieldName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL updater for the name field of hydra.core.error.model.DuplicateBindingError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.duplicateFieldErrorDuplicateFieldError",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedName"},
                "argument": {"variable": "hydra.core.error.model.DuplicateFieldError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "wrap": {
                "typeName": "hydra.core.typed.TypedName",
                "body": {
                  "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.DuplicateFieldError"}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL name token for hydra.core.error.model.DuplicateFieldError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.duplicateFieldError",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.paths.SubtermPath"},
                      "annotation": {
                        "map": [
                          {
                            "key": {"variable": "description"},
                            "value": {"literal": {"string": "The path to the duplicate field within the term"}}}]}}}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.model.Name"},
                      "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The duplicated field name"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.DuplicateFieldError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "location",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.paths.SubtermPath"},
                        "annotation": {
                          "map": [
                            {
                              "key": {"variable": "description"},
                              "value": {"literal": {"string": "The path to the duplicate field within the term"}}}]}}}}},
                "body": {
                  "lambda": {
                    "parameter": "name",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.model.Name"},
                            "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The duplicated field name"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "location"}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "name"}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL constructor for hydra.core.error.model.DuplicateFieldError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.duplicateFieldErrorLocation",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.DuplicateFieldError"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"variable": "hydra.core.paths.SubtermPath"},
                    "annotation": {
                      "map": [
                        {
                          "key": {"variable": "description"},
                          "value": {"literal": {"string": "The path to the duplicate field within the term"}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.DuplicateFieldError"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {
                                                  "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.DuplicateFieldError"}}}}},
                                              {
                                                "name": "fieldName",
                                                "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL accessor for the location field of hydra.core.error.model.DuplicateFieldError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.duplicateFieldErrorName",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.DuplicateFieldError"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"variable": "hydra.core.model.Name"},
                    "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The duplicated field name"}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.DuplicateFieldError"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {
                                                  "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.DuplicateFieldError"}}}}},
                                              {"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL accessor for the name field of hydra.core.error.model.DuplicateFieldError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.duplicateFieldErrorWithLocation",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.DuplicateFieldError"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.paths.SubtermPath"},
                      "annotation": {
                        "map": [
                          {
                            "key": {"variable": "description"},
                            "value": {"literal": {"string": "The path to the duplicate field within the term"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.DuplicateFieldError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.DuplicateFieldError"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.paths.SubtermPath"},
                            "annotation": {
                              "map": [
                                {
                                  "key": {"variable": "description"},
                                  "value": {"literal": {"string": "The path to the duplicate field within the term"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.DuplicateFieldError"}}}}},
                                                                            {"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL updater for the location field of hydra.core.error.model.DuplicateFieldError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.duplicateFieldErrorWithName",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.DuplicateFieldError"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.model.Name"},
                      "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The duplicated field name"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.DuplicateFieldError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.DuplicateFieldError"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.model.Name"},
                            "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The duplicated field name"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.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": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.DuplicateFieldError"}}}}},
                                                                            {
                                                                              "name": "fieldName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL updater for the name field of hydra.core.error.model.DuplicateFieldError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.duplicateRecordTypeFieldNamesErrorDuplicateRecordTypeFieldNamesError",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedName"},
                "argument": {"variable": "hydra.core.error.model.DuplicateRecordTypeFieldNamesError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "wrap": {
                "typeName": "hydra.core.typed.TypedName",
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.model.Name",
                    "body": {"literal": {"string": "hydra.core.error.model.DuplicateRecordTypeFieldNamesError"}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL name token for hydra.core.error.model.DuplicateRecordTypeFieldNamesError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.duplicateRecordTypeFieldNamesError",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.paths.SubtermPath"},
                      "annotation": {
                        "map": [
                          {
                            "key": {"variable": "description"},
                            "value": {"literal": {"string": "The path to the record type with duplicate fields"}}}]}}}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.model.Name"},
                      "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The duplicated field name"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.DuplicateRecordTypeFieldNamesError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "location",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.paths.SubtermPath"},
                        "annotation": {
                          "map": [
                            {
                              "key": {"variable": "description"},
                              "value": {"literal": {"string": "The path to the record type with duplicate fields"}}}]}}}}},
                "body": {
                  "lambda": {
                    "parameter": "name",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.model.Name"},
                            "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The duplicated field name"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {
                                          "typeName": "hydra.core.model.Name",
                                          "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "location"}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "name"}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL constructor for hydra.core.error.model.DuplicateRecordTypeFieldNamesError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.duplicateRecordTypeFieldNamesErrorLocation",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.DuplicateRecordTypeFieldNamesError"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"variable": "hydra.core.paths.SubtermPath"},
                    "annotation": {
                      "map": [
                        {
                          "key": {"variable": "description"},
                          "value": {"literal": {"string": "The path to the record type with duplicate fields"}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.DuplicateRecordTypeFieldNamesError"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {
                                                  "wrap": {
                                                    "typeName": "hydra.core.model.Name",
                                                    "body": {"literal": {"string": "hydra.core.error.model.DuplicateRecordTypeFieldNamesError"}}}}},
                                              {
                                                "name": "fieldName",
                                                "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {
                    "literal": {"string": "DSL accessor for the location field of hydra.core.error.model.DuplicateRecordTypeFieldNamesError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.duplicateRecordTypeFieldNamesErrorName",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.DuplicateRecordTypeFieldNamesError"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"variable": "hydra.core.model.Name"},
                    "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The duplicated field name"}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.DuplicateRecordTypeFieldNamesError"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {
                                                  "wrap": {
                                                    "typeName": "hydra.core.model.Name",
                                                    "body": {"literal": {"string": "hydra.core.error.model.DuplicateRecordTypeFieldNamesError"}}}}},
                                              {"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL accessor for the name field of hydra.core.error.model.DuplicateRecordTypeFieldNamesError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.duplicateRecordTypeFieldNamesErrorWithLocation",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.DuplicateRecordTypeFieldNamesError"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.paths.SubtermPath"},
                      "annotation": {
                        "map": [
                          {
                            "key": {"variable": "description"},
                            "value": {"literal": {"string": "The path to the record type with duplicate fields"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.DuplicateRecordTypeFieldNamesError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.DuplicateRecordTypeFieldNamesError"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.paths.SubtermPath"},
                            "annotation": {
                              "map": [
                                {
                                  "key": {"variable": "description"},
                                  "value": {"literal": {"string": "The path to the record type with duplicate fields"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {
                                          "typeName": "hydra.core.model.Name",
                                          "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {
                                                                                  "typeName": "hydra.core.model.Name",
                                                                                  "body": {"literal": {"string": "hydra.core.error.model.DuplicateRecordTypeFieldNamesError"}}}}},
                                                                            {"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {
                    "literal": {"string": "DSL updater for the location field of hydra.core.error.model.DuplicateRecordTypeFieldNamesError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.duplicateRecordTypeFieldNamesErrorWithName",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.DuplicateRecordTypeFieldNamesError"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.model.Name"},
                      "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The duplicated field name"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.DuplicateRecordTypeFieldNamesError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.DuplicateRecordTypeFieldNamesError"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.model.Name"},
                            "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The duplicated field name"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {
                                          "typeName": "hydra.core.model.Name",
                                          "body": {"literal": {"string": "hydra.core.error.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": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {
                                                                                  "typeName": "hydra.core.model.Name",
                                                                                  "body": {"literal": {"string": "hydra.core.error.model.DuplicateRecordTypeFieldNamesError"}}}}},
                                                                            {
                                                                              "name": "fieldName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL updater for the name field of hydra.core.error.model.DuplicateRecordTypeFieldNamesError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.duplicateUnionTypeFieldNamesErrorDuplicateUnionTypeFieldNamesError",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedName"},
                "argument": {"variable": "hydra.core.error.model.DuplicateUnionTypeFieldNamesError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "wrap": {
                "typeName": "hydra.core.typed.TypedName",
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.model.Name",
                    "body": {"literal": {"string": "hydra.core.error.model.DuplicateUnionTypeFieldNamesError"}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL name token for hydra.core.error.model.DuplicateUnionTypeFieldNamesError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.duplicateUnionTypeFieldNamesError",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.paths.SubtermPath"},
                      "annotation": {
                        "map": [
                          {
                            "key": {"variable": "description"},
                            "value": {"literal": {"string": "The path to the union type with duplicate fields"}}}]}}}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.model.Name"},
                      "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The duplicated field name"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.DuplicateUnionTypeFieldNamesError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "location",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.paths.SubtermPath"},
                        "annotation": {
                          "map": [
                            {
                              "key": {"variable": "description"},
                              "value": {"literal": {"string": "The path to the union type with duplicate fields"}}}]}}}}},
                "body": {
                  "lambda": {
                    "parameter": "name",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.model.Name"},
                            "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The duplicated field name"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {
                                          "typeName": "hydra.core.model.Name",
                                          "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "location"}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "name"}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL constructor for hydra.core.error.model.DuplicateUnionTypeFieldNamesError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.duplicateUnionTypeFieldNamesErrorLocation",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.DuplicateUnionTypeFieldNamesError"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"variable": "hydra.core.paths.SubtermPath"},
                    "annotation": {
                      "map": [
                        {
                          "key": {"variable": "description"},
                          "value": {"literal": {"string": "The path to the union type with duplicate fields"}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.DuplicateUnionTypeFieldNamesError"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {
                                                  "wrap": {
                                                    "typeName": "hydra.core.model.Name",
                                                    "body": {"literal": {"string": "hydra.core.error.model.DuplicateUnionTypeFieldNamesError"}}}}},
                                              {
                                                "name": "fieldName",
                                                "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {
                    "literal": {"string": "DSL accessor for the location field of hydra.core.error.model.DuplicateUnionTypeFieldNamesError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.duplicateUnionTypeFieldNamesErrorName",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.DuplicateUnionTypeFieldNamesError"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"variable": "hydra.core.model.Name"},
                    "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The duplicated field name"}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.DuplicateUnionTypeFieldNamesError"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {
                                                  "wrap": {
                                                    "typeName": "hydra.core.model.Name",
                                                    "body": {"literal": {"string": "hydra.core.error.model.DuplicateUnionTypeFieldNamesError"}}}}},
                                              {"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL accessor for the name field of hydra.core.error.model.DuplicateUnionTypeFieldNamesError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.duplicateUnionTypeFieldNamesErrorWithLocation",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.DuplicateUnionTypeFieldNamesError"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.paths.SubtermPath"},
                      "annotation": {
                        "map": [
                          {
                            "key": {"variable": "description"},
                            "value": {"literal": {"string": "The path to the union type with duplicate fields"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.DuplicateUnionTypeFieldNamesError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.DuplicateUnionTypeFieldNamesError"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.paths.SubtermPath"},
                            "annotation": {
                              "map": [
                                {
                                  "key": {"variable": "description"},
                                  "value": {"literal": {"string": "The path to the union type with duplicate fields"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {
                                          "typeName": "hydra.core.model.Name",
                                          "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {
                                                                                  "typeName": "hydra.core.model.Name",
                                                                                  "body": {"literal": {"string": "hydra.core.error.model.DuplicateUnionTypeFieldNamesError"}}}}},
                                                                            {"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {
                    "literal": {"string": "DSL updater for the location field of hydra.core.error.model.DuplicateUnionTypeFieldNamesError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.duplicateUnionTypeFieldNamesErrorWithName",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.DuplicateUnionTypeFieldNamesError"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.model.Name"},
                      "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The duplicated field name"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.DuplicateUnionTypeFieldNamesError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.DuplicateUnionTypeFieldNamesError"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.model.Name"},
                            "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The duplicated field name"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {
                                          "typeName": "hydra.core.model.Name",
                                          "body": {"literal": {"string": "hydra.core.error.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": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {
                                                                                  "typeName": "hydra.core.model.Name",
                                                                                  "body": {"literal": {"string": "hydra.core.error.model.DuplicateUnionTypeFieldNamesError"}}}}},
                                                                            {
                                                                              "name": "fieldName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL updater for the name field of hydra.core.error.model.DuplicateUnionTypeFieldNamesError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.emptyCaseStatementErrorEmptyCaseStatementError",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedName"},
                "argument": {"variable": "hydra.core.error.model.EmptyCaseStatementError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "wrap": {
                "typeName": "hydra.core.typed.TypedName",
                "body": {
                  "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.EmptyCaseStatementError"}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL name token for hydra.core.error.model.EmptyCaseStatementError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.emptyCaseStatementError",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.paths.SubtermPath"},
                      "annotation": {
                        "map": [
                          {
                            "key": {"variable": "description"},
                            "value": {"literal": {"string": "The path to the empty case statement within the term"}}}]}}}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.model.Name"},
                      "annotation": {
                        "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the union type being matched"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.EmptyCaseStatementError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "location",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.paths.SubtermPath"},
                        "annotation": {
                          "map": [
                            {
                              "key": {"variable": "description"},
                              "value": {"literal": {"string": "The path to the empty case statement within the term"}}}]}}}}},
                "body": {
                  "lambda": {
                    "parameter": "typeName",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.model.Name"},
                            "annotation": {
                              "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the union type being matched"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "location"}}}}]}},
                                          {
                                            "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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "typeName"}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL constructor for hydra.core.error.model.EmptyCaseStatementError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.emptyCaseStatementErrorLocation",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.EmptyCaseStatementError"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"variable": "hydra.core.paths.SubtermPath"},
                    "annotation": {
                      "map": [
                        {
                          "key": {"variable": "description"},
                          "value": {"literal": {"string": "The path to the empty case statement within the term"}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.EmptyCaseStatementError"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {
                                                  "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.EmptyCaseStatementError"}}}}},
                                              {
                                                "name": "fieldName",
                                                "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL accessor for the location field of hydra.core.error.model.EmptyCaseStatementError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.emptyCaseStatementErrorTypeName",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.EmptyCaseStatementError"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"variable": "hydra.core.model.Name"},
                    "annotation": {
                      "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the union type being matched"}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.EmptyCaseStatementError"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {
                                                  "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.EmptyCaseStatementError"}}}}},
                                              {
                                                "name": "fieldName",
                                                "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeName"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL accessor for the typeName field of hydra.core.error.model.EmptyCaseStatementError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.emptyCaseStatementErrorWithLocation",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.EmptyCaseStatementError"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.paths.SubtermPath"},
                      "annotation": {
                        "map": [
                          {
                            "key": {"variable": "description"},
                            "value": {"literal": {"string": "The path to the empty case statement within the term"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.EmptyCaseStatementError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.EmptyCaseStatementError"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.paths.SubtermPath"},
                            "annotation": {
                              "map": [
                                {
                                  "key": {"variable": "description"},
                                  "value": {"literal": {"string": "The path to the empty case statement within the term"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeName"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.EmptyCaseStatementError"}}}}},
                                                                            {
                                                                              "name": "fieldName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeName"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL updater for the location field of hydra.core.error.model.EmptyCaseStatementError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.emptyCaseStatementErrorWithTypeName",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.EmptyCaseStatementError"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.model.Name"},
                      "annotation": {
                        "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the union type being matched"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.EmptyCaseStatementError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.EmptyCaseStatementError"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.model.Name"},
                            "annotation": {
                              "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the union type being matched"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.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": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.EmptyCaseStatementError"}}}}},
                                                                            {
                                                                              "name": "fieldName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeName"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL updater for the typeName field of hydra.core.error.model.EmptyCaseStatementError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.emptyLetBindingsErrorEmptyLetBindingsError",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedName"},
                "argument": {"variable": "hydra.core.error.model.EmptyLetBindingsError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "wrap": {
                "typeName": "hydra.core.typed.TypedName",
                "body": {
                  "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.EmptyLetBindingsError"}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL name token for hydra.core.error.model.EmptyLetBindingsError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.emptyLetBindingsError",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.paths.SubtermPath"},
                      "annotation": {
                        "map": [
                          {
                            "key": {"variable": "description"},
                            "value": {"literal": {"string": "The path to the empty let expression within the term"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.EmptyLetBindingsError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "location",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.paths.SubtermPath"},
                        "annotation": {
                          "map": [
                            {
                              "key": {"variable": "description"},
                              "value": {"literal": {"string": "The path to the empty let expression within the term"}}}]}}}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "record",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Record",
                              "fields": [
                                {
                                  "name": "typeName",
                                  "term": {
                                    "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "location"}}}}]}}]}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL constructor for hydra.core.error.model.EmptyLetBindingsError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.emptyLetBindingsErrorLocation",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.EmptyLetBindingsError"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"variable": "hydra.core.paths.SubtermPath"},
                    "annotation": {
                      "map": [
                        {
                          "key": {"variable": "description"},
                          "value": {"literal": {"string": "The path to the empty let expression within the term"}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.EmptyLetBindingsError"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {
                                                  "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.EmptyLetBindingsError"}}}}},
                                              {
                                                "name": "fieldName",
                                                "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL accessor for the location field of hydra.core.error.model.EmptyLetBindingsError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.emptyLetBindingsErrorWithLocation",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.EmptyLetBindingsError"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.paths.SubtermPath"},
                      "annotation": {
                        "map": [
                          {
                            "key": {"variable": "description"},
                            "value": {"literal": {"string": "The path to the empty let expression within the term"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.EmptyLetBindingsError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.EmptyLetBindingsError"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.paths.SubtermPath"},
                            "annotation": {
                              "map": [
                                {
                                  "key": {"variable": "description"},
                                  "value": {"literal": {"string": "The path to the empty let expression within the term"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL updater for the location field of hydra.core.error.model.EmptyLetBindingsError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.emptyRecordTypeErrorEmptyRecordTypeError",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedName"},
                "argument": {"variable": "hydra.core.error.model.EmptyRecordTypeError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "wrap": {
                "typeName": "hydra.core.typed.TypedName",
                "body": {
                  "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.EmptyRecordTypeError"}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL name token for hydra.core.error.model.EmptyRecordTypeError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.emptyRecordTypeError",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.paths.SubtermPath"},
                      "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the empty record type"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.EmptyRecordTypeError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "location",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.paths.SubtermPath"},
                        "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the empty record type"}}}]}}}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "record",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Record",
                              "fields": [
                                {
                                  "name": "typeName",
                                  "term": {
                                    "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "location"}}}}]}}]}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL constructor for hydra.core.error.model.EmptyRecordTypeError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.emptyRecordTypeErrorLocation",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.EmptyRecordTypeError"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"variable": "hydra.core.paths.SubtermPath"},
                    "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the empty record type"}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.EmptyRecordTypeError"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {
                                                  "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.EmptyRecordTypeError"}}}}},
                                              {
                                                "name": "fieldName",
                                                "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL accessor for the location field of hydra.core.error.model.EmptyRecordTypeError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.emptyRecordTypeErrorWithLocation",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.EmptyRecordTypeError"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.paths.SubtermPath"},
                      "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the empty record type"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.EmptyRecordTypeError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.EmptyRecordTypeError"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.paths.SubtermPath"},
                            "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the empty record type"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL updater for the location field of hydra.core.error.model.EmptyRecordTypeError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.emptyTermAnnotationErrorEmptyTermAnnotationError",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedName"},
                "argument": {"variable": "hydra.core.error.model.EmptyTermAnnotationError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "wrap": {
                "typeName": "hydra.core.typed.TypedName",
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.model.Name",
                    "body": {"literal": {"string": "hydra.core.error.model.EmptyTermAnnotationError"}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL name token for hydra.core.error.model.EmptyTermAnnotationError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.emptyTermAnnotationError",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.paths.SubtermPath"},
                      "annotation": {
                        "map": [
                          {
                            "key": {"variable": "description"},
                            "value": {"literal": {"string": "The path to the empty annotation within the term"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.EmptyTermAnnotationError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "location",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.paths.SubtermPath"},
                        "annotation": {
                          "map": [
                            {
                              "key": {"variable": "description"},
                              "value": {"literal": {"string": "The path to the empty annotation within the term"}}}]}}}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "record",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Record",
                              "fields": [
                                {
                                  "name": "typeName",
                                  "term": {
                                    "wrap": {
                                      "typeName": "hydra.core.model.Name",
                                      "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "location"}}}}]}}]}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL constructor for hydra.core.error.model.EmptyTermAnnotationError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.emptyTermAnnotationErrorLocation",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.EmptyTermAnnotationError"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"variable": "hydra.core.paths.SubtermPath"},
                    "annotation": {
                      "map": [
                        {
                          "key": {"variable": "description"},
                          "value": {"literal": {"string": "The path to the empty annotation within the term"}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.EmptyTermAnnotationError"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {
                                                  "wrap": {
                                                    "typeName": "hydra.core.model.Name",
                                                    "body": {"literal": {"string": "hydra.core.error.model.EmptyTermAnnotationError"}}}}},
                                              {
                                                "name": "fieldName",
                                                "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL accessor for the location field of hydra.core.error.model.EmptyTermAnnotationError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.emptyTermAnnotationErrorWithLocation",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.EmptyTermAnnotationError"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.paths.SubtermPath"},
                      "annotation": {
                        "map": [
                          {
                            "key": {"variable": "description"},
                            "value": {"literal": {"string": "The path to the empty annotation within the term"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.EmptyTermAnnotationError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.EmptyTermAnnotationError"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.paths.SubtermPath"},
                            "annotation": {
                              "map": [
                                {
                                  "key": {"variable": "description"},
                                  "value": {"literal": {"string": "The path to the empty annotation within the term"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {
                                          "typeName": "hydra.core.model.Name",
                                          "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL updater for the location field of hydra.core.error.model.EmptyTermAnnotationError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.emptyTypeAnnotationErrorEmptyTypeAnnotationError",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedName"},
                "argument": {"variable": "hydra.core.error.model.EmptyTypeAnnotationError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "wrap": {
                "typeName": "hydra.core.typed.TypedName",
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.model.Name",
                    "body": {"literal": {"string": "hydra.core.error.model.EmptyTypeAnnotationError"}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL name token for hydra.core.error.model.EmptyTypeAnnotationError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.emptyTypeAnnotationError",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.paths.SubtermPath"},
                      "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the empty annotation"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.EmptyTypeAnnotationError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "location",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.paths.SubtermPath"},
                        "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the empty annotation"}}}]}}}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "record",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Record",
                              "fields": [
                                {
                                  "name": "typeName",
                                  "term": {
                                    "wrap": {
                                      "typeName": "hydra.core.model.Name",
                                      "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "location"}}}}]}}]}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL constructor for hydra.core.error.model.EmptyTypeAnnotationError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.emptyTypeAnnotationErrorLocation",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.EmptyTypeAnnotationError"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"variable": "hydra.core.paths.SubtermPath"},
                    "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the empty annotation"}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.EmptyTypeAnnotationError"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {
                                                  "wrap": {
                                                    "typeName": "hydra.core.model.Name",
                                                    "body": {"literal": {"string": "hydra.core.error.model.EmptyTypeAnnotationError"}}}}},
                                              {
                                                "name": "fieldName",
                                                "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL accessor for the location field of hydra.core.error.model.EmptyTypeAnnotationError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.emptyTypeAnnotationErrorWithLocation",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.EmptyTypeAnnotationError"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.paths.SubtermPath"},
                      "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the empty annotation"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.EmptyTypeAnnotationError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.EmptyTypeAnnotationError"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.paths.SubtermPath"},
                            "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the empty annotation"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {
                                          "typeName": "hydra.core.model.Name",
                                          "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL updater for the location field of hydra.core.error.model.EmptyTypeAnnotationError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.emptyTypeNameInTermErrorEmptyTypeNameInTermError",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedName"},
                "argument": {"variable": "hydra.core.error.model.EmptyTypeNameInTermError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "wrap": {
                "typeName": "hydra.core.typed.TypedName",
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.model.Name",
                    "body": {"literal": {"string": "hydra.core.error.model.EmptyTypeNameInTermError"}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL name token for hydra.core.error.model.EmptyTypeNameInTermError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.emptyTypeNameInTermError",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.paths.SubtermPath"},
                      "annotation": {
                        "map": [
                          {"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the term with the empty type name"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.EmptyTypeNameInTermError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "location",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.paths.SubtermPath"},
                        "annotation": {
                          "map": [
                            {"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the term with the empty type name"}}}]}}}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "record",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Record",
                              "fields": [
                                {
                                  "name": "typeName",
                                  "term": {
                                    "wrap": {
                                      "typeName": "hydra.core.model.Name",
                                      "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "location"}}}}]}}]}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL constructor for hydra.core.error.model.EmptyTypeNameInTermError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.emptyTypeNameInTermErrorLocation",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.EmptyTypeNameInTermError"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"variable": "hydra.core.paths.SubtermPath"},
                    "annotation": {
                      "map": [
                        {"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the term with the empty type name"}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.EmptyTypeNameInTermError"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {
                                                  "wrap": {
                                                    "typeName": "hydra.core.model.Name",
                                                    "body": {"literal": {"string": "hydra.core.error.model.EmptyTypeNameInTermError"}}}}},
                                              {
                                                "name": "fieldName",
                                                "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL accessor for the location field of hydra.core.error.model.EmptyTypeNameInTermError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.emptyTypeNameInTermErrorWithLocation",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.EmptyTypeNameInTermError"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.paths.SubtermPath"},
                      "annotation": {
                        "map": [
                          {"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the term with the empty type name"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.EmptyTypeNameInTermError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.EmptyTypeNameInTermError"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.paths.SubtermPath"},
                            "annotation": {
                              "map": [
                                {"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the term with the empty type name"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {
                                          "typeName": "hydra.core.model.Name",
                                          "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL updater for the location field of hydra.core.error.model.EmptyTypeNameInTermError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.emptyUnionTypeErrorEmptyUnionTypeError",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedName"},
                "argument": {"variable": "hydra.core.error.model.EmptyUnionTypeError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "wrap": {
                "typeName": "hydra.core.typed.TypedName",
                "body": {
                  "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.EmptyUnionTypeError"}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL name token for hydra.core.error.model.EmptyUnionTypeError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.emptyUnionTypeError",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.paths.SubtermPath"},
                      "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the empty union type"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.EmptyUnionTypeError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "location",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.paths.SubtermPath"},
                        "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the empty union type"}}}]}}}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "record",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Record",
                              "fields": [
                                {
                                  "name": "typeName",
                                  "term": {
                                    "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "location"}}}}]}}]}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL constructor for hydra.core.error.model.EmptyUnionTypeError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.emptyUnionTypeErrorLocation",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.EmptyUnionTypeError"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"variable": "hydra.core.paths.SubtermPath"},
                    "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the empty union type"}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.EmptyUnionTypeError"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {
                                                  "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.EmptyUnionTypeError"}}}}},
                                              {
                                                "name": "fieldName",
                                                "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL accessor for the location field of hydra.core.error.model.EmptyUnionTypeError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.emptyUnionTypeErrorWithLocation",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.EmptyUnionTypeError"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.paths.SubtermPath"},
                      "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the empty union type"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.EmptyUnionTypeError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.EmptyUnionTypeError"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.paths.SubtermPath"},
                            "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the empty union type"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL updater for the location field of hydra.core.error.model.EmptyUnionTypeError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.extraRecordFieldsErrorExtraRecordFieldsError",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedName"},
                "argument": {"variable": "hydra.core.error.model.ExtraRecordFieldsError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "wrap": {
                "typeName": "hydra.core.typed.TypedName",
                "body": {
                  "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.ExtraRecordFieldsError"}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL name token for hydra.core.error.model.ExtraRecordFieldsError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.extraRecordFieldsError",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.paths.SubtermPath"},
                      "annotation": {
                        "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the record term within the term"}}}]}}}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.model.Name"},
                      "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the record type"}}}]}}}}},
              "isLazy": false},
            {
              "name": "arg2",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"list": {"variable": "hydra.core.model.Name"}},
                      "annotation": {
                        "map": [
                          {
                            "key": {"variable": "description"},
                            "value": {"literal": {"string": "The names of the undeclared fields supplied by the record term"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.ExtraRecordFieldsError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "location",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.paths.SubtermPath"},
                        "annotation": {
                          "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the record term within the term"}}}]}}}}},
                "body": {
                  "lambda": {
                    "parameter": "typeName",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.model.Name"},
                            "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the record type"}}}]}}}}},
                    "body": {
                      "lambda": {
                        "parameter": "fieldNames",
                        "domain": {
                          "application": {
                            "function": {"variable": "hydra.core.typed.TypedTerm"},
                            "argument": {
                              "annotated": {
                                "body": {"list": {"variable": "hydra.core.model.Name"}},
                                "annotation": {
                                  "map": [
                                    {
                                      "key": {"variable": "description"},
                                      "value": {"literal": {"string": "The names of the undeclared fields supplied by the record term"}}}]}}}}},
                        "body": {
                          "wrap": {
                            "typeName": "hydra.core.typed.TypedTerm",
                            "body": {
                              "inject": {
                                "typeName": "hydra.core.model.Term",
                                "field": {
                                  "name": "record",
                                  "term": {
                                    "record": {
                                      "typeName": "hydra.core.model.Record",
                                      "fields": [
                                        {
                                          "name": "typeName",
                                          "term": {
                                            "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "location"}}}}]}},
                                              {
                                                "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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "typeName"}}}}]}},
                                              {
                                                "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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "fieldNames"}}}}]}}]}}]}}}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL constructor for hydra.core.error.model.ExtraRecordFieldsError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.extraRecordFieldsErrorLocation",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.ExtraRecordFieldsError"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"variable": "hydra.core.paths.SubtermPath"},
                    "annotation": {
                      "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the record term within the term"}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.ExtraRecordFieldsError"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {
                                                  "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.ExtraRecordFieldsError"}}}}},
                                              {
                                                "name": "fieldName",
                                                "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL accessor for the location field of hydra.core.error.model.ExtraRecordFieldsError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.extraRecordFieldsErrorTypeName",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.ExtraRecordFieldsError"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"variable": "hydra.core.model.Name"},
                    "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the record type"}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.ExtraRecordFieldsError"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {
                                                  "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.ExtraRecordFieldsError"}}}}},
                                              {
                                                "name": "fieldName",
                                                "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeName"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL accessor for the typeName field of hydra.core.error.model.ExtraRecordFieldsError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.extraRecordFieldsErrorFieldNames",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.ExtraRecordFieldsError"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"list": {"variable": "hydra.core.model.Name"}},
                    "annotation": {
                      "map": [
                        {
                          "key": {"variable": "description"},
                          "value": {"literal": {"string": "The names of the undeclared fields supplied by the record term"}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.ExtraRecordFieldsError"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {
                                                  "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.ExtraRecordFieldsError"}}}}},
                                              {
                                                "name": "fieldName",
                                                "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "fieldNames"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL accessor for the fieldNames field of hydra.core.error.model.ExtraRecordFieldsError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.extraRecordFieldsErrorWithLocation",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.ExtraRecordFieldsError"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.paths.SubtermPath"},
                      "annotation": {
                        "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the record term within the term"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.ExtraRecordFieldsError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.ExtraRecordFieldsError"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.paths.SubtermPath"},
                            "annotation": {
                              "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the record term within the term"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeName"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.ExtraRecordFieldsError"}}}}},
                                                                            {
                                                                              "name": "fieldName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeName"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "fieldNames"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.ExtraRecordFieldsError"}}}}},
                                                                            {
                                                                              "name": "fieldName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "fieldNames"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL updater for the location field of hydra.core.error.model.ExtraRecordFieldsError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.extraRecordFieldsErrorWithTypeName",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.ExtraRecordFieldsError"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.model.Name"},
                      "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the record type"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.ExtraRecordFieldsError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.ExtraRecordFieldsError"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.model.Name"},
                            "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the record type"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.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": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.ExtraRecordFieldsError"}}}}},
                                                                            {
                                                                              "name": "fieldName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeName"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "fieldNames"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.ExtraRecordFieldsError"}}}}},
                                                                            {
                                                                              "name": "fieldName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "fieldNames"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL updater for the typeName field of hydra.core.error.model.ExtraRecordFieldsError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.extraRecordFieldsErrorWithFieldNames",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.ExtraRecordFieldsError"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"list": {"variable": "hydra.core.model.Name"}},
                      "annotation": {
                        "map": [
                          {
                            "key": {"variable": "description"},
                            "value": {"literal": {"string": "The names of the undeclared fields supplied by the record term"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.ExtraRecordFieldsError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.ExtraRecordFieldsError"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"list": {"variable": "hydra.core.model.Name"}},
                            "annotation": {
                              "map": [
                                {
                                  "key": {"variable": "description"},
                                  "value": {"literal": {"string": "The names of the undeclared fields supplied by the record term"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.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": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.ExtraRecordFieldsError"}}}}},
                                                                            {
                                                                              "name": "fieldName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeName"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.ExtraRecordFieldsError"}}}}},
                                                                            {
                                                                              "name": "fieldName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeName"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "fieldNames"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL updater for the fieldNames field of hydra.core.error.model.ExtraRecordFieldsError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.invalidForallParameterNameErrorInvalidForallParameterNameError",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedName"},
                "argument": {"variable": "hydra.core.error.model.InvalidForallParameterNameError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "wrap": {
                "typeName": "hydra.core.typed.TypedName",
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.model.Name",
                    "body": {"literal": {"string": "hydra.core.error.model.InvalidForallParameterNameError"}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL name token for hydra.core.error.model.InvalidForallParameterNameError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.invalidForallParameterNameError",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.paths.SubtermPath"},
                      "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the forall type"}}}]}}}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.model.Name"},
                      "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The invalid parameter name"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.InvalidForallParameterNameError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "location",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.paths.SubtermPath"},
                        "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the forall type"}}}]}}}}},
                "body": {
                  "lambda": {
                    "parameter": "name",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.model.Name"},
                            "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The invalid parameter name"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {
                                          "typeName": "hydra.core.model.Name",
                                          "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "location"}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "name"}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL constructor for hydra.core.error.model.InvalidForallParameterNameError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.invalidForallParameterNameErrorLocation",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.InvalidForallParameterNameError"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"variable": "hydra.core.paths.SubtermPath"},
                    "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the forall type"}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.InvalidForallParameterNameError"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {
                                                  "wrap": {
                                                    "typeName": "hydra.core.model.Name",
                                                    "body": {"literal": {"string": "hydra.core.error.model.InvalidForallParameterNameError"}}}}},
                                              {
                                                "name": "fieldName",
                                                "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL accessor for the location field of hydra.core.error.model.InvalidForallParameterNameError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.invalidForallParameterNameErrorName",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.InvalidForallParameterNameError"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"variable": "hydra.core.model.Name"},
                    "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The invalid parameter name"}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.InvalidForallParameterNameError"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {
                                                  "wrap": {
                                                    "typeName": "hydra.core.model.Name",
                                                    "body": {"literal": {"string": "hydra.core.error.model.InvalidForallParameterNameError"}}}}},
                                              {"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL accessor for the name field of hydra.core.error.model.InvalidForallParameterNameError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.invalidForallParameterNameErrorWithLocation",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.InvalidForallParameterNameError"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.paths.SubtermPath"},
                      "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the forall type"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.InvalidForallParameterNameError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.InvalidForallParameterNameError"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.paths.SubtermPath"},
                            "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the forall type"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {
                                          "typeName": "hydra.core.model.Name",
                                          "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {
                                                                                  "typeName": "hydra.core.model.Name",
                                                                                  "body": {"literal": {"string": "hydra.core.error.model.InvalidForallParameterNameError"}}}}},
                                                                            {"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL updater for the location field of hydra.core.error.model.InvalidForallParameterNameError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.invalidForallParameterNameErrorWithName",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.InvalidForallParameterNameError"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.model.Name"},
                      "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The invalid parameter name"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.InvalidForallParameterNameError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.InvalidForallParameterNameError"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.model.Name"},
                            "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The invalid parameter name"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {
                                          "typeName": "hydra.core.model.Name",
                                          "body": {"literal": {"string": "hydra.core.error.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": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {
                                                                                  "typeName": "hydra.core.model.Name",
                                                                                  "body": {"literal": {"string": "hydra.core.error.model.InvalidForallParameterNameError"}}}}},
                                                                            {
                                                                              "name": "fieldName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL updater for the name field of hydra.core.error.model.InvalidForallParameterNameError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.invalidLambdaParameterNameErrorInvalidLambdaParameterNameError",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedName"},
                "argument": {"variable": "hydra.core.error.model.InvalidLambdaParameterNameError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "wrap": {
                "typeName": "hydra.core.typed.TypedName",
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.model.Name",
                    "body": {"literal": {"string": "hydra.core.error.model.InvalidLambdaParameterNameError"}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL name token for hydra.core.error.model.InvalidLambdaParameterNameError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.invalidLambdaParameterNameError",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.paths.SubtermPath"},
                      "annotation": {
                        "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the lambda within the term"}}}]}}}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.model.Name"},
                      "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The invalid parameter name"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.InvalidLambdaParameterNameError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "location",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.paths.SubtermPath"},
                        "annotation": {
                          "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the lambda within the term"}}}]}}}}},
                "body": {
                  "lambda": {
                    "parameter": "name",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.model.Name"},
                            "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The invalid parameter name"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {
                                          "typeName": "hydra.core.model.Name",
                                          "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "location"}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "name"}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL constructor for hydra.core.error.model.InvalidLambdaParameterNameError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.invalidLambdaParameterNameErrorLocation",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.InvalidLambdaParameterNameError"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"variable": "hydra.core.paths.SubtermPath"},
                    "annotation": {
                      "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the lambda within the term"}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.InvalidLambdaParameterNameError"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {
                                                  "wrap": {
                                                    "typeName": "hydra.core.model.Name",
                                                    "body": {"literal": {"string": "hydra.core.error.model.InvalidLambdaParameterNameError"}}}}},
                                              {
                                                "name": "fieldName",
                                                "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL accessor for the location field of hydra.core.error.model.InvalidLambdaParameterNameError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.invalidLambdaParameterNameErrorName",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.InvalidLambdaParameterNameError"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"variable": "hydra.core.model.Name"},
                    "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The invalid parameter name"}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.InvalidLambdaParameterNameError"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {
                                                  "wrap": {
                                                    "typeName": "hydra.core.model.Name",
                                                    "body": {"literal": {"string": "hydra.core.error.model.InvalidLambdaParameterNameError"}}}}},
                                              {"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL accessor for the name field of hydra.core.error.model.InvalidLambdaParameterNameError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.invalidLambdaParameterNameErrorWithLocation",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.InvalidLambdaParameterNameError"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.paths.SubtermPath"},
                      "annotation": {
                        "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the lambda within the term"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.InvalidLambdaParameterNameError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.InvalidLambdaParameterNameError"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.paths.SubtermPath"},
                            "annotation": {
                              "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the lambda within the term"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {
                                          "typeName": "hydra.core.model.Name",
                                          "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {
                                                                                  "typeName": "hydra.core.model.Name",
                                                                                  "body": {"literal": {"string": "hydra.core.error.model.InvalidLambdaParameterNameError"}}}}},
                                                                            {"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL updater for the location field of hydra.core.error.model.InvalidLambdaParameterNameError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.invalidLambdaParameterNameErrorWithName",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.InvalidLambdaParameterNameError"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.model.Name"},
                      "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The invalid parameter name"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.InvalidLambdaParameterNameError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.InvalidLambdaParameterNameError"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.model.Name"},
                            "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The invalid parameter name"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {
                                          "typeName": "hydra.core.model.Name",
                                          "body": {"literal": {"string": "hydra.core.error.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": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {
                                                                                  "typeName": "hydra.core.model.Name",
                                                                                  "body": {"literal": {"string": "hydra.core.error.model.InvalidLambdaParameterNameError"}}}}},
                                                                            {
                                                                              "name": "fieldName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL updater for the name field of hydra.core.error.model.InvalidLambdaParameterNameError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.invalidLetBindingNameErrorInvalidLetBindingNameError",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedName"},
                "argument": {"variable": "hydra.core.error.model.InvalidLetBindingNameError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "wrap": {
                "typeName": "hydra.core.typed.TypedName",
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.model.Name",
                    "body": {"literal": {"string": "hydra.core.error.model.InvalidLetBindingNameError"}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL name token for hydra.core.error.model.InvalidLetBindingNameError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.invalidLetBindingNameError",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.paths.SubtermPath"},
                      "annotation": {
                        "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the binding within the term"}}}]}}}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.model.Name"},
                      "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The invalid binding name"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.InvalidLetBindingNameError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "location",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.paths.SubtermPath"},
                        "annotation": {
                          "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the binding within the term"}}}]}}}}},
                "body": {
                  "lambda": {
                    "parameter": "name",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.model.Name"},
                            "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The invalid binding name"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {
                                          "typeName": "hydra.core.model.Name",
                                          "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "location"}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "name"}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL constructor for hydra.core.error.model.InvalidLetBindingNameError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.invalidLetBindingNameErrorLocation",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.InvalidLetBindingNameError"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"variable": "hydra.core.paths.SubtermPath"},
                    "annotation": {
                      "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the binding within the term"}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.InvalidLetBindingNameError"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {
                                                  "wrap": {
                                                    "typeName": "hydra.core.model.Name",
                                                    "body": {"literal": {"string": "hydra.core.error.model.InvalidLetBindingNameError"}}}}},
                                              {
                                                "name": "fieldName",
                                                "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL accessor for the location field of hydra.core.error.model.InvalidLetBindingNameError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.invalidLetBindingNameErrorName",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.InvalidLetBindingNameError"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"variable": "hydra.core.model.Name"},
                    "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The invalid binding name"}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.InvalidLetBindingNameError"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {
                                                  "wrap": {
                                                    "typeName": "hydra.core.model.Name",
                                                    "body": {"literal": {"string": "hydra.core.error.model.InvalidLetBindingNameError"}}}}},
                                              {"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL accessor for the name field of hydra.core.error.model.InvalidLetBindingNameError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.invalidLetBindingNameErrorWithLocation",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.InvalidLetBindingNameError"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.paths.SubtermPath"},
                      "annotation": {
                        "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the binding within the term"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.InvalidLetBindingNameError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.InvalidLetBindingNameError"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.paths.SubtermPath"},
                            "annotation": {
                              "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the binding within the term"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {
                                          "typeName": "hydra.core.model.Name",
                                          "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {
                                                                                  "typeName": "hydra.core.model.Name",
                                                                                  "body": {"literal": {"string": "hydra.core.error.model.InvalidLetBindingNameError"}}}}},
                                                                            {"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL updater for the location field of hydra.core.error.model.InvalidLetBindingNameError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.invalidLetBindingNameErrorWithName",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.InvalidLetBindingNameError"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.model.Name"},
                      "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The invalid binding name"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.InvalidLetBindingNameError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.InvalidLetBindingNameError"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.model.Name"},
                            "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The invalid binding name"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {
                                          "typeName": "hydra.core.model.Name",
                                          "body": {"literal": {"string": "hydra.core.error.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": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {
                                                                                  "typeName": "hydra.core.model.Name",
                                                                                  "body": {"literal": {"string": "hydra.core.error.model.InvalidLetBindingNameError"}}}}},
                                                                            {
                                                                              "name": "fieldName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL updater for the name field of hydra.core.error.model.InvalidLetBindingNameError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.invalidLiteralErrorInvalidLiteralError",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedName"},
                "argument": {"variable": "hydra.core.error.model.InvalidLiteralError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "wrap": {
                "typeName": "hydra.core.typed.TypedName",
                "body": {
                  "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.InvalidLiteralError"}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL name token for hydra.core.error.model.InvalidLiteralError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.invalidLiteralErrorTypeMismatch",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.error.model.LiteralTypeMismatchError"},
                      "annotation": {
                        "map": [
                          {
                            "key": {"variable": "description"},
                            "value": {"literal": {"string": "The literal's type does not match the expected literal type"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.InvalidLiteralError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.error.model.LiteralTypeMismatchError"},
                        "annotation": {
                          "map": [
                            {
                              "key": {"variable": "description"},
                              "value": {"literal": {"string": "The literal's type does not match the expected literal type"}}}]}}}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "inject",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Injection",
                              "fields": [
                                {
                                  "name": "typeName",
                                  "term": {
                                    "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL injection for the typeMismatch variant of hydra.core.error.model.InvalidLiteralError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.invalidTermErrorInvalidTermError",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedName"},
                "argument": {"variable": "hydra.core.error.model.InvalidTermError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "wrap": {
                "typeName": "hydra.core.typed.TypedName",
                "body": {
                  "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.InvalidTermError"}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL name token for hydra.core.error.model.InvalidTermError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.invalidTermErrorConstantCondition",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.error.model.ConstantConditionError"},
                      "annotation": {
                        "map": [
                          {
                            "key": {"variable": "description"},
                            "value": {"literal": {"string": "An ifElse with a literal boolean condition (optional)"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.InvalidTermError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.error.model.ConstantConditionError"},
                        "annotation": {
                          "map": [
                            {
                              "key": {"variable": "description"},
                              "value": {"literal": {"string": "An ifElse with a literal boolean condition (optional)"}}}]}}}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "inject",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Injection",
                              "fields": [
                                {
                                  "name": "typeName",
                                  "term": {
                                    "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL injection for the constantCondition variant of hydra.core.error.model.InvalidTermError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.invalidTermErrorDuplicateBinding",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.error.model.DuplicateBindingError"},
                      "annotation": {
                        "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "A duplicate binding name in a let expression"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.InvalidTermError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.error.model.DuplicateBindingError"},
                        "annotation": {
                          "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "A duplicate binding name in a let expression"}}}]}}}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "inject",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Injection",
                              "fields": [
                                {
                                  "name": "typeName",
                                  "term": {
                                    "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL injection for the duplicateBinding variant of hydra.core.error.model.InvalidTermError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.invalidTermErrorDuplicateField",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.error.model.DuplicateFieldError"},
                      "annotation": {
                        "map": [
                          {
                            "key": {"variable": "description"},
                            "value": {"literal": {"string": "A duplicate field name in a record or case statement"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.InvalidTermError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.error.model.DuplicateFieldError"},
                        "annotation": {
                          "map": [
                            {
                              "key": {"variable": "description"},
                              "value": {"literal": {"string": "A duplicate field name in a record or case statement"}}}]}}}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "inject",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Injection",
                              "fields": [
                                {
                                  "name": "typeName",
                                  "term": {
                                    "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL injection for the duplicateField variant of hydra.core.error.model.InvalidTermError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.invalidTermErrorEmptyCaseStatement",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.error.model.EmptyCaseStatementError"},
                      "annotation": {
                        "map": [
                          {
                            "key": {"variable": "description"},
                            "value": {"literal": {"string": "A case statement with no cases and no default (optional)"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.InvalidTermError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.error.model.EmptyCaseStatementError"},
                        "annotation": {
                          "map": [
                            {
                              "key": {"variable": "description"},
                              "value": {"literal": {"string": "A case statement with no cases and no default (optional)"}}}]}}}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "inject",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Injection",
                              "fields": [
                                {
                                  "name": "typeName",
                                  "term": {
                                    "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL injection for the emptyCaseStatement variant of hydra.core.error.model.InvalidTermError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.invalidTermErrorEmptyLetBindings",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.error.model.EmptyLetBindingsError"},
                      "annotation": {
                        "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "A let expression with no bindings (optional)"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.InvalidTermError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.error.model.EmptyLetBindingsError"},
                        "annotation": {
                          "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "A let expression with no bindings (optional)"}}}]}}}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "inject",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Injection",
                              "fields": [
                                {
                                  "name": "typeName",
                                  "term": {
                                    "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL injection for the emptyLetBindings variant of hydra.core.error.model.InvalidTermError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.invalidTermErrorEmptyTermAnnotation",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.error.model.EmptyTermAnnotationError"},
                      "annotation": {
                        "map": [
                          {
                            "key": {"variable": "description"},
                            "value": {"literal": {"string": "A term annotation with an empty annotation map (optional)"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.InvalidTermError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.error.model.EmptyTermAnnotationError"},
                        "annotation": {
                          "map": [
                            {
                              "key": {"variable": "description"},
                              "value": {"literal": {"string": "A term annotation with an empty annotation map (optional)"}}}]}}}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "inject",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Injection",
                              "fields": [
                                {
                                  "name": "typeName",
                                  "term": {
                                    "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL injection for the emptyTermAnnotation variant of hydra.core.error.model.InvalidTermError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.invalidTermErrorEmptyTypeNameInTerm",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.error.model.EmptyTypeNameInTermError"},
                      "annotation": {
                        "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "A term with an empty type name (optional)"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.InvalidTermError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.error.model.EmptyTypeNameInTermError"},
                        "annotation": {
                          "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "A term with an empty type name (optional)"}}}]}}}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "inject",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Injection",
                              "fields": [
                                {
                                  "name": "typeName",
                                  "term": {
                                    "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL injection for the emptyTypeNameInTerm variant of hydra.core.error.model.InvalidTermError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.invalidTermErrorExtraRecordFields",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.error.model.ExtraRecordFieldsError"},
                      "annotation": {
                        "map": [
                          {
                            "key": {"variable": "description"},
                            "value": {"literal": {"string": "A record term supplying a field not declared by its record type"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.InvalidTermError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.error.model.ExtraRecordFieldsError"},
                        "annotation": {
                          "map": [
                            {
                              "key": {"variable": "description"},
                              "value": {"literal": {"string": "A record term supplying a field not declared by its record type"}}}]}}}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "inject",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Injection",
                              "fields": [
                                {
                                  "name": "typeName",
                                  "term": {
                                    "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL injection for the extraRecordFields variant of hydra.core.error.model.InvalidTermError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.invalidTermErrorInvalidLambdaParameterName",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.error.model.InvalidLambdaParameterNameError"},
                      "annotation": {
                        "map": [
                          {
                            "key": {"variable": "description"},
                            "value": {"literal": {"string": "A lambda parameter name violating naming conventions (optional)"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.InvalidTermError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.error.model.InvalidLambdaParameterNameError"},
                        "annotation": {
                          "map": [
                            {
                              "key": {"variable": "description"},
                              "value": {"literal": {"string": "A lambda parameter name violating naming conventions (optional)"}}}]}}}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "inject",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Injection",
                              "fields": [
                                {
                                  "name": "typeName",
                                  "term": {
                                    "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {
                    "literal": {"string": "DSL injection for the invalidLambdaParameterName variant of hydra.core.error.model.InvalidTermError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.invalidTermErrorInvalidLetBindingName",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.error.model.InvalidLetBindingNameError"},
                      "annotation": {
                        "map": [
                          {
                            "key": {"variable": "description"},
                            "value": {"literal": {"string": "A let binding name violating naming conventions (optional)"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.InvalidTermError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.error.model.InvalidLetBindingNameError"},
                        "annotation": {
                          "map": [
                            {
                              "key": {"variable": "description"},
                              "value": {"literal": {"string": "A let binding name violating naming conventions (optional)"}}}]}}}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "inject",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Injection",
                              "fields": [
                                {
                                  "name": "typeName",
                                  "term": {
                                    "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {
                    "literal": {"string": "DSL injection for the invalidLetBindingName variant of hydra.core.error.model.InvalidTermError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.invalidTermErrorInvalidTypeLambdaParameterName",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.error.model.InvalidTypeLambdaParameterNameError"},
                      "annotation": {
                        "map": [
                          {
                            "key": {"variable": "description"},
                            "value": {"literal": {"string": "A type lambda parameter name violating naming conventions (optional)"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.InvalidTermError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.error.model.InvalidTypeLambdaParameterNameError"},
                        "annotation": {
                          "map": [
                            {
                              "key": {"variable": "description"},
                              "value": {"literal": {"string": "A type lambda parameter name violating naming conventions (optional)"}}}]}}}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "inject",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Injection",
                              "fields": [
                                {
                                  "name": "typeName",
                                  "term": {
                                    "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {
                    "literal": {"string": "DSL injection for the invalidTypeLambdaParameterName variant of hydra.core.error.model.InvalidTermError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.invalidTermErrorMissingCaseBranches",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.error.model.MissingCaseBranchesError"},
                      "annotation": {
                        "map": [
                          {
                            "key": {"variable": "description"},
                            "value": {"literal": {"string": "A case statement that does not cover every variant of the union it matches"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.InvalidTermError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.error.model.MissingCaseBranchesError"},
                        "annotation": {
                          "map": [
                            {
                              "key": {"variable": "description"},
                              "value": {"literal": {"string": "A case statement that does not cover every variant of the union it matches"}}}]}}}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "inject",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Injection",
                              "fields": [
                                {
                                  "name": "typeName",
                                  "term": {
                                    "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL injection for the missingCaseBranches variant of hydra.core.error.model.InvalidTermError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.invalidTermErrorMissingRecordFields",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.error.model.MissingRecordFieldsError"},
                      "annotation": {
                        "map": [
                          {
                            "key": {"variable": "description"},
                            "value": {"literal": {"string": "A record term omitting a field declared by its record type"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.InvalidTermError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.error.model.MissingRecordFieldsError"},
                        "annotation": {
                          "map": [
                            {
                              "key": {"variable": "description"},
                              "value": {"literal": {"string": "A record term omitting a field declared by its record type"}}}]}}}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "inject",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Injection",
                              "fields": [
                                {
                                  "name": "typeName",
                                  "term": {
                                    "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL injection for the missingRecordFields variant of hydra.core.error.model.InvalidTermError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.invalidTermErrorNestedTermAnnotation",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.error.model.NestedTermAnnotationError"},
                      "annotation": {
                        "map": [
                          {
                            "key": {"variable": "description"},
                            "value": {"literal": {"string": "Nested term annotations that should be merged (optional)"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.InvalidTermError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.error.model.NestedTermAnnotationError"},
                        "annotation": {
                          "map": [
                            {
                              "key": {"variable": "description"},
                              "value": {"literal": {"string": "Nested term annotations that should be merged (optional)"}}}]}}}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "inject",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Injection",
                              "fields": [
                                {
                                  "name": "typeName",
                                  "term": {
                                    "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL injection for the nestedTermAnnotation variant of hydra.core.error.model.InvalidTermError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.invalidTermErrorNominalTypeKindMismatch",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.error.model.NominalTypeKindMismatchError"},
                      "annotation": {
                        "map": [
                          {
                            "key": {"variable": "description"},
                            "value": {
                              "literal": {"string": "A nominal type reference resolving to a type of the wrong kind (e.g. a record term naming a union type)"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.InvalidTermError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.error.model.NominalTypeKindMismatchError"},
                        "annotation": {
                          "map": [
                            {
                              "key": {"variable": "description"},
                              "value": {
                                "literal": {"string": "A nominal type reference resolving to a type of the wrong kind (e.g. a record term naming a union type)"}}}]}}}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "inject",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Injection",
                              "fields": [
                                {
                                  "name": "typeName",
                                  "term": {
                                    "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {
                    "literal": {"string": "DSL injection for the nominalTypeKindMismatch variant of hydra.core.error.model.InvalidTermError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.invalidTermErrorRedundantWrapUnwrap",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.error.model.RedundantWrapUnwrapError"},
                      "annotation": {
                        "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "A no-op unwrap-of-wrap round-trip (optional)"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.InvalidTermError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.error.model.RedundantWrapUnwrapError"},
                        "annotation": {
                          "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "A no-op unwrap-of-wrap round-trip (optional)"}}}]}}}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "inject",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Injection",
                              "fields": [
                                {
                                  "name": "typeName",
                                  "term": {
                                    "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL injection for the redundantWrapUnwrap variant of hydra.core.error.model.InvalidTermError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.invalidTermErrorSelfApplication",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.error.model.SelfApplicationError"},
                      "annotation": {
                        "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "A variable applied to itself (optional)"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.InvalidTermError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.error.model.SelfApplicationError"},
                        "annotation": {
                          "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "A variable applied to itself (optional)"}}}]}}}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "inject",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Injection",
                              "fields": [
                                {
                                  "name": "typeName",
                                  "term": {
                                    "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL injection for the selfApplication variant of hydra.core.error.model.InvalidTermError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.invalidTermErrorTermVariableShadowing",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.error.model.TermVariableShadowingError"},
                      "annotation": {
                        "map": [
                          {
                            "key": {"variable": "description"},
                            "value": {"literal": {"string": "A binding that shadows a variable already in scope (optional)"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.InvalidTermError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.error.model.TermVariableShadowingError"},
                        "annotation": {
                          "map": [
                            {
                              "key": {"variable": "description"},
                              "value": {"literal": {"string": "A binding that shadows a variable already in scope (optional)"}}}]}}}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "inject",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Injection",
                              "fields": [
                                {
                                  "name": "typeName",
                                  "term": {
                                    "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {
                    "literal": {"string": "DSL injection for the termVariableShadowing variant of hydra.core.error.model.InvalidTermError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.invalidTermErrorTypeVariableShadowingInTypeLambda",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.error.model.TypeVariableShadowingInTypeLambdaError"},
                      "annotation": {
                        "map": [
                          {
                            "key": {"variable": "description"},
                            "value": {"literal": {"string": "A type lambda parameter that shadows a type variable in scope (optional)"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.InvalidTermError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.error.model.TypeVariableShadowingInTypeLambdaError"},
                        "annotation": {
                          "map": [
                            {
                              "key": {"variable": "description"},
                              "value": {"literal": {"string": "A type lambda parameter that shadows a type variable in scope (optional)"}}}]}}}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "inject",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Injection",
                              "fields": [
                                {
                                  "name": "typeName",
                                  "term": {
                                    "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {
                    "literal": {"string": "DSL injection for the typeVariableShadowingInTypeLambda variant of hydra.core.error.model.InvalidTermError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.invalidTermErrorUndeclaredVariant",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.error.model.UndeclaredVariantError"},
                      "annotation": {
                        "map": [
                          {
                            "key": {"variable": "description"},
                            "value": {"literal": {"string": "An injection naming a variant that is not declared by its union type"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.InvalidTermError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.error.model.UndeclaredVariantError"},
                        "annotation": {
                          "map": [
                            {
                              "key": {"variable": "description"},
                              "value": {"literal": {"string": "An injection naming a variant that is not declared by its union type"}}}]}}}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "inject",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Injection",
                              "fields": [
                                {
                                  "name": "typeName",
                                  "term": {
                                    "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL injection for the undeclaredVariant variant of hydra.core.error.model.InvalidTermError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.invalidTermErrorUndefinedTermVariable",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.error.model.UndefinedTermVariableError"},
                      "annotation": {
                        "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "A variable reference to an unbound term name"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.InvalidTermError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.error.model.UndefinedTermVariableError"},
                        "annotation": {
                          "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "A variable reference to an unbound term name"}}}]}}}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "inject",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Injection",
                              "fields": [
                                {
                                  "name": "typeName",
                                  "term": {
                                    "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {
                    "literal": {"string": "DSL injection for the undefinedTermVariable variant of hydra.core.error.model.InvalidTermError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.invalidTermErrorUndefinedTypeVariableInBindingType",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.error.model.UndefinedTypeVariableInBindingTypeError"},
                      "annotation": {
                        "map": [
                          {
                            "key": {"variable": "description"},
                            "value": {"literal": {"string": "An unbound type variable in a let binding's type scheme"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.InvalidTermError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.error.model.UndefinedTypeVariableInBindingTypeError"},
                        "annotation": {
                          "map": [
                            {
                              "key": {"variable": "description"},
                              "value": {"literal": {"string": "An unbound type variable in a let binding's type scheme"}}}]}}}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "inject",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Injection",
                              "fields": [
                                {
                                  "name": "typeName",
                                  "term": {
                                    "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {
                    "literal": {
                      "string": "DSL injection for the undefinedTypeVariableInBindingType variant of hydra.core.error.model.InvalidTermError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.invalidTermErrorUndefinedTypeVariableInLambdaDomain",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.error.model.UndefinedTypeVariableInLambdaDomainError"},
                      "annotation": {
                        "map": [
                          {
                            "key": {"variable": "description"},
                            "value": {"literal": {"string": "An unbound type variable in a lambda domain annotation"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.InvalidTermError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.error.model.UndefinedTypeVariableInLambdaDomainError"},
                        "annotation": {
                          "map": [
                            {
                              "key": {"variable": "description"},
                              "value": {"literal": {"string": "An unbound type variable in a lambda domain annotation"}}}]}}}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "inject",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Injection",
                              "fields": [
                                {
                                  "name": "typeName",
                                  "term": {
                                    "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {
                    "literal": {
                      "string": "DSL injection for the undefinedTypeVariableInLambdaDomain variant of hydra.core.error.model.InvalidTermError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.invalidTermErrorUndefinedTypeVariableInTypeApplication",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.error.model.UndefinedTypeVariableInTypeApplicationError"},
                      "annotation": {
                        "map": [
                          {
                            "key": {"variable": "description"},
                            "value": {"literal": {"string": "An unbound type variable in a type application term"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.InvalidTermError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.error.model.UndefinedTypeVariableInTypeApplicationError"},
                        "annotation": {
                          "map": [
                            {
                              "key": {"variable": "description"},
                              "value": {"literal": {"string": "An unbound type variable in a type application term"}}}]}}}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "inject",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Injection",
                              "fields": [
                                {
                                  "name": "typeName",
                                  "term": {
                                    "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {
                    "literal": {
                      "string": "DSL injection for the undefinedTypeVariableInTypeApplication variant of hydra.core.error.model.InvalidTermError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.invalidTermErrorUnknownCaseAlternative",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.error.model.UnknownCaseAlternativeError"},
                      "annotation": {
                        "map": [
                          {
                            "key": {"variable": "description"},
                            "value": {"literal": {"string": "A case statement alternative naming a field that does not exist in the union it matches"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.InvalidTermError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.error.model.UnknownCaseAlternativeError"},
                        "annotation": {
                          "map": [
                            {
                              "key": {"variable": "description"},
                              "value": {"literal": {"string": "A case statement alternative naming a field that does not exist in the union it matches"}}}]}}}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "inject",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Injection",
                              "fields": [
                                {
                                  "name": "typeName",
                                  "term": {
                                    "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {
                    "literal": {"string": "DSL injection for the unknownCaseAlternative variant of hydra.core.error.model.InvalidTermError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.invalidTermErrorUnknownPrimitiveName",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.error.model.UnknownPrimitiveNameError"},
                      "annotation": {
                        "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "A reference to an unknown primitive function"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.InvalidTermError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.error.model.UnknownPrimitiveNameError"},
                        "annotation": {
                          "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "A reference to an unknown primitive function"}}}]}}}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "inject",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Injection",
                              "fields": [
                                {
                                  "name": "typeName",
                                  "term": {
                                    "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL injection for the unknownPrimitiveName variant of hydra.core.error.model.InvalidTermError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.invalidTermErrorUnknownProjectedField",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.error.model.UnknownProjectedFieldError"},
                      "annotation": {
                        "map": [
                          {
                            "key": {"variable": "description"},
                            "value": {"literal": {"string": "A projection naming a field that is not declared by its record type"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.InvalidTermError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.error.model.UnknownProjectedFieldError"},
                        "annotation": {
                          "map": [
                            {
                              "key": {"variable": "description"},
                              "value": {"literal": {"string": "A projection naming a field that is not declared by its record type"}}}]}}}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "inject",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Injection",
                              "fields": [
                                {
                                  "name": "typeName",
                                  "term": {
                                    "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {
                    "literal": {"string": "DSL injection for the unknownProjectedField variant of hydra.core.error.model.InvalidTermError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.invalidTermErrorUnnecessaryIdentityApplication",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.error.model.UnnecessaryIdentityApplicationError"},
                      "annotation": {
                        "map": [
                          {
                            "key": {"variable": "description"},
                            "value": {"literal": {"string": "An identity lambda applied to an argument (optional)"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.InvalidTermError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.error.model.UnnecessaryIdentityApplicationError"},
                        "annotation": {
                          "map": [
                            {
                              "key": {"variable": "description"},
                              "value": {"literal": {"string": "An identity lambda applied to an argument (optional)"}}}]}}}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "inject",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Injection",
                              "fields": [
                                {
                                  "name": "typeName",
                                  "term": {
                                    "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {
                    "literal": {"string": "DSL injection for the unnecessaryIdentityApplication variant of hydra.core.error.model.InvalidTermError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.invalidTermErrorUnresolvedNominalType",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.error.model.UnresolvedNominalTypeError"},
                      "annotation": {
                        "map": [
                          {
                            "key": {"variable": "description"},
                            "value": {"literal": {"string": "A nominal type reference that does not resolve to any declared type in scope"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.InvalidTermError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.error.model.UnresolvedNominalTypeError"},
                        "annotation": {
                          "map": [
                            {
                              "key": {"variable": "description"},
                              "value": {"literal": {"string": "A nominal type reference that does not resolve to any declared type in scope"}}}]}}}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "inject",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Injection",
                              "fields": [
                                {
                                  "name": "typeName",
                                  "term": {
                                    "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {
                    "literal": {"string": "DSL injection for the unresolvedNominalType variant of hydra.core.error.model.InvalidTermError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.invalidTermErrorUntypedTermVariable",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.error.model.UntypedTermVariableError"},
                      "annotation": {
                        "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "A term variable whose type is not known"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.InvalidTermError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.error.model.UntypedTermVariableError"},
                        "annotation": {
                          "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "A term variable whose type is not known"}}}]}}}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "inject",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Injection",
                              "fields": [
                                {
                                  "name": "typeName",
                                  "term": {
                                    "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL injection for the untypedTermVariable variant of hydra.core.error.model.InvalidTermError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.invalidTypeErrorInvalidTypeError",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedName"},
                "argument": {"variable": "hydra.core.error.model.InvalidTypeError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "wrap": {
                "typeName": "hydra.core.typed.TypedName",
                "body": {
                  "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.InvalidTypeError"}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL name token for hydra.core.error.model.InvalidTypeError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.invalidTypeErrorDuplicateRecordTypeFieldNames",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.error.model.DuplicateRecordTypeFieldNamesError"},
                      "annotation": {
                        "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "A record type with duplicate field names"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.InvalidTypeError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.error.model.DuplicateRecordTypeFieldNamesError"},
                        "annotation": {
                          "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "A record type with duplicate field names"}}}]}}}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "inject",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Injection",
                              "fields": [
                                {
                                  "name": "typeName",
                                  "term": {
                                    "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {
                    "literal": {"string": "DSL injection for the duplicateRecordTypeFieldNames variant of hydra.core.error.model.InvalidTypeError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.invalidTypeErrorDuplicateUnionTypeFieldNames",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.error.model.DuplicateUnionTypeFieldNamesError"},
                      "annotation": {
                        "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "A union type with duplicate field names"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.InvalidTypeError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.error.model.DuplicateUnionTypeFieldNamesError"},
                        "annotation": {
                          "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "A union type with duplicate field names"}}}]}}}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "inject",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Injection",
                              "fields": [
                                {
                                  "name": "typeName",
                                  "term": {
                                    "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {
                    "literal": {"string": "DSL injection for the duplicateUnionTypeFieldNames variant of hydra.core.error.model.InvalidTypeError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.invalidTypeErrorEmptyRecordType",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.error.model.EmptyRecordTypeError"},
                      "annotation": {
                        "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "A record type with no fields (optional)"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.InvalidTypeError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.error.model.EmptyRecordTypeError"},
                        "annotation": {
                          "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "A record type with no fields (optional)"}}}]}}}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "inject",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Injection",
                              "fields": [
                                {
                                  "name": "typeName",
                                  "term": {
                                    "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL injection for the emptyRecordType variant of hydra.core.error.model.InvalidTypeError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.invalidTypeErrorEmptyTypeAnnotation",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.error.model.EmptyTypeAnnotationError"},
                      "annotation": {
                        "map": [
                          {
                            "key": {"variable": "description"},
                            "value": {"literal": {"string": "A type annotation with an empty annotation map (optional)"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.InvalidTypeError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.error.model.EmptyTypeAnnotationError"},
                        "annotation": {
                          "map": [
                            {
                              "key": {"variable": "description"},
                              "value": {"literal": {"string": "A type annotation with an empty annotation map (optional)"}}}]}}}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "inject",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Injection",
                              "fields": [
                                {
                                  "name": "typeName",
                                  "term": {
                                    "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL injection for the emptyTypeAnnotation variant of hydra.core.error.model.InvalidTypeError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.invalidTypeErrorEmptyUnionType",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.error.model.EmptyUnionTypeError"},
                      "annotation": {
                        "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "A union type with no alternatives (optional)"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.InvalidTypeError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.error.model.EmptyUnionTypeError"},
                        "annotation": {
                          "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "A union type with no alternatives (optional)"}}}]}}}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "inject",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Injection",
                              "fields": [
                                {
                                  "name": "typeName",
                                  "term": {
                                    "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL injection for the emptyUnionType variant of hydra.core.error.model.InvalidTypeError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.invalidTypeErrorInvalidForallParameterName",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.error.model.InvalidForallParameterNameError"},
                      "annotation": {
                        "map": [
                          {
                            "key": {"variable": "description"},
                            "value": {"literal": {"string": "A forall parameter name violating naming conventions (optional)"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.InvalidTypeError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.error.model.InvalidForallParameterNameError"},
                        "annotation": {
                          "map": [
                            {
                              "key": {"variable": "description"},
                              "value": {"literal": {"string": "A forall parameter name violating naming conventions (optional)"}}}]}}}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "inject",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Injection",
                              "fields": [
                                {
                                  "name": "typeName",
                                  "term": {
                                    "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {
                    "literal": {"string": "DSL injection for the invalidForallParameterName variant of hydra.core.error.model.InvalidTypeError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.invalidTypeErrorInvalidTypeSchemeVariableName",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.error.model.InvalidTypeSchemeVariableNameError"},
                      "annotation": {
                        "map": [
                          {
                            "key": {"variable": "description"},
                            "value": {"literal": {"string": "A type scheme variable name violating naming conventions (optional)"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.InvalidTypeError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.error.model.InvalidTypeSchemeVariableNameError"},
                        "annotation": {
                          "map": [
                            {
                              "key": {"variable": "description"},
                              "value": {"literal": {"string": "A type scheme variable name violating naming conventions (optional)"}}}]}}}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "inject",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Injection",
                              "fields": [
                                {
                                  "name": "typeName",
                                  "term": {
                                    "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {
                    "literal": {"string": "DSL injection for the invalidTypeSchemeVariableName variant of hydra.core.error.model.InvalidTypeError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.invalidTypeErrorNestedTypeAnnotation",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.error.model.NestedTypeAnnotationError"},
                      "annotation": {
                        "map": [
                          {
                            "key": {"variable": "description"},
                            "value": {"literal": {"string": "Nested type annotations that should be merged (optional)"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.InvalidTypeError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.error.model.NestedTypeAnnotationError"},
                        "annotation": {
                          "map": [
                            {
                              "key": {"variable": "description"},
                              "value": {"literal": {"string": "Nested type annotations that should be merged (optional)"}}}]}}}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "inject",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Injection",
                              "fields": [
                                {
                                  "name": "typeName",
                                  "term": {
                                    "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL injection for the nestedTypeAnnotation variant of hydra.core.error.model.InvalidTypeError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.invalidTypeErrorNonComparableMapKeyType",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.error.model.NonComparableMapKeyTypeError"},
                      "annotation": {
                        "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "A map with a non-comparable key type"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.InvalidTypeError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.error.model.NonComparableMapKeyTypeError"},
                        "annotation": {
                          "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "A map with a non-comparable key type"}}}]}}}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "inject",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Injection",
                              "fields": [
                                {
                                  "name": "typeName",
                                  "term": {
                                    "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {
                    "literal": {"string": "DSL injection for the nonComparableMapKeyType variant of hydra.core.error.model.InvalidTypeError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.invalidTypeErrorNonComparableSetElementType",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.error.model.NonComparableSetElementTypeError"},
                      "annotation": {
                        "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "A set with a non-comparable element type"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.InvalidTypeError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.error.model.NonComparableSetElementTypeError"},
                        "annotation": {
                          "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "A set with a non-comparable element type"}}}]}}}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "inject",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Injection",
                              "fields": [
                                {
                                  "name": "typeName",
                                  "term": {
                                    "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {
                    "literal": {"string": "DSL injection for the nonComparableSetElementType variant of hydra.core.error.model.InvalidTypeError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.invalidTypeErrorSingleVariantUnion",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.error.model.SingleVariantUnionError"},
                      "annotation": {
                        "map": [
                          {"key": {"variable": "description"}, "value": {"literal": {"string": "A union type with only one variant (optional)"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.InvalidTypeError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.error.model.SingleVariantUnionError"},
                        "annotation": {
                          "map": [
                            {"key": {"variable": "description"}, "value": {"literal": {"string": "A union type with only one variant (optional)"}}}]}}}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "inject",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Injection",
                              "fields": [
                                {
                                  "name": "typeName",
                                  "term": {
                                    "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL injection for the singleVariantUnion variant of hydra.core.error.model.InvalidTypeError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.invalidTypeErrorTypeVariableShadowingInForall",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.error.model.TypeVariableShadowingInForallError"},
                      "annotation": {
                        "map": [
                          {
                            "key": {"variable": "description"},
                            "value": {"literal": {"string": "A forall parameter that shadows a type variable in scope (optional)"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.InvalidTypeError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.error.model.TypeVariableShadowingInForallError"},
                        "annotation": {
                          "map": [
                            {
                              "key": {"variable": "description"},
                              "value": {"literal": {"string": "A forall parameter that shadows a type variable in scope (optional)"}}}]}}}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "inject",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Injection",
                              "fields": [
                                {
                                  "name": "typeName",
                                  "term": {
                                    "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {
                    "literal": {"string": "DSL injection for the typeVariableShadowingInForall variant of hydra.core.error.model.InvalidTypeError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.invalidTypeErrorUndefinedTypeVariable",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.error.model.UndefinedTypeVariableError"},
                      "annotation": {
                        "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "A type variable reference to an unbound name"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.InvalidTypeError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.error.model.UndefinedTypeVariableError"},
                        "annotation": {
                          "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "A type variable reference to an unbound name"}}}]}}}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "inject",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Injection",
                              "fields": [
                                {
                                  "name": "typeName",
                                  "term": {
                                    "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {
                    "literal": {"string": "DSL injection for the undefinedTypeVariable variant of hydra.core.error.model.InvalidTypeError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.invalidTypeErrorVoidInNonBottomPosition",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.error.model.VoidInNonBottomPositionError"},
                      "annotation": {
                        "map": [
                          {
                            "key": {"variable": "description"},
                            "value": {"literal": {"string": "TypeVoid in a position where no value can be constructed (optional)"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.InvalidTypeError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.error.model.VoidInNonBottomPositionError"},
                        "annotation": {
                          "map": [
                            {
                              "key": {"variable": "description"},
                              "value": {"literal": {"string": "TypeVoid in a position where no value can be constructed (optional)"}}}]}}}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "inject",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Injection",
                              "fields": [
                                {
                                  "name": "typeName",
                                  "term": {
                                    "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {
                    "literal": {"string": "DSL injection for the voidInNonBottomPosition variant of hydra.core.error.model.InvalidTypeError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.invalidTypeLambdaParameterNameErrorInvalidTypeLambdaParameterNameError",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedName"},
                "argument": {"variable": "hydra.core.error.model.InvalidTypeLambdaParameterNameError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "wrap": {
                "typeName": "hydra.core.typed.TypedName",
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.model.Name",
                    "body": {"literal": {"string": "hydra.core.error.model.InvalidTypeLambdaParameterNameError"}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL name token for hydra.core.error.model.InvalidTypeLambdaParameterNameError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.invalidTypeLambdaParameterNameError",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.paths.SubtermPath"},
                      "annotation": {
                        "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the type lambda within the term"}}}]}}}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.model.Name"},
                      "annotation": {
                        "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The invalid type lambda parameter name"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.InvalidTypeLambdaParameterNameError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "location",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.paths.SubtermPath"},
                        "annotation": {
                          "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the type lambda within the term"}}}]}}}}},
                "body": {
                  "lambda": {
                    "parameter": "name",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.model.Name"},
                            "annotation": {
                              "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The invalid type lambda parameter name"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {
                                          "typeName": "hydra.core.model.Name",
                                          "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "location"}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "name"}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL constructor for hydra.core.error.model.InvalidTypeLambdaParameterNameError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.invalidTypeLambdaParameterNameErrorLocation",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.InvalidTypeLambdaParameterNameError"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"variable": "hydra.core.paths.SubtermPath"},
                    "annotation": {
                      "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the type lambda within the term"}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.InvalidTypeLambdaParameterNameError"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {
                                                  "wrap": {
                                                    "typeName": "hydra.core.model.Name",
                                                    "body": {"literal": {"string": "hydra.core.error.model.InvalidTypeLambdaParameterNameError"}}}}},
                                              {
                                                "name": "fieldName",
                                                "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {
                    "literal": {"string": "DSL accessor for the location field of hydra.core.error.model.InvalidTypeLambdaParameterNameError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.invalidTypeLambdaParameterNameErrorName",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.InvalidTypeLambdaParameterNameError"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"variable": "hydra.core.model.Name"},
                    "annotation": {
                      "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The invalid type lambda parameter name"}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.InvalidTypeLambdaParameterNameError"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {
                                                  "wrap": {
                                                    "typeName": "hydra.core.model.Name",
                                                    "body": {"literal": {"string": "hydra.core.error.model.InvalidTypeLambdaParameterNameError"}}}}},
                                              {"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL accessor for the name field of hydra.core.error.model.InvalidTypeLambdaParameterNameError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.invalidTypeLambdaParameterNameErrorWithLocation",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.InvalidTypeLambdaParameterNameError"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.paths.SubtermPath"},
                      "annotation": {
                        "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the type lambda within the term"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.InvalidTypeLambdaParameterNameError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.InvalidTypeLambdaParameterNameError"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.paths.SubtermPath"},
                            "annotation": {
                              "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the type lambda within the term"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {
                                          "typeName": "hydra.core.model.Name",
                                          "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {
                                                                                  "typeName": "hydra.core.model.Name",
                                                                                  "body": {"literal": {"string": "hydra.core.error.model.InvalidTypeLambdaParameterNameError"}}}}},
                                                                            {"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {
                    "literal": {"string": "DSL updater for the location field of hydra.core.error.model.InvalidTypeLambdaParameterNameError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.invalidTypeLambdaParameterNameErrorWithName",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.InvalidTypeLambdaParameterNameError"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.model.Name"},
                      "annotation": {
                        "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The invalid type lambda parameter name"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.InvalidTypeLambdaParameterNameError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.InvalidTypeLambdaParameterNameError"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.model.Name"},
                            "annotation": {
                              "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The invalid type lambda parameter name"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {
                                          "typeName": "hydra.core.model.Name",
                                          "body": {"literal": {"string": "hydra.core.error.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": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {
                                                                                  "typeName": "hydra.core.model.Name",
                                                                                  "body": {"literal": {"string": "hydra.core.error.model.InvalidTypeLambdaParameterNameError"}}}}},
                                                                            {
                                                                              "name": "fieldName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL updater for the name field of hydra.core.error.model.InvalidTypeLambdaParameterNameError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.invalidTypeSchemeVariableNameErrorInvalidTypeSchemeVariableNameError",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedName"},
                "argument": {"variable": "hydra.core.error.model.InvalidTypeSchemeVariableNameError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "wrap": {
                "typeName": "hydra.core.typed.TypedName",
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.model.Name",
                    "body": {"literal": {"string": "hydra.core.error.model.InvalidTypeSchemeVariableNameError"}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL name token for hydra.core.error.model.InvalidTypeSchemeVariableNameError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.invalidTypeSchemeVariableNameError",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.paths.SubtermPath"},
                      "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the type scheme"}}}]}}}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.model.Name"},
                      "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The invalid variable name"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.InvalidTypeSchemeVariableNameError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "location",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.paths.SubtermPath"},
                        "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the type scheme"}}}]}}}}},
                "body": {
                  "lambda": {
                    "parameter": "name",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.model.Name"},
                            "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The invalid variable name"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {
                                          "typeName": "hydra.core.model.Name",
                                          "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "location"}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "name"}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL constructor for hydra.core.error.model.InvalidTypeSchemeVariableNameError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.invalidTypeSchemeVariableNameErrorLocation",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.InvalidTypeSchemeVariableNameError"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"variable": "hydra.core.paths.SubtermPath"},
                    "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the type scheme"}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.InvalidTypeSchemeVariableNameError"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {
                                                  "wrap": {
                                                    "typeName": "hydra.core.model.Name",
                                                    "body": {"literal": {"string": "hydra.core.error.model.InvalidTypeSchemeVariableNameError"}}}}},
                                              {
                                                "name": "fieldName",
                                                "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {
                    "literal": {"string": "DSL accessor for the location field of hydra.core.error.model.InvalidTypeSchemeVariableNameError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.invalidTypeSchemeVariableNameErrorName",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.InvalidTypeSchemeVariableNameError"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"variable": "hydra.core.model.Name"},
                    "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The invalid variable name"}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.InvalidTypeSchemeVariableNameError"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {
                                                  "wrap": {
                                                    "typeName": "hydra.core.model.Name",
                                                    "body": {"literal": {"string": "hydra.core.error.model.InvalidTypeSchemeVariableNameError"}}}}},
                                              {"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL accessor for the name field of hydra.core.error.model.InvalidTypeSchemeVariableNameError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.invalidTypeSchemeVariableNameErrorWithLocation",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.InvalidTypeSchemeVariableNameError"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.paths.SubtermPath"},
                      "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the type scheme"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.InvalidTypeSchemeVariableNameError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.InvalidTypeSchemeVariableNameError"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.paths.SubtermPath"},
                            "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the type scheme"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {
                                          "typeName": "hydra.core.model.Name",
                                          "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {
                                                                                  "typeName": "hydra.core.model.Name",
                                                                                  "body": {"literal": {"string": "hydra.core.error.model.InvalidTypeSchemeVariableNameError"}}}}},
                                                                            {"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {
                    "literal": {"string": "DSL updater for the location field of hydra.core.error.model.InvalidTypeSchemeVariableNameError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.invalidTypeSchemeVariableNameErrorWithName",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.InvalidTypeSchemeVariableNameError"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.model.Name"},
                      "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The invalid variable name"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.InvalidTypeSchemeVariableNameError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.InvalidTypeSchemeVariableNameError"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.model.Name"},
                            "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The invalid variable name"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {
                                          "typeName": "hydra.core.model.Name",
                                          "body": {"literal": {"string": "hydra.core.error.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": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {
                                                                                  "typeName": "hydra.core.model.Name",
                                                                                  "body": {"literal": {"string": "hydra.core.error.model.InvalidTypeSchemeVariableNameError"}}}}},
                                                                            {
                                                                              "name": "fieldName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL updater for the name field of hydra.core.error.model.InvalidTypeSchemeVariableNameError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.literalTypeMismatchErrorLiteralTypeMismatchError",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedName"},
                "argument": {"variable": "hydra.core.error.model.LiteralTypeMismatchError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "wrap": {
                "typeName": "hydra.core.typed.TypedName",
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.model.Name",
                    "body": {"literal": {"string": "hydra.core.error.model.LiteralTypeMismatchError"}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL name token for hydra.core.error.model.LiteralTypeMismatchError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.literalTypeMismatchError",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.model.LiteralType"},
                      "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The expected literal type"}}}]}}}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.model.LiteralType"},
                      "annotation": {
                        "map": [
                          {
                            "key": {"variable": "description"},
                            "value": {"literal": {"string": "The actual literal type, derived from the value"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.LiteralTypeMismatchError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "expectedType",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.model.LiteralType"},
                        "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The expected literal type"}}}]}}}}},
                "body": {
                  "lambda": {
                    "parameter": "actualType",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.model.LiteralType"},
                            "annotation": {
                              "map": [
                                {
                                  "key": {"variable": "description"},
                                  "value": {"literal": {"string": "The actual literal type, derived from the value"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {
                                          "typeName": "hydra.core.model.Name",
                                          "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "expectedType"}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "actualType"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "actualType"}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL constructor for hydra.core.error.model.LiteralTypeMismatchError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.literalTypeMismatchErrorExpectedType",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.LiteralTypeMismatchError"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"variable": "hydra.core.model.LiteralType"},
                    "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The expected literal type"}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.LiteralTypeMismatchError"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {
                                                  "wrap": {
                                                    "typeName": "hydra.core.model.Name",
                                                    "body": {"literal": {"string": "hydra.core.error.model.LiteralTypeMismatchError"}}}}},
                                              {
                                                "name": "fieldName",
                                                "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "expectedType"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL accessor for the expectedType field of hydra.core.error.model.LiteralTypeMismatchError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.literalTypeMismatchErrorActualType",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.LiteralTypeMismatchError"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"variable": "hydra.core.model.LiteralType"},
                    "annotation": {
                      "map": [
                        {
                          "key": {"variable": "description"},
                          "value": {"literal": {"string": "The actual literal type, derived from the value"}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.LiteralTypeMismatchError"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {
                                                  "wrap": {
                                                    "typeName": "hydra.core.model.Name",
                                                    "body": {"literal": {"string": "hydra.core.error.model.LiteralTypeMismatchError"}}}}},
                                              {
                                                "name": "fieldName",
                                                "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "actualType"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL accessor for the actualType field of hydra.core.error.model.LiteralTypeMismatchError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.literalTypeMismatchErrorWithExpectedType",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.LiteralTypeMismatchError"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.model.LiteralType"},
                      "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The expected literal type"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.LiteralTypeMismatchError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.LiteralTypeMismatchError"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.model.LiteralType"},
                            "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The expected literal type"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {
                                          "typeName": "hydra.core.model.Name",
                                          "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "actualType"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {
                                                                                  "typeName": "hydra.core.model.Name",
                                                                                  "body": {"literal": {"string": "hydra.core.error.model.LiteralTypeMismatchError"}}}}},
                                                                            {
                                                                              "name": "fieldName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "actualType"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL updater for the expectedType field of hydra.core.error.model.LiteralTypeMismatchError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.literalTypeMismatchErrorWithActualType",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.LiteralTypeMismatchError"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.model.LiteralType"},
                      "annotation": {
                        "map": [
                          {
                            "key": {"variable": "description"},
                            "value": {"literal": {"string": "The actual literal type, derived from the value"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.LiteralTypeMismatchError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.LiteralTypeMismatchError"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.model.LiteralType"},
                            "annotation": {
                              "map": [
                                {
                                  "key": {"variable": "description"},
                                  "value": {"literal": {"string": "The actual literal type, derived from the value"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {
                                          "typeName": "hydra.core.model.Name",
                                          "body": {"literal": {"string": "hydra.core.error.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": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {
                                                                                  "typeName": "hydra.core.model.Name",
                                                                                  "body": {"literal": {"string": "hydra.core.error.model.LiteralTypeMismatchError"}}}}},
                                                                            {
                                                                              "name": "fieldName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "expectedType"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "actualType"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL updater for the actualType field of hydra.core.error.model.LiteralTypeMismatchError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.missingCaseBranchesErrorMissingCaseBranchesError",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedName"},
                "argument": {"variable": "hydra.core.error.model.MissingCaseBranchesError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "wrap": {
                "typeName": "hydra.core.typed.TypedName",
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.model.Name",
                    "body": {"literal": {"string": "hydra.core.error.model.MissingCaseBranchesError"}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL name token for hydra.core.error.model.MissingCaseBranchesError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.missingCaseBranchesError",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.paths.SubtermPath"},
                      "annotation": {
                        "map": [
                          {"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the case statement within the term"}}}]}}}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.model.Name"},
                      "annotation": {
                        "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the union type being matched"}}}]}}}}},
              "isLazy": false},
            {
              "name": "arg2",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"list": {"variable": "hydra.core.model.Name"}},
                      "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The names of the uncovered variants"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.MissingCaseBranchesError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "location",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.paths.SubtermPath"},
                        "annotation": {
                          "map": [
                            {"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the case statement within the term"}}}]}}}}},
                "body": {
                  "lambda": {
                    "parameter": "typeName",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.model.Name"},
                            "annotation": {
                              "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the union type being matched"}}}]}}}}},
                    "body": {
                      "lambda": {
                        "parameter": "variantNames",
                        "domain": {
                          "application": {
                            "function": {"variable": "hydra.core.typed.TypedTerm"},
                            "argument": {
                              "annotated": {
                                "body": {"list": {"variable": "hydra.core.model.Name"}},
                                "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The names of the uncovered variants"}}}]}}}}},
                        "body": {
                          "wrap": {
                            "typeName": "hydra.core.typed.TypedTerm",
                            "body": {
                              "inject": {
                                "typeName": "hydra.core.model.Term",
                                "field": {
                                  "name": "record",
                                  "term": {
                                    "record": {
                                      "typeName": "hydra.core.model.Record",
                                      "fields": [
                                        {
                                          "name": "typeName",
                                          "term": {
                                            "wrap": {
                                              "typeName": "hydra.core.model.Name",
                                              "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "location"}}}}]}},
                                              {
                                                "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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "typeName"}}}}]}},
                                              {
                                                "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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "variantNames"}}}}]}}]}}]}}}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL constructor for hydra.core.error.model.MissingCaseBranchesError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.missingCaseBranchesErrorLocation",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.MissingCaseBranchesError"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"variable": "hydra.core.paths.SubtermPath"},
                    "annotation": {
                      "map": [
                        {"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the case statement within the term"}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.MissingCaseBranchesError"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {
                                                  "wrap": {
                                                    "typeName": "hydra.core.model.Name",
                                                    "body": {"literal": {"string": "hydra.core.error.model.MissingCaseBranchesError"}}}}},
                                              {
                                                "name": "fieldName",
                                                "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL accessor for the location field of hydra.core.error.model.MissingCaseBranchesError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.missingCaseBranchesErrorTypeName",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.MissingCaseBranchesError"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"variable": "hydra.core.model.Name"},
                    "annotation": {
                      "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the union type being matched"}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.MissingCaseBranchesError"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {
                                                  "wrap": {
                                                    "typeName": "hydra.core.model.Name",
                                                    "body": {"literal": {"string": "hydra.core.error.model.MissingCaseBranchesError"}}}}},
                                              {
                                                "name": "fieldName",
                                                "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeName"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL accessor for the typeName field of hydra.core.error.model.MissingCaseBranchesError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.missingCaseBranchesErrorVariantNames",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.MissingCaseBranchesError"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"list": {"variable": "hydra.core.model.Name"}},
                    "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The names of the uncovered variants"}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.MissingCaseBranchesError"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {
                                                  "wrap": {
                                                    "typeName": "hydra.core.model.Name",
                                                    "body": {"literal": {"string": "hydra.core.error.model.MissingCaseBranchesError"}}}}},
                                              {
                                                "name": "fieldName",
                                                "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "variantNames"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL accessor for the variantNames field of hydra.core.error.model.MissingCaseBranchesError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.missingCaseBranchesErrorWithLocation",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.MissingCaseBranchesError"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.paths.SubtermPath"},
                      "annotation": {
                        "map": [
                          {"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the case statement within the term"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.MissingCaseBranchesError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.MissingCaseBranchesError"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.paths.SubtermPath"},
                            "annotation": {
                              "map": [
                                {"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the case statement within the term"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {
                                          "typeName": "hydra.core.model.Name",
                                          "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeName"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {
                                                                                  "typeName": "hydra.core.model.Name",
                                                                                  "body": {"literal": {"string": "hydra.core.error.model.MissingCaseBranchesError"}}}}},
                                                                            {
                                                                              "name": "fieldName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeName"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {
                                                  "name": "name",
                                                  "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "variantNames"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {
                                                                                  "typeName": "hydra.core.model.Name",
                                                                                  "body": {"literal": {"string": "hydra.core.error.model.MissingCaseBranchesError"}}}}},
                                                                            {
                                                                              "name": "fieldName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "variantNames"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL updater for the location field of hydra.core.error.model.MissingCaseBranchesError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.missingCaseBranchesErrorWithTypeName",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.MissingCaseBranchesError"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.model.Name"},
                      "annotation": {
                        "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the union type being matched"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.MissingCaseBranchesError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.MissingCaseBranchesError"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.model.Name"},
                            "annotation": {
                              "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the union type being matched"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {
                                          "typeName": "hydra.core.model.Name",
                                          "body": {"literal": {"string": "hydra.core.error.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": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {
                                                                                  "typeName": "hydra.core.model.Name",
                                                                                  "body": {"literal": {"string": "hydra.core.error.model.MissingCaseBranchesError"}}}}},
                                                                            {
                                                                              "name": "fieldName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeName"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {
                                                  "name": "name",
                                                  "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "variantNames"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {
                                                                                  "typeName": "hydra.core.model.Name",
                                                                                  "body": {"literal": {"string": "hydra.core.error.model.MissingCaseBranchesError"}}}}},
                                                                            {
                                                                              "name": "fieldName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "variantNames"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL updater for the typeName field of hydra.core.error.model.MissingCaseBranchesError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.missingCaseBranchesErrorWithVariantNames",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.MissingCaseBranchesError"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"list": {"variable": "hydra.core.model.Name"}},
                      "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The names of the uncovered variants"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.MissingCaseBranchesError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.MissingCaseBranchesError"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"list": {"variable": "hydra.core.model.Name"}},
                            "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The names of the uncovered variants"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {
                                          "typeName": "hydra.core.model.Name",
                                          "body": {"literal": {"string": "hydra.core.error.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": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {
                                                                                  "typeName": "hydra.core.model.Name",
                                                                                  "body": {"literal": {"string": "hydra.core.error.model.MissingCaseBranchesError"}}}}},
                                                                            {
                                                                              "name": "fieldName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeName"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {
                                                                                  "typeName": "hydra.core.model.Name",
                                                                                  "body": {"literal": {"string": "hydra.core.error.model.MissingCaseBranchesError"}}}}},
                                                                            {
                                                                              "name": "fieldName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeName"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {
                                                  "name": "name",
                                                  "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "variantNames"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL updater for the variantNames field of hydra.core.error.model.MissingCaseBranchesError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.missingRecordFieldsErrorMissingRecordFieldsError",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedName"},
                "argument": {"variable": "hydra.core.error.model.MissingRecordFieldsError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "wrap": {
                "typeName": "hydra.core.typed.TypedName",
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.model.Name",
                    "body": {"literal": {"string": "hydra.core.error.model.MissingRecordFieldsError"}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL name token for hydra.core.error.model.MissingRecordFieldsError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.missingRecordFieldsError",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.paths.SubtermPath"},
                      "annotation": {
                        "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the record term within the term"}}}]}}}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.model.Name"},
                      "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the record type"}}}]}}}}},
              "isLazy": false},
            {
              "name": "arg2",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"list": {"variable": "hydra.core.model.Name"}},
                      "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The names of the missing fields"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.MissingRecordFieldsError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "location",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.paths.SubtermPath"},
                        "annotation": {
                          "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the record term within the term"}}}]}}}}},
                "body": {
                  "lambda": {
                    "parameter": "typeName",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.model.Name"},
                            "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the record type"}}}]}}}}},
                    "body": {
                      "lambda": {
                        "parameter": "fieldNames",
                        "domain": {
                          "application": {
                            "function": {"variable": "hydra.core.typed.TypedTerm"},
                            "argument": {
                              "annotated": {
                                "body": {"list": {"variable": "hydra.core.model.Name"}},
                                "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The names of the missing fields"}}}]}}}}},
                        "body": {
                          "wrap": {
                            "typeName": "hydra.core.typed.TypedTerm",
                            "body": {
                              "inject": {
                                "typeName": "hydra.core.model.Term",
                                "field": {
                                  "name": "record",
                                  "term": {
                                    "record": {
                                      "typeName": "hydra.core.model.Record",
                                      "fields": [
                                        {
                                          "name": "typeName",
                                          "term": {
                                            "wrap": {
                                              "typeName": "hydra.core.model.Name",
                                              "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "location"}}}}]}},
                                              {
                                                "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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "typeName"}}}}]}},
                                              {
                                                "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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "fieldNames"}}}}]}}]}}]}}}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL constructor for hydra.core.error.model.MissingRecordFieldsError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.missingRecordFieldsErrorLocation",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.MissingRecordFieldsError"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"variable": "hydra.core.paths.SubtermPath"},
                    "annotation": {
                      "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the record term within the term"}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.MissingRecordFieldsError"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {
                                                  "wrap": {
                                                    "typeName": "hydra.core.model.Name",
                                                    "body": {"literal": {"string": "hydra.core.error.model.MissingRecordFieldsError"}}}}},
                                              {
                                                "name": "fieldName",
                                                "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL accessor for the location field of hydra.core.error.model.MissingRecordFieldsError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.missingRecordFieldsErrorTypeName",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.MissingRecordFieldsError"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"variable": "hydra.core.model.Name"},
                    "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the record type"}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.MissingRecordFieldsError"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {
                                                  "wrap": {
                                                    "typeName": "hydra.core.model.Name",
                                                    "body": {"literal": {"string": "hydra.core.error.model.MissingRecordFieldsError"}}}}},
                                              {
                                                "name": "fieldName",
                                                "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeName"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL accessor for the typeName field of hydra.core.error.model.MissingRecordFieldsError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.missingRecordFieldsErrorFieldNames",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.MissingRecordFieldsError"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"list": {"variable": "hydra.core.model.Name"}},
                    "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The names of the missing fields"}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.MissingRecordFieldsError"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {
                                                  "wrap": {
                                                    "typeName": "hydra.core.model.Name",
                                                    "body": {"literal": {"string": "hydra.core.error.model.MissingRecordFieldsError"}}}}},
                                              {
                                                "name": "fieldName",
                                                "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "fieldNames"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL accessor for the fieldNames field of hydra.core.error.model.MissingRecordFieldsError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.missingRecordFieldsErrorWithLocation",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.MissingRecordFieldsError"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.paths.SubtermPath"},
                      "annotation": {
                        "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the record term within the term"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.MissingRecordFieldsError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.MissingRecordFieldsError"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.paths.SubtermPath"},
                            "annotation": {
                              "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the record term within the term"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {
                                          "typeName": "hydra.core.model.Name",
                                          "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeName"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {
                                                                                  "typeName": "hydra.core.model.Name",
                                                                                  "body": {"literal": {"string": "hydra.core.error.model.MissingRecordFieldsError"}}}}},
                                                                            {
                                                                              "name": "fieldName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeName"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "fieldNames"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {
                                                                                  "typeName": "hydra.core.model.Name",
                                                                                  "body": {"literal": {"string": "hydra.core.error.model.MissingRecordFieldsError"}}}}},
                                                                            {
                                                                              "name": "fieldName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "fieldNames"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL updater for the location field of hydra.core.error.model.MissingRecordFieldsError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.missingRecordFieldsErrorWithTypeName",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.MissingRecordFieldsError"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.model.Name"},
                      "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the record type"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.MissingRecordFieldsError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.MissingRecordFieldsError"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.model.Name"},
                            "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the record type"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {
                                          "typeName": "hydra.core.model.Name",
                                          "body": {"literal": {"string": "hydra.core.error.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": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {
                                                                                  "typeName": "hydra.core.model.Name",
                                                                                  "body": {"literal": {"string": "hydra.core.error.model.MissingRecordFieldsError"}}}}},
                                                                            {
                                                                              "name": "fieldName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeName"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "fieldNames"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {
                                                                                  "typeName": "hydra.core.model.Name",
                                                                                  "body": {"literal": {"string": "hydra.core.error.model.MissingRecordFieldsError"}}}}},
                                                                            {
                                                                              "name": "fieldName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "fieldNames"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL updater for the typeName field of hydra.core.error.model.MissingRecordFieldsError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.missingRecordFieldsErrorWithFieldNames",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.MissingRecordFieldsError"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"list": {"variable": "hydra.core.model.Name"}},
                      "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The names of the missing fields"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.MissingRecordFieldsError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.MissingRecordFieldsError"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"list": {"variable": "hydra.core.model.Name"}},
                            "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The names of the missing fields"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {
                                          "typeName": "hydra.core.model.Name",
                                          "body": {"literal": {"string": "hydra.core.error.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": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {
                                                                                  "typeName": "hydra.core.model.Name",
                                                                                  "body": {"literal": {"string": "hydra.core.error.model.MissingRecordFieldsError"}}}}},
                                                                            {
                                                                              "name": "fieldName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeName"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {
                                                                                  "typeName": "hydra.core.model.Name",
                                                                                  "body": {"literal": {"string": "hydra.core.error.model.MissingRecordFieldsError"}}}}},
                                                                            {
                                                                              "name": "fieldName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeName"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "fieldNames"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL updater for the fieldNames field of hydra.core.error.model.MissingRecordFieldsError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.nestedTermAnnotationErrorNestedTermAnnotationError",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedName"},
                "argument": {"variable": "hydra.core.error.model.NestedTermAnnotationError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "wrap": {
                "typeName": "hydra.core.typed.TypedName",
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.model.Name",
                    "body": {"literal": {"string": "hydra.core.error.model.NestedTermAnnotationError"}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL name token for hydra.core.error.model.NestedTermAnnotationError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.nestedTermAnnotationError",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.paths.SubtermPath"},
                      "annotation": {
                        "map": [
                          {
                            "key": {"variable": "description"},
                            "value": {"literal": {"string": "The path to the outer annotation within the term"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.NestedTermAnnotationError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "location",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.paths.SubtermPath"},
                        "annotation": {
                          "map": [
                            {
                              "key": {"variable": "description"},
                              "value": {"literal": {"string": "The path to the outer annotation within the term"}}}]}}}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "record",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Record",
                              "fields": [
                                {
                                  "name": "typeName",
                                  "term": {
                                    "wrap": {
                                      "typeName": "hydra.core.model.Name",
                                      "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "location"}}}}]}}]}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL constructor for hydra.core.error.model.NestedTermAnnotationError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.nestedTermAnnotationErrorLocation",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.NestedTermAnnotationError"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"variable": "hydra.core.paths.SubtermPath"},
                    "annotation": {
                      "map": [
                        {
                          "key": {"variable": "description"},
                          "value": {"literal": {"string": "The path to the outer annotation within the term"}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.NestedTermAnnotationError"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {
                                                  "wrap": {
                                                    "typeName": "hydra.core.model.Name",
                                                    "body": {"literal": {"string": "hydra.core.error.model.NestedTermAnnotationError"}}}}},
                                              {
                                                "name": "fieldName",
                                                "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL accessor for the location field of hydra.core.error.model.NestedTermAnnotationError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.nestedTermAnnotationErrorWithLocation",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.NestedTermAnnotationError"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.paths.SubtermPath"},
                      "annotation": {
                        "map": [
                          {
                            "key": {"variable": "description"},
                            "value": {"literal": {"string": "The path to the outer annotation within the term"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.NestedTermAnnotationError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.NestedTermAnnotationError"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.paths.SubtermPath"},
                            "annotation": {
                              "map": [
                                {
                                  "key": {"variable": "description"},
                                  "value": {"literal": {"string": "The path to the outer annotation within the term"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {
                                          "typeName": "hydra.core.model.Name",
                                          "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL updater for the location field of hydra.core.error.model.NestedTermAnnotationError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.nestedTypeAnnotationErrorNestedTypeAnnotationError",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedName"},
                "argument": {"variable": "hydra.core.error.model.NestedTypeAnnotationError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "wrap": {
                "typeName": "hydra.core.typed.TypedName",
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.model.Name",
                    "body": {"literal": {"string": "hydra.core.error.model.NestedTypeAnnotationError"}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL name token for hydra.core.error.model.NestedTypeAnnotationError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.nestedTypeAnnotationError",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.paths.SubtermPath"},
                      "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the outer annotation"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.NestedTypeAnnotationError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "location",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.paths.SubtermPath"},
                        "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the outer annotation"}}}]}}}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "record",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Record",
                              "fields": [
                                {
                                  "name": "typeName",
                                  "term": {
                                    "wrap": {
                                      "typeName": "hydra.core.model.Name",
                                      "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "location"}}}}]}}]}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL constructor for hydra.core.error.model.NestedTypeAnnotationError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.nestedTypeAnnotationErrorLocation",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.NestedTypeAnnotationError"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"variable": "hydra.core.paths.SubtermPath"},
                    "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the outer annotation"}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.NestedTypeAnnotationError"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {
                                                  "wrap": {
                                                    "typeName": "hydra.core.model.Name",
                                                    "body": {"literal": {"string": "hydra.core.error.model.NestedTypeAnnotationError"}}}}},
                                              {
                                                "name": "fieldName",
                                                "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL accessor for the location field of hydra.core.error.model.NestedTypeAnnotationError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.nestedTypeAnnotationErrorWithLocation",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.NestedTypeAnnotationError"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.paths.SubtermPath"},
                      "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the outer annotation"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.NestedTypeAnnotationError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.NestedTypeAnnotationError"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.paths.SubtermPath"},
                            "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the outer annotation"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {
                                          "typeName": "hydra.core.model.Name",
                                          "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL updater for the location field of hydra.core.error.model.NestedTypeAnnotationError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.nominalTypeKindMismatchErrorNominalTypeKindMismatchError",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedName"},
                "argument": {"variable": "hydra.core.error.model.NominalTypeKindMismatchError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "wrap": {
                "typeName": "hydra.core.typed.TypedName",
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.model.Name",
                    "body": {"literal": {"string": "hydra.core.error.model.NominalTypeKindMismatchError"}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL name token for hydra.core.error.model.NominalTypeKindMismatchError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.nominalTypeKindMismatchError",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.paths.SubtermPath"},
                      "annotation": {
                        "map": [
                          {
                            "key": {"variable": "description"},
                            "value": {"literal": {"string": "The path to the term with the mismatched nominal type reference"}}}]}}}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.model.Name"},
                      "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the referenced type"}}}]}}}}},
              "isLazy": false},
            {
              "name": "arg2",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.variants.TypeVariant"},
                      "annotation": {
                        "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The type variant required at this site"}}}]}}}}},
              "isLazy": false},
            {
              "name": "arg3",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.variants.TypeVariant"},
                      "annotation": {
                        "map": [
                          {
                            "key": {"variable": "description"},
                            "value": {"literal": {"string": "The type variant that the name actually resolves to"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.NominalTypeKindMismatchError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "location",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.paths.SubtermPath"},
                        "annotation": {
                          "map": [
                            {
                              "key": {"variable": "description"},
                              "value": {"literal": {"string": "The path to the term with the mismatched nominal type reference"}}}]}}}}},
                "body": {
                  "lambda": {
                    "parameter": "typeName",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.model.Name"},
                            "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the referenced type"}}}]}}}}},
                    "body": {
                      "lambda": {
                        "parameter": "expectedVariant",
                        "domain": {
                          "application": {
                            "function": {"variable": "hydra.core.typed.TypedTerm"},
                            "argument": {
                              "annotated": {
                                "body": {"variable": "hydra.core.variants.TypeVariant"},
                                "annotation": {
                                  "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The type variant required at this site"}}}]}}}}},
                        "body": {
                          "lambda": {
                            "parameter": "actualVariant",
                            "domain": {
                              "application": {
                                "function": {"variable": "hydra.core.typed.TypedTerm"},
                                "argument": {
                                  "annotated": {
                                    "body": {"variable": "hydra.core.variants.TypeVariant"},
                                    "annotation": {
                                      "map": [
                                        {
                                          "key": {"variable": "description"},
                                          "value": {"literal": {"string": "The type variant that the name actually resolves to"}}}]}}}}},
                            "body": {
                              "wrap": {
                                "typeName": "hydra.core.typed.TypedTerm",
                                "body": {
                                  "inject": {
                                    "typeName": "hydra.core.model.Term",
                                    "field": {
                                      "name": "record",
                                      "term": {
                                        "record": {
                                          "typeName": "hydra.core.model.Record",
                                          "fields": [
                                            {
                                              "name": "typeName",
                                              "term": {
                                                "wrap": {
                                                  "typeName": "hydra.core.model.Name",
                                                  "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "location"}}}}]}},
                                                  {
                                                    "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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "typeName"}}}}]}},
                                                  {
                                                    "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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "expectedVariant"}}}}]}},
                                                  {
                                                    "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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "actualVariant"}}}}]}}]}}]}}}}}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL constructor for hydra.core.error.model.NominalTypeKindMismatchError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.nominalTypeKindMismatchErrorLocation",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.NominalTypeKindMismatchError"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"variable": "hydra.core.paths.SubtermPath"},
                    "annotation": {
                      "map": [
                        {
                          "key": {"variable": "description"},
                          "value": {"literal": {"string": "The path to the term with the mismatched nominal type reference"}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.NominalTypeKindMismatchError"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {
                                                  "wrap": {
                                                    "typeName": "hydra.core.model.Name",
                                                    "body": {"literal": {"string": "hydra.core.error.model.NominalTypeKindMismatchError"}}}}},
                                              {
                                                "name": "fieldName",
                                                "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL accessor for the location field of hydra.core.error.model.NominalTypeKindMismatchError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.nominalTypeKindMismatchErrorTypeName",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.NominalTypeKindMismatchError"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"variable": "hydra.core.model.Name"},
                    "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the referenced type"}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.NominalTypeKindMismatchError"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {
                                                  "wrap": {
                                                    "typeName": "hydra.core.model.Name",
                                                    "body": {"literal": {"string": "hydra.core.error.model.NominalTypeKindMismatchError"}}}}},
                                              {
                                                "name": "fieldName",
                                                "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeName"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL accessor for the typeName field of hydra.core.error.model.NominalTypeKindMismatchError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.nominalTypeKindMismatchErrorExpectedVariant",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.NominalTypeKindMismatchError"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"variable": "hydra.core.variants.TypeVariant"},
                    "annotation": {
                      "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The type variant required at this site"}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.NominalTypeKindMismatchError"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {
                                                  "wrap": {
                                                    "typeName": "hydra.core.model.Name",
                                                    "body": {"literal": {"string": "hydra.core.error.model.NominalTypeKindMismatchError"}}}}},
                                              {
                                                "name": "fieldName",
                                                "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "expectedVariant"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {
                    "literal": {"string": "DSL accessor for the expectedVariant field of hydra.core.error.model.NominalTypeKindMismatchError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.nominalTypeKindMismatchErrorActualVariant",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.NominalTypeKindMismatchError"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"variable": "hydra.core.variants.TypeVariant"},
                    "annotation": {
                      "map": [
                        {
                          "key": {"variable": "description"},
                          "value": {"literal": {"string": "The type variant that the name actually resolves to"}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.NominalTypeKindMismatchError"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {
                                                  "wrap": {
                                                    "typeName": "hydra.core.model.Name",
                                                    "body": {"literal": {"string": "hydra.core.error.model.NominalTypeKindMismatchError"}}}}},
                                              {
                                                "name": "fieldName",
                                                "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "actualVariant"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {
                    "literal": {"string": "DSL accessor for the actualVariant field of hydra.core.error.model.NominalTypeKindMismatchError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.nominalTypeKindMismatchErrorWithLocation",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.NominalTypeKindMismatchError"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.paths.SubtermPath"},
                      "annotation": {
                        "map": [
                          {
                            "key": {"variable": "description"},
                            "value": {"literal": {"string": "The path to the term with the mismatched nominal type reference"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.NominalTypeKindMismatchError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.NominalTypeKindMismatchError"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.paths.SubtermPath"},
                            "annotation": {
                              "map": [
                                {
                                  "key": {"variable": "description"},
                                  "value": {"literal": {"string": "The path to the term with the mismatched nominal type reference"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {
                                          "typeName": "hydra.core.model.Name",
                                          "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeName"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {
                                                                                  "typeName": "hydra.core.model.Name",
                                                                                  "body": {"literal": {"string": "hydra.core.error.model.NominalTypeKindMismatchError"}}}}},
                                                                            {
                                                                              "name": "fieldName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeName"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {
                                                  "name": "name",
                                                  "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "expectedVariant"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {
                                                                                  "typeName": "hydra.core.model.Name",
                                                                                  "body": {"literal": {"string": "hydra.core.error.model.NominalTypeKindMismatchError"}}}}},
                                                                            {
                                                                              "name": "fieldName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "expectedVariant"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {
                                                  "name": "name",
                                                  "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "actualVariant"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {
                                                                                  "typeName": "hydra.core.model.Name",
                                                                                  "body": {"literal": {"string": "hydra.core.error.model.NominalTypeKindMismatchError"}}}}},
                                                                            {
                                                                              "name": "fieldName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "actualVariant"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL updater for the location field of hydra.core.error.model.NominalTypeKindMismatchError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.nominalTypeKindMismatchErrorWithTypeName",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.NominalTypeKindMismatchError"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.model.Name"},
                      "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the referenced type"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.NominalTypeKindMismatchError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.NominalTypeKindMismatchError"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.model.Name"},
                            "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the referenced type"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {
                                          "typeName": "hydra.core.model.Name",
                                          "body": {"literal": {"string": "hydra.core.error.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": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {
                                                                                  "typeName": "hydra.core.model.Name",
                                                                                  "body": {"literal": {"string": "hydra.core.error.model.NominalTypeKindMismatchError"}}}}},
                                                                            {
                                                                              "name": "fieldName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeName"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {
                                                  "name": "name",
                                                  "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "expectedVariant"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {
                                                                                  "typeName": "hydra.core.model.Name",
                                                                                  "body": {"literal": {"string": "hydra.core.error.model.NominalTypeKindMismatchError"}}}}},
                                                                            {
                                                                              "name": "fieldName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "expectedVariant"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {
                                                  "name": "name",
                                                  "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "actualVariant"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {
                                                                                  "typeName": "hydra.core.model.Name",
                                                                                  "body": {"literal": {"string": "hydra.core.error.model.NominalTypeKindMismatchError"}}}}},
                                                                            {
                                                                              "name": "fieldName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "actualVariant"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL updater for the typeName field of hydra.core.error.model.NominalTypeKindMismatchError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.nominalTypeKindMismatchErrorWithExpectedVariant",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.NominalTypeKindMismatchError"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.variants.TypeVariant"},
                      "annotation": {
                        "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The type variant required at this site"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.NominalTypeKindMismatchError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.NominalTypeKindMismatchError"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.variants.TypeVariant"},
                            "annotation": {
                              "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The type variant required at this site"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {
                                          "typeName": "hydra.core.model.Name",
                                          "body": {"literal": {"string": "hydra.core.error.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": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {
                                                                                  "typeName": "hydra.core.model.Name",
                                                                                  "body": {"literal": {"string": "hydra.core.error.model.NominalTypeKindMismatchError"}}}}},
                                                                            {
                                                                              "name": "fieldName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeName"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {
                                                                                  "typeName": "hydra.core.model.Name",
                                                                                  "body": {"literal": {"string": "hydra.core.error.model.NominalTypeKindMismatchError"}}}}},
                                                                            {
                                                                              "name": "fieldName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeName"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {
                                                  "name": "name",
                                                  "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "expectedVariant"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {
                                                  "name": "name",
                                                  "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "actualVariant"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {
                                                                                  "typeName": "hydra.core.model.Name",
                                                                                  "body": {"literal": {"string": "hydra.core.error.model.NominalTypeKindMismatchError"}}}}},
                                                                            {
                                                                              "name": "fieldName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "actualVariant"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {
                    "literal": {"string": "DSL updater for the expectedVariant field of hydra.core.error.model.NominalTypeKindMismatchError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.nominalTypeKindMismatchErrorWithActualVariant",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.NominalTypeKindMismatchError"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.variants.TypeVariant"},
                      "annotation": {
                        "map": [
                          {
                            "key": {"variable": "description"},
                            "value": {"literal": {"string": "The type variant that the name actually resolves to"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.NominalTypeKindMismatchError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.NominalTypeKindMismatchError"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.variants.TypeVariant"},
                            "annotation": {
                              "map": [
                                {
                                  "key": {"variable": "description"},
                                  "value": {"literal": {"string": "The type variant that the name actually resolves to"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {
                                          "typeName": "hydra.core.model.Name",
                                          "body": {"literal": {"string": "hydra.core.error.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": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {
                                                                                  "typeName": "hydra.core.model.Name",
                                                                                  "body": {"literal": {"string": "hydra.core.error.model.NominalTypeKindMismatchError"}}}}},
                                                                            {
                                                                              "name": "fieldName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeName"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {
                                                                                  "typeName": "hydra.core.model.Name",
                                                                                  "body": {"literal": {"string": "hydra.core.error.model.NominalTypeKindMismatchError"}}}}},
                                                                            {
                                                                              "name": "fieldName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeName"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {
                                                  "name": "name",
                                                  "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "expectedVariant"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {
                                                                                  "typeName": "hydra.core.model.Name",
                                                                                  "body": {"literal": {"string": "hydra.core.error.model.NominalTypeKindMismatchError"}}}}},
                                                                            {
                                                                              "name": "fieldName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "expectedVariant"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {
                                                  "name": "name",
                                                  "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "actualVariant"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {
                    "literal": {"string": "DSL updater for the actualVariant field of hydra.core.error.model.NominalTypeKindMismatchError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.nonComparableMapKeyTypeErrorNonComparableMapKeyTypeError",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedName"},
                "argument": {"variable": "hydra.core.error.model.NonComparableMapKeyTypeError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "wrap": {
                "typeName": "hydra.core.typed.TypedName",
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.model.Name",
                    "body": {"literal": {"string": "hydra.core.error.model.NonComparableMapKeyTypeError"}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL name token for hydra.core.error.model.NonComparableMapKeyTypeError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.nonComparableMapKeyTypeError",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.paths.SubtermPath"},
                      "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the map type"}}}]}}}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.model.Type"},
                      "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The non-comparable key type"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.NonComparableMapKeyTypeError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "location",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.paths.SubtermPath"},
                        "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the map type"}}}]}}}}},
                "body": {
                  "lambda": {
                    "parameter": "keyType",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.model.Type"},
                            "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The non-comparable key type"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {
                                          "typeName": "hydra.core.model.Name",
                                          "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "location"}}}}]}},
                                          {
                                            "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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "keyType"}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL constructor for hydra.core.error.model.NonComparableMapKeyTypeError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.nonComparableMapKeyTypeErrorLocation",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.NonComparableMapKeyTypeError"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"variable": "hydra.core.paths.SubtermPath"},
                    "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the map type"}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.NonComparableMapKeyTypeError"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {
                                                  "wrap": {
                                                    "typeName": "hydra.core.model.Name",
                                                    "body": {"literal": {"string": "hydra.core.error.model.NonComparableMapKeyTypeError"}}}}},
                                              {
                                                "name": "fieldName",
                                                "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL accessor for the location field of hydra.core.error.model.NonComparableMapKeyTypeError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.nonComparableMapKeyTypeErrorKeyType",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.NonComparableMapKeyTypeError"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"variable": "hydra.core.model.Type"},
                    "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The non-comparable key type"}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.NonComparableMapKeyTypeError"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {
                                                  "wrap": {
                                                    "typeName": "hydra.core.model.Name",
                                                    "body": {"literal": {"string": "hydra.core.error.model.NonComparableMapKeyTypeError"}}}}},
                                              {
                                                "name": "fieldName",
                                                "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "keyType"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL accessor for the keyType field of hydra.core.error.model.NonComparableMapKeyTypeError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.nonComparableMapKeyTypeErrorWithLocation",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.NonComparableMapKeyTypeError"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.paths.SubtermPath"},
                      "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the map type"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.NonComparableMapKeyTypeError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.NonComparableMapKeyTypeError"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.paths.SubtermPath"},
                            "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the map type"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {
                                          "typeName": "hydra.core.model.Name",
                                          "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "keyType"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {
                                                                                  "typeName": "hydra.core.model.Name",
                                                                                  "body": {"literal": {"string": "hydra.core.error.model.NonComparableMapKeyTypeError"}}}}},
                                                                            {
                                                                              "name": "fieldName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "keyType"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL updater for the location field of hydra.core.error.model.NonComparableMapKeyTypeError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.nonComparableMapKeyTypeErrorWithKeyType",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.NonComparableMapKeyTypeError"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.model.Type"},
                      "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The non-comparable key type"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.NonComparableMapKeyTypeError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.NonComparableMapKeyTypeError"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.model.Type"},
                            "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The non-comparable key type"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {
                                          "typeName": "hydra.core.model.Name",
                                          "body": {"literal": {"string": "hydra.core.error.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": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {
                                                                                  "typeName": "hydra.core.model.Name",
                                                                                  "body": {"literal": {"string": "hydra.core.error.model.NonComparableMapKeyTypeError"}}}}},
                                                                            {
                                                                              "name": "fieldName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "keyType"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL updater for the keyType field of hydra.core.error.model.NonComparableMapKeyTypeError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.nonComparableSetElementTypeErrorNonComparableSetElementTypeError",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedName"},
                "argument": {"variable": "hydra.core.error.model.NonComparableSetElementTypeError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "wrap": {
                "typeName": "hydra.core.typed.TypedName",
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.model.Name",
                    "body": {"literal": {"string": "hydra.core.error.model.NonComparableSetElementTypeError"}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL name token for hydra.core.error.model.NonComparableSetElementTypeError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.nonComparableSetElementTypeError",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.paths.SubtermPath"},
                      "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the set type"}}}]}}}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.model.Type"},
                      "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The non-comparable element type"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.NonComparableSetElementTypeError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "location",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.paths.SubtermPath"},
                        "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the set type"}}}]}}}}},
                "body": {
                  "lambda": {
                    "parameter": "elementType",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.model.Type"},
                            "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The non-comparable element type"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {
                                          "typeName": "hydra.core.model.Name",
                                          "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "location"}}}}]}},
                                          {
                                            "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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "elementType"}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL constructor for hydra.core.error.model.NonComparableSetElementTypeError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.nonComparableSetElementTypeErrorLocation",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.NonComparableSetElementTypeError"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"variable": "hydra.core.paths.SubtermPath"},
                    "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the set type"}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.NonComparableSetElementTypeError"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {
                                                  "wrap": {
                                                    "typeName": "hydra.core.model.Name",
                                                    "body": {"literal": {"string": "hydra.core.error.model.NonComparableSetElementTypeError"}}}}},
                                              {
                                                "name": "fieldName",
                                                "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {
                    "literal": {"string": "DSL accessor for the location field of hydra.core.error.model.NonComparableSetElementTypeError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.nonComparableSetElementTypeErrorElementType",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.NonComparableSetElementTypeError"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"variable": "hydra.core.model.Type"},
                    "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The non-comparable element type"}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.NonComparableSetElementTypeError"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {
                                                  "wrap": {
                                                    "typeName": "hydra.core.model.Name",
                                                    "body": {"literal": {"string": "hydra.core.error.model.NonComparableSetElementTypeError"}}}}},
                                              {
                                                "name": "fieldName",
                                                "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "elementType"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {
                    "literal": {"string": "DSL accessor for the elementType field of hydra.core.error.model.NonComparableSetElementTypeError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.nonComparableSetElementTypeErrorWithLocation",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.NonComparableSetElementTypeError"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.paths.SubtermPath"},
                      "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the set type"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.NonComparableSetElementTypeError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.NonComparableSetElementTypeError"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.paths.SubtermPath"},
                            "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the set type"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {
                                          "typeName": "hydra.core.model.Name",
                                          "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {
                                                  "name": "name",
                                                  "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "elementType"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {
                                                                                  "typeName": "hydra.core.model.Name",
                                                                                  "body": {"literal": {"string": "hydra.core.error.model.NonComparableSetElementTypeError"}}}}},
                                                                            {
                                                                              "name": "fieldName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "elementType"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL updater for the location field of hydra.core.error.model.NonComparableSetElementTypeError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.nonComparableSetElementTypeErrorWithElementType",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.NonComparableSetElementTypeError"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.model.Type"},
                      "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The non-comparable element type"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.NonComparableSetElementTypeError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.NonComparableSetElementTypeError"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.model.Type"},
                            "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The non-comparable element type"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {
                                          "typeName": "hydra.core.model.Name",
                                          "body": {"literal": {"string": "hydra.core.error.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": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {
                                                                                  "typeName": "hydra.core.model.Name",
                                                                                  "body": {"literal": {"string": "hydra.core.error.model.NonComparableSetElementTypeError"}}}}},
                                                                            {
                                                                              "name": "fieldName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {
                                                  "name": "name",
                                                  "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "elementType"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {
                    "literal": {"string": "DSL updater for the elementType field of hydra.core.error.model.NonComparableSetElementTypeError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.redundantWrapUnwrapErrorRedundantWrapUnwrapError",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedName"},
                "argument": {"variable": "hydra.core.error.model.RedundantWrapUnwrapError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "wrap": {
                "typeName": "hydra.core.typed.TypedName",
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.model.Name",
                    "body": {"literal": {"string": "hydra.core.error.model.RedundantWrapUnwrapError"}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL name token for hydra.core.error.model.RedundantWrapUnwrapError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.redundantWrapUnwrapError",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.paths.SubtermPath"},
                      "annotation": {
                        "map": [
                          {
                            "key": {"variable": "description"},
                            "value": {"literal": {"string": "The path to the redundant wrap/unwrap within the term"}}}]}}}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.model.Name"},
                      "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The type name of the wrapper"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.RedundantWrapUnwrapError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "location",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.paths.SubtermPath"},
                        "annotation": {
                          "map": [
                            {
                              "key": {"variable": "description"},
                              "value": {"literal": {"string": "The path to the redundant wrap/unwrap within the term"}}}]}}}}},
                "body": {
                  "lambda": {
                    "parameter": "typeName",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.model.Name"},
                            "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The type name of the wrapper"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {
                                          "typeName": "hydra.core.model.Name",
                                          "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "location"}}}}]}},
                                          {
                                            "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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "typeName"}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL constructor for hydra.core.error.model.RedundantWrapUnwrapError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.redundantWrapUnwrapErrorLocation",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.RedundantWrapUnwrapError"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"variable": "hydra.core.paths.SubtermPath"},
                    "annotation": {
                      "map": [
                        {
                          "key": {"variable": "description"},
                          "value": {"literal": {"string": "The path to the redundant wrap/unwrap within the term"}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.RedundantWrapUnwrapError"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {
                                                  "wrap": {
                                                    "typeName": "hydra.core.model.Name",
                                                    "body": {"literal": {"string": "hydra.core.error.model.RedundantWrapUnwrapError"}}}}},
                                              {
                                                "name": "fieldName",
                                                "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL accessor for the location field of hydra.core.error.model.RedundantWrapUnwrapError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.redundantWrapUnwrapErrorTypeName",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.RedundantWrapUnwrapError"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"variable": "hydra.core.model.Name"},
                    "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The type name of the wrapper"}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.RedundantWrapUnwrapError"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {
                                                  "wrap": {
                                                    "typeName": "hydra.core.model.Name",
                                                    "body": {"literal": {"string": "hydra.core.error.model.RedundantWrapUnwrapError"}}}}},
                                              {
                                                "name": "fieldName",
                                                "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeName"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL accessor for the typeName field of hydra.core.error.model.RedundantWrapUnwrapError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.redundantWrapUnwrapErrorWithLocation",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.RedundantWrapUnwrapError"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.paths.SubtermPath"},
                      "annotation": {
                        "map": [
                          {
                            "key": {"variable": "description"},
                            "value": {"literal": {"string": "The path to the redundant wrap/unwrap within the term"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.RedundantWrapUnwrapError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.RedundantWrapUnwrapError"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.paths.SubtermPath"},
                            "annotation": {
                              "map": [
                                {
                                  "key": {"variable": "description"},
                                  "value": {"literal": {"string": "The path to the redundant wrap/unwrap within the term"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {
                                          "typeName": "hydra.core.model.Name",
                                          "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeName"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {
                                                                                  "typeName": "hydra.core.model.Name",
                                                                                  "body": {"literal": {"string": "hydra.core.error.model.RedundantWrapUnwrapError"}}}}},
                                                                            {
                                                                              "name": "fieldName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeName"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL updater for the location field of hydra.core.error.model.RedundantWrapUnwrapError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.redundantWrapUnwrapErrorWithTypeName",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.RedundantWrapUnwrapError"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.model.Name"},
                      "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The type name of the wrapper"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.RedundantWrapUnwrapError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.RedundantWrapUnwrapError"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.model.Name"},
                            "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The type name of the wrapper"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {
                                          "typeName": "hydra.core.model.Name",
                                          "body": {"literal": {"string": "hydra.core.error.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": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {
                                                                                  "typeName": "hydra.core.model.Name",
                                                                                  "body": {"literal": {"string": "hydra.core.error.model.RedundantWrapUnwrapError"}}}}},
                                                                            {
                                                                              "name": "fieldName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeName"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL updater for the typeName field of hydra.core.error.model.RedundantWrapUnwrapError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.selfApplicationErrorSelfApplicationError",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedName"},
                "argument": {"variable": "hydra.core.error.model.SelfApplicationError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "wrap": {
                "typeName": "hydra.core.typed.TypedName",
                "body": {
                  "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.SelfApplicationError"}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL name token for hydra.core.error.model.SelfApplicationError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.selfApplicationError",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.paths.SubtermPath"},
                      "annotation": {
                        "map": [
                          {
                            "key": {"variable": "description"},
                            "value": {"literal": {"string": "The path to the self-application within the term"}}}]}}}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.model.Name"},
                      "annotation": {
                        "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the variable applied to itself"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.SelfApplicationError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "location",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.paths.SubtermPath"},
                        "annotation": {
                          "map": [
                            {
                              "key": {"variable": "description"},
                              "value": {"literal": {"string": "The path to the self-application within the term"}}}]}}}}},
                "body": {
                  "lambda": {
                    "parameter": "name",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.model.Name"},
                            "annotation": {
                              "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the variable applied to itself"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "location"}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "name"}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL constructor for hydra.core.error.model.SelfApplicationError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.selfApplicationErrorLocation",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.SelfApplicationError"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"variable": "hydra.core.paths.SubtermPath"},
                    "annotation": {
                      "map": [
                        {
                          "key": {"variable": "description"},
                          "value": {"literal": {"string": "The path to the self-application within the term"}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.SelfApplicationError"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {
                                                  "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.SelfApplicationError"}}}}},
                                              {
                                                "name": "fieldName",
                                                "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL accessor for the location field of hydra.core.error.model.SelfApplicationError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.selfApplicationErrorName",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.SelfApplicationError"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"variable": "hydra.core.model.Name"},
                    "annotation": {
                      "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the variable applied to itself"}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.SelfApplicationError"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {
                                                  "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.SelfApplicationError"}}}}},
                                              {"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL accessor for the name field of hydra.core.error.model.SelfApplicationError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.selfApplicationErrorWithLocation",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.SelfApplicationError"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.paths.SubtermPath"},
                      "annotation": {
                        "map": [
                          {
                            "key": {"variable": "description"},
                            "value": {"literal": {"string": "The path to the self-application within the term"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.SelfApplicationError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.SelfApplicationError"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.paths.SubtermPath"},
                            "annotation": {
                              "map": [
                                {
                                  "key": {"variable": "description"},
                                  "value": {"literal": {"string": "The path to the self-application within the term"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.SelfApplicationError"}}}}},
                                                                            {"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL updater for the location field of hydra.core.error.model.SelfApplicationError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.selfApplicationErrorWithName",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.SelfApplicationError"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.model.Name"},
                      "annotation": {
                        "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the variable applied to itself"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.SelfApplicationError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.SelfApplicationError"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.model.Name"},
                            "annotation": {
                              "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the variable applied to itself"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.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": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.SelfApplicationError"}}}}},
                                                                            {
                                                                              "name": "fieldName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL updater for the name field of hydra.core.error.model.SelfApplicationError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.singleVariantUnionErrorSingleVariantUnionError",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedName"},
                "argument": {"variable": "hydra.core.error.model.SingleVariantUnionError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "wrap": {
                "typeName": "hydra.core.typed.TypedName",
                "body": {
                  "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.SingleVariantUnionError"}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL name token for hydra.core.error.model.SingleVariantUnionError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.singleVariantUnionError",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.paths.SubtermPath"},
                      "annotation": {
                        "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the single-variant union type"}}}]}}}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.model.Name"},
                      "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the single field"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.SingleVariantUnionError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "location",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.paths.SubtermPath"},
                        "annotation": {
                          "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the single-variant union type"}}}]}}}}},
                "body": {
                  "lambda": {
                    "parameter": "fieldName",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.model.Name"},
                            "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the single field"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "location"}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "fieldName"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "fieldName"}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL constructor for hydra.core.error.model.SingleVariantUnionError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.singleVariantUnionErrorLocation",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.SingleVariantUnionError"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"variable": "hydra.core.paths.SubtermPath"},
                    "annotation": {
                      "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the single-variant union type"}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.SingleVariantUnionError"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {
                                                  "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.SingleVariantUnionError"}}}}},
                                              {
                                                "name": "fieldName",
                                                "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL accessor for the location field of hydra.core.error.model.SingleVariantUnionError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.singleVariantUnionErrorFieldName",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.SingleVariantUnionError"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"variable": "hydra.core.model.Name"},
                    "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the single field"}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.SingleVariantUnionError"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {
                                                  "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.SingleVariantUnionError"}}}}},
                                              {
                                                "name": "fieldName",
                                                "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "fieldName"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL accessor for the fieldName field of hydra.core.error.model.SingleVariantUnionError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.singleVariantUnionErrorWithLocation",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.SingleVariantUnionError"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.paths.SubtermPath"},
                      "annotation": {
                        "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the single-variant union type"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.SingleVariantUnionError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.SingleVariantUnionError"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.paths.SubtermPath"},
                            "annotation": {
                              "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the single-variant union type"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "fieldName"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.SingleVariantUnionError"}}}}},
                                                                            {
                                                                              "name": "fieldName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "fieldName"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL updater for the location field of hydra.core.error.model.SingleVariantUnionError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.singleVariantUnionErrorWithFieldName",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.SingleVariantUnionError"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.model.Name"},
                      "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the single field"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.SingleVariantUnionError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.SingleVariantUnionError"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.model.Name"},
                            "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the single field"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.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": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.SingleVariantUnionError"}}}}},
                                                                            {
                                                                              "name": "fieldName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "fieldName"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL updater for the fieldName field of hydra.core.error.model.SingleVariantUnionError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.termVariableShadowingErrorTermVariableShadowingError",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedName"},
                "argument": {"variable": "hydra.core.error.model.TermVariableShadowingError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "wrap": {
                "typeName": "hydra.core.typed.TypedName",
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.model.Name",
                    "body": {"literal": {"string": "hydra.core.error.model.TermVariableShadowingError"}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL name token for hydra.core.error.model.TermVariableShadowingError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.termVariableShadowingError",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.paths.SubtermPath"},
                      "annotation": {
                        "map": [
                          {
                            "key": {"variable": "description"},
                            "value": {"literal": {"string": "The path to the shadowing binding within the term"}}}]}}}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.model.Name"},
                      "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the shadowed variable"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.TermVariableShadowingError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "location",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.paths.SubtermPath"},
                        "annotation": {
                          "map": [
                            {
                              "key": {"variable": "description"},
                              "value": {"literal": {"string": "The path to the shadowing binding within the term"}}}]}}}}},
                "body": {
                  "lambda": {
                    "parameter": "name",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.model.Name"},
                            "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the shadowed variable"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {
                                          "typeName": "hydra.core.model.Name",
                                          "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "location"}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "name"}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL constructor for hydra.core.error.model.TermVariableShadowingError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.termVariableShadowingErrorLocation",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.TermVariableShadowingError"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"variable": "hydra.core.paths.SubtermPath"},
                    "annotation": {
                      "map": [
                        {
                          "key": {"variable": "description"},
                          "value": {"literal": {"string": "The path to the shadowing binding within the term"}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.TermVariableShadowingError"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {
                                                  "wrap": {
                                                    "typeName": "hydra.core.model.Name",
                                                    "body": {"literal": {"string": "hydra.core.error.model.TermVariableShadowingError"}}}}},
                                              {
                                                "name": "fieldName",
                                                "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL accessor for the location field of hydra.core.error.model.TermVariableShadowingError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.termVariableShadowingErrorName",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.TermVariableShadowingError"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"variable": "hydra.core.model.Name"},
                    "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the shadowed variable"}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.TermVariableShadowingError"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {
                                                  "wrap": {
                                                    "typeName": "hydra.core.model.Name",
                                                    "body": {"literal": {"string": "hydra.core.error.model.TermVariableShadowingError"}}}}},
                                              {"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL accessor for the name field of hydra.core.error.model.TermVariableShadowingError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.termVariableShadowingErrorWithLocation",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.TermVariableShadowingError"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.paths.SubtermPath"},
                      "annotation": {
                        "map": [
                          {
                            "key": {"variable": "description"},
                            "value": {"literal": {"string": "The path to the shadowing binding within the term"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.TermVariableShadowingError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.TermVariableShadowingError"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.paths.SubtermPath"},
                            "annotation": {
                              "map": [
                                {
                                  "key": {"variable": "description"},
                                  "value": {"literal": {"string": "The path to the shadowing binding within the term"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {
                                          "typeName": "hydra.core.model.Name",
                                          "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {
                                                                                  "typeName": "hydra.core.model.Name",
                                                                                  "body": {"literal": {"string": "hydra.core.error.model.TermVariableShadowingError"}}}}},
                                                                            {"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL updater for the location field of hydra.core.error.model.TermVariableShadowingError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.termVariableShadowingErrorWithName",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.TermVariableShadowingError"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.model.Name"},
                      "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the shadowed variable"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.TermVariableShadowingError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.TermVariableShadowingError"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.model.Name"},
                            "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the shadowed variable"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {
                                          "typeName": "hydra.core.model.Name",
                                          "body": {"literal": {"string": "hydra.core.error.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": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {
                                                                                  "typeName": "hydra.core.model.Name",
                                                                                  "body": {"literal": {"string": "hydra.core.error.model.TermVariableShadowingError"}}}}},
                                                                            {
                                                                              "name": "fieldName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL updater for the name field of hydra.core.error.model.TermVariableShadowingError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.typeVariableShadowingInForallErrorTypeVariableShadowingInForallError",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedName"},
                "argument": {"variable": "hydra.core.error.model.TypeVariableShadowingInForallError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "wrap": {
                "typeName": "hydra.core.typed.TypedName",
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.model.Name",
                    "body": {"literal": {"string": "hydra.core.error.model.TypeVariableShadowingInForallError"}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL name token for hydra.core.error.model.TypeVariableShadowingInForallError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.typeVariableShadowingInForallError",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.paths.SubtermPath"},
                      "annotation": {
                        "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the shadowing forall type"}}}]}}}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.model.Name"},
                      "annotation": {
                        "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the shadowed type variable"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.TypeVariableShadowingInForallError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "location",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.paths.SubtermPath"},
                        "annotation": {
                          "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the shadowing forall type"}}}]}}}}},
                "body": {
                  "lambda": {
                    "parameter": "name",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.model.Name"},
                            "annotation": {
                              "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the shadowed type variable"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {
                                          "typeName": "hydra.core.model.Name",
                                          "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "location"}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "name"}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL constructor for hydra.core.error.model.TypeVariableShadowingInForallError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.typeVariableShadowingInForallErrorLocation",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.TypeVariableShadowingInForallError"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"variable": "hydra.core.paths.SubtermPath"},
                    "annotation": {
                      "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the shadowing forall type"}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.TypeVariableShadowingInForallError"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {
                                                  "wrap": {
                                                    "typeName": "hydra.core.model.Name",
                                                    "body": {"literal": {"string": "hydra.core.error.model.TypeVariableShadowingInForallError"}}}}},
                                              {
                                                "name": "fieldName",
                                                "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {
                    "literal": {"string": "DSL accessor for the location field of hydra.core.error.model.TypeVariableShadowingInForallError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.typeVariableShadowingInForallErrorName",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.TypeVariableShadowingInForallError"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"variable": "hydra.core.model.Name"},
                    "annotation": {
                      "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the shadowed type variable"}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.TypeVariableShadowingInForallError"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {
                                                  "wrap": {
                                                    "typeName": "hydra.core.model.Name",
                                                    "body": {"literal": {"string": "hydra.core.error.model.TypeVariableShadowingInForallError"}}}}},
                                              {"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL accessor for the name field of hydra.core.error.model.TypeVariableShadowingInForallError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.typeVariableShadowingInForallErrorWithLocation",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.TypeVariableShadowingInForallError"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.paths.SubtermPath"},
                      "annotation": {
                        "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the shadowing forall type"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.TypeVariableShadowingInForallError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.TypeVariableShadowingInForallError"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.paths.SubtermPath"},
                            "annotation": {
                              "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the shadowing forall type"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {
                                          "typeName": "hydra.core.model.Name",
                                          "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {
                                                                                  "typeName": "hydra.core.model.Name",
                                                                                  "body": {"literal": {"string": "hydra.core.error.model.TypeVariableShadowingInForallError"}}}}},
                                                                            {"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {
                    "literal": {"string": "DSL updater for the location field of hydra.core.error.model.TypeVariableShadowingInForallError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.typeVariableShadowingInForallErrorWithName",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.TypeVariableShadowingInForallError"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.model.Name"},
                      "annotation": {
                        "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the shadowed type variable"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.TypeVariableShadowingInForallError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.TypeVariableShadowingInForallError"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.model.Name"},
                            "annotation": {
                              "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the shadowed type variable"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {
                                          "typeName": "hydra.core.model.Name",
                                          "body": {"literal": {"string": "hydra.core.error.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": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {
                                                                                  "typeName": "hydra.core.model.Name",
                                                                                  "body": {"literal": {"string": "hydra.core.error.model.TypeVariableShadowingInForallError"}}}}},
                                                                            {
                                                                              "name": "fieldName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL updater for the name field of hydra.core.error.model.TypeVariableShadowingInForallError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.typeVariableShadowingInTypeLambdaErrorTypeVariableShadowingInTypeLambdaError",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedName"},
                "argument": {"variable": "hydra.core.error.model.TypeVariableShadowingInTypeLambdaError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "wrap": {
                "typeName": "hydra.core.typed.TypedName",
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.model.Name",
                    "body": {"literal": {"string": "hydra.core.error.model.TypeVariableShadowingInTypeLambdaError"}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL name token for hydra.core.error.model.TypeVariableShadowingInTypeLambdaError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.typeVariableShadowingInTypeLambdaError",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.paths.SubtermPath"},
                      "annotation": {
                        "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the type lambda within the term"}}}]}}}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.model.Name"},
                      "annotation": {
                        "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the shadowed type variable"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.TypeVariableShadowingInTypeLambdaError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "location",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.paths.SubtermPath"},
                        "annotation": {
                          "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the type lambda within the term"}}}]}}}}},
                "body": {
                  "lambda": {
                    "parameter": "name",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.model.Name"},
                            "annotation": {
                              "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the shadowed type variable"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {
                                          "typeName": "hydra.core.model.Name",
                                          "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "location"}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "name"}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL constructor for hydra.core.error.model.TypeVariableShadowingInTypeLambdaError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.typeVariableShadowingInTypeLambdaErrorLocation",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.TypeVariableShadowingInTypeLambdaError"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"variable": "hydra.core.paths.SubtermPath"},
                    "annotation": {
                      "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the type lambda within the term"}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.TypeVariableShadowingInTypeLambdaError"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {
                                                  "wrap": {
                                                    "typeName": "hydra.core.model.Name",
                                                    "body": {"literal": {"string": "hydra.core.error.model.TypeVariableShadowingInTypeLambdaError"}}}}},
                                              {
                                                "name": "fieldName",
                                                "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {
                    "literal": {"string": "DSL accessor for the location field of hydra.core.error.model.TypeVariableShadowingInTypeLambdaError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.typeVariableShadowingInTypeLambdaErrorName",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.TypeVariableShadowingInTypeLambdaError"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"variable": "hydra.core.model.Name"},
                    "annotation": {
                      "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the shadowed type variable"}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.TypeVariableShadowingInTypeLambdaError"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {
                                                  "wrap": {
                                                    "typeName": "hydra.core.model.Name",
                                                    "body": {"literal": {"string": "hydra.core.error.model.TypeVariableShadowingInTypeLambdaError"}}}}},
                                              {"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {
                    "literal": {"string": "DSL accessor for the name field of hydra.core.error.model.TypeVariableShadowingInTypeLambdaError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.typeVariableShadowingInTypeLambdaErrorWithLocation",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.TypeVariableShadowingInTypeLambdaError"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.paths.SubtermPath"},
                      "annotation": {
                        "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the type lambda within the term"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.TypeVariableShadowingInTypeLambdaError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.TypeVariableShadowingInTypeLambdaError"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.paths.SubtermPath"},
                            "annotation": {
                              "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the type lambda within the term"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {
                                          "typeName": "hydra.core.model.Name",
                                          "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {
                                                                                  "typeName": "hydra.core.model.Name",
                                                                                  "body": {"literal": {"string": "hydra.core.error.model.TypeVariableShadowingInTypeLambdaError"}}}}},
                                                                            {"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {
                    "literal": {"string": "DSL updater for the location field of hydra.core.error.model.TypeVariableShadowingInTypeLambdaError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.typeVariableShadowingInTypeLambdaErrorWithName",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.TypeVariableShadowingInTypeLambdaError"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.model.Name"},
                      "annotation": {
                        "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the shadowed type variable"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.TypeVariableShadowingInTypeLambdaError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.TypeVariableShadowingInTypeLambdaError"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.model.Name"},
                            "annotation": {
                              "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the shadowed type variable"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {
                                          "typeName": "hydra.core.model.Name",
                                          "body": {"literal": {"string": "hydra.core.error.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": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {
                                                                                  "typeName": "hydra.core.model.Name",
                                                                                  "body": {"literal": {"string": "hydra.core.error.model.TypeVariableShadowingInTypeLambdaError"}}}}},
                                                                            {
                                                                              "name": "fieldName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {
                    "literal": {"string": "DSL updater for the name field of hydra.core.error.model.TypeVariableShadowingInTypeLambdaError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.undeclaredVariantErrorUndeclaredVariantError",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedName"},
                "argument": {"variable": "hydra.core.error.model.UndeclaredVariantError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "wrap": {
                "typeName": "hydra.core.typed.TypedName",
                "body": {
                  "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.UndeclaredVariantError"}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL name token for hydra.core.error.model.UndeclaredVariantError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.undeclaredVariantError",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.paths.SubtermPath"},
                      "annotation": {
                        "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the injection within the term"}}}]}}}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.model.Name"},
                      "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the union type"}}}]}}}}},
              "isLazy": false},
            {
              "name": "arg2",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.model.Name"},
                      "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The undeclared variant name"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.UndeclaredVariantError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "location",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.paths.SubtermPath"},
                        "annotation": {
                          "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the injection within the term"}}}]}}}}},
                "body": {
                  "lambda": {
                    "parameter": "typeName",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.model.Name"},
                            "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the union type"}}}]}}}}},
                    "body": {
                      "lambda": {
                        "parameter": "variantName",
                        "domain": {
                          "application": {
                            "function": {"variable": "hydra.core.typed.TypedTerm"},
                            "argument": {
                              "annotated": {
                                "body": {"variable": "hydra.core.model.Name"},
                                "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The undeclared variant name"}}}]}}}}},
                        "body": {
                          "wrap": {
                            "typeName": "hydra.core.typed.TypedTerm",
                            "body": {
                              "inject": {
                                "typeName": "hydra.core.model.Term",
                                "field": {
                                  "name": "record",
                                  "term": {
                                    "record": {
                                      "typeName": "hydra.core.model.Record",
                                      "fields": [
                                        {
                                          "name": "typeName",
                                          "term": {
                                            "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "location"}}}}]}},
                                              {
                                                "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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "typeName"}}}}]}},
                                              {
                                                "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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "variantName"}}}}]}}]}}]}}}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL constructor for hydra.core.error.model.UndeclaredVariantError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.undeclaredVariantErrorLocation",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.UndeclaredVariantError"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"variable": "hydra.core.paths.SubtermPath"},
                    "annotation": {
                      "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the injection within the term"}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.UndeclaredVariantError"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {
                                                  "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.UndeclaredVariantError"}}}}},
                                              {
                                                "name": "fieldName",
                                                "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL accessor for the location field of hydra.core.error.model.UndeclaredVariantError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.undeclaredVariantErrorTypeName",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.UndeclaredVariantError"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"variable": "hydra.core.model.Name"},
                    "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the union type"}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.UndeclaredVariantError"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {
                                                  "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.UndeclaredVariantError"}}}}},
                                              {
                                                "name": "fieldName",
                                                "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeName"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL accessor for the typeName field of hydra.core.error.model.UndeclaredVariantError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.undeclaredVariantErrorVariantName",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.UndeclaredVariantError"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"variable": "hydra.core.model.Name"},
                    "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The undeclared variant name"}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.UndeclaredVariantError"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {
                                                  "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.UndeclaredVariantError"}}}}},
                                              {
                                                "name": "fieldName",
                                                "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "variantName"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL accessor for the variantName field of hydra.core.error.model.UndeclaredVariantError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.undeclaredVariantErrorWithLocation",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.UndeclaredVariantError"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.paths.SubtermPath"},
                      "annotation": {
                        "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the injection within the term"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.UndeclaredVariantError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.UndeclaredVariantError"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.paths.SubtermPath"},
                            "annotation": {
                              "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the injection within the term"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeName"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.UndeclaredVariantError"}}}}},
                                                                            {
                                                                              "name": "fieldName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeName"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {
                                                  "name": "name",
                                                  "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "variantName"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.UndeclaredVariantError"}}}}},
                                                                            {
                                                                              "name": "fieldName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "variantName"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL updater for the location field of hydra.core.error.model.UndeclaredVariantError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.undeclaredVariantErrorWithTypeName",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.UndeclaredVariantError"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.model.Name"},
                      "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the union type"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.UndeclaredVariantError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.UndeclaredVariantError"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.model.Name"},
                            "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the union type"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.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": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.UndeclaredVariantError"}}}}},
                                                                            {
                                                                              "name": "fieldName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeName"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {
                                                  "name": "name",
                                                  "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "variantName"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.UndeclaredVariantError"}}}}},
                                                                            {
                                                                              "name": "fieldName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "variantName"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL updater for the typeName field of hydra.core.error.model.UndeclaredVariantError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.undeclaredVariantErrorWithVariantName",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.UndeclaredVariantError"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.model.Name"},
                      "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The undeclared variant name"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.UndeclaredVariantError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.UndeclaredVariantError"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.model.Name"},
                            "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The undeclared variant name"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.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": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.UndeclaredVariantError"}}}}},
                                                                            {
                                                                              "name": "fieldName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeName"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.UndeclaredVariantError"}}}}},
                                                                            {
                                                                              "name": "fieldName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeName"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {
                                                  "name": "name",
                                                  "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "variantName"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL updater for the variantName field of hydra.core.error.model.UndeclaredVariantError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.undefinedFieldErrorUndefinedFieldError",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedName"},
                "argument": {"variable": "hydra.core.error.model.UndefinedFieldError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "wrap": {
                "typeName": "hydra.core.typed.TypedName",
                "body": {
                  "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.UndefinedFieldError"}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL name token for hydra.core.error.model.UndefinedFieldError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.undefinedFieldError",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.model.Name"},
                      "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the undefined field"}}}]}}}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.model.Name"},
                      "annotation": {
                        "map": [
                          {
                            "key": {"variable": "description"},
                            "value": {"literal": {"string": "The name of the type in which the field was expected"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.UndefinedFieldError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "fieldName",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.model.Name"},
                        "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the undefined field"}}}]}}}}},
                "body": {
                  "lambda": {
                    "parameter": "typeName",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.model.Name"},
                            "annotation": {
                              "map": [
                                {
                                  "key": {"variable": "description"},
                                  "value": {"literal": {"string": "The name of the type in which the field was expected"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "fieldName"}}}}]}},
                                          {
                                            "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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "typeName"}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL constructor for hydra.core.error.model.UndefinedFieldError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.undefinedFieldErrorFieldName",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.UndefinedFieldError"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"variable": "hydra.core.model.Name"},
                    "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the undefined field"}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.UndefinedFieldError"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {
                                                  "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.UndefinedFieldError"}}}}},
                                              {
                                                "name": "fieldName",
                                                "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "fieldName"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL accessor for the fieldName field of hydra.core.error.model.UndefinedFieldError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.undefinedFieldErrorTypeName",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.UndefinedFieldError"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"variable": "hydra.core.model.Name"},
                    "annotation": {
                      "map": [
                        {
                          "key": {"variable": "description"},
                          "value": {"literal": {"string": "The name of the type in which the field was expected"}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.UndefinedFieldError"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {
                                                  "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.UndefinedFieldError"}}}}},
                                              {
                                                "name": "fieldName",
                                                "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeName"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL accessor for the typeName field of hydra.core.error.model.UndefinedFieldError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.undefinedFieldErrorWithFieldName",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.UndefinedFieldError"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.model.Name"},
                      "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the undefined field"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.UndefinedFieldError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.UndefinedFieldError"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.model.Name"},
                            "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the undefined field"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeName"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.UndefinedFieldError"}}}}},
                                                                            {
                                                                              "name": "fieldName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeName"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL updater for the fieldName field of hydra.core.error.model.UndefinedFieldError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.undefinedFieldErrorWithTypeName",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.UndefinedFieldError"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.model.Name"},
                      "annotation": {
                        "map": [
                          {
                            "key": {"variable": "description"},
                            "value": {"literal": {"string": "The name of the type in which the field was expected"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.UndefinedFieldError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.UndefinedFieldError"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.model.Name"},
                            "annotation": {
                              "map": [
                                {
                                  "key": {"variable": "description"},
                                  "value": {"literal": {"string": "The name of the type in which the field was expected"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.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": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.model.UndefinedFieldError"}}}}},
                                                                            {
                                                                              "name": "fieldName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "fieldName"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}},
                                          {
                                            "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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL updater for the typeName field of hydra.core.error.model.UndefinedFieldError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.undefinedTermVariableErrorUndefinedTermVariableError",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedName"},
                "argument": {"variable": "hydra.core.error.model.UndefinedTermVariableError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "wrap": {
                "typeName": "hydra.core.typed.TypedName",
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.model.Name",
                    "body": {"literal": {"string": "hydra.core.error.model.UndefinedTermVariableError"}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL name token for hydra.core.error.model.UndefinedTermVariableError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.undefinedTermVariableError",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.paths.SubtermPath"},
                      "annotation": {
                        "map": [
                          {
                            "key": {"variable": "description"},
                            "value": {"literal": {"string": "The path to the undefined variable within the term"}}}]}}}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.model.Name"},
                      "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the undefined variable"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.UndefinedTermVariableError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "location",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.paths.SubtermPath"},
                        "annotation": {
                          "map": [
                            {
                              "key": {"variable": "description"},
                              "value": {"literal": {"string": "The path to the undefined variable within the term"}}}]}}}}},
                "body": {
                  "lambda": {
                    "parameter": "name",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.model.Name"},
                            "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the undefined variable"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {
                                          "typeName": "hydra.core.model.Name",
                                          "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "location"}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "name"}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL constructor for hydra.core.error.model.UndefinedTermVariableError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.undefinedTermVariableErrorLocation",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.UndefinedTermVariableError"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"variable": "hydra.core.paths.SubtermPath"},
                    "annotation": {
                      "map": [
                        {
                          "key": {"variable": "description"},
                          "value": {"literal": {"string": "The path to the undefined variable within the term"}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.UndefinedTermVariableError"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {
                                                  "wrap": {
                                                    "typeName": "hydra.core.model.Name",
                                                    "body": {"literal": {"string": "hydra.core.error.model.UndefinedTermVariableError"}}}}},
                                              {
                                                "name": "fieldName",
                                                "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL accessor for the location field of hydra.core.error.model.UndefinedTermVariableError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.undefinedTermVariableErrorName",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.UndefinedTermVariableError"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"variable": "hydra.core.model.Name"},
                    "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the undefined variable"}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.UndefinedTermVariableError"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {
                                                  "wrap": {
                                                    "typeName": "hydra.core.model.Name",
                                                    "body": {"literal": {"string": "hydra.core.error.model.UndefinedTermVariableError"}}}}},
                                              {"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL accessor for the name field of hydra.core.error.model.UndefinedTermVariableError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.undefinedTermVariableErrorWithLocation",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.UndefinedTermVariableError"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.paths.SubtermPath"},
                      "annotation": {
                        "map": [
                          {
                            "key": {"variable": "description"},
                            "value": {"literal": {"string": "The path to the undefined variable within the term"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.UndefinedTermVariableError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.UndefinedTermVariableError"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.paths.SubtermPath"},
                            "annotation": {
                              "map": [
                                {
                                  "key": {"variable": "description"},
                                  "value": {"literal": {"string": "The path to the undefined variable within the term"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {
                                          "typeName": "hydra.core.model.Name",
                                          "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {
                                                                                  "typeName": "hydra.core.model.Name",
                                                                                  "body": {"literal": {"string": "hydra.core.error.model.UndefinedTermVariableError"}}}}},
                                                                            {"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL updater for the location field of hydra.core.error.model.UndefinedTermVariableError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.undefinedTermVariableErrorWithName",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.UndefinedTermVariableError"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.model.Name"},
                      "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the undefined variable"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.UndefinedTermVariableError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.UndefinedTermVariableError"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.model.Name"},
                            "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the undefined variable"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {
                                          "typeName": "hydra.core.model.Name",
                                          "body": {"literal": {"string": "hydra.core.error.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": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {
                                                                                  "typeName": "hydra.core.model.Name",
                                                                                  "body": {"literal": {"string": "hydra.core.error.model.UndefinedTermVariableError"}}}}},
                                                                            {
                                                                              "name": "fieldName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL updater for the name field of hydra.core.error.model.UndefinedTermVariableError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.undefinedTypeVariableErrorUndefinedTypeVariableError",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedName"},
                "argument": {"variable": "hydra.core.error.model.UndefinedTypeVariableError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "wrap": {
                "typeName": "hydra.core.typed.TypedName",
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.model.Name",
                    "body": {"literal": {"string": "hydra.core.error.model.UndefinedTypeVariableError"}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL name token for hydra.core.error.model.UndefinedTypeVariableError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.undefinedTypeVariableError",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.paths.SubtermPath"},
                      "annotation": {
                        "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the undefined type variable"}}}]}}}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.model.Name"},
                      "annotation": {
                        "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the undefined type variable"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.UndefinedTypeVariableError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "location",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.paths.SubtermPath"},
                        "annotation": {
                          "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the undefined type variable"}}}]}}}}},
                "body": {
                  "lambda": {
                    "parameter": "name",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.model.Name"},
                            "annotation": {
                              "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the undefined type variable"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {
                                          "typeName": "hydra.core.model.Name",
                                          "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "location"}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "name"}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL constructor for hydra.core.error.model.UndefinedTypeVariableError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.undefinedTypeVariableErrorLocation",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.UndefinedTypeVariableError"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"variable": "hydra.core.paths.SubtermPath"},
                    "annotation": {
                      "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the undefined type variable"}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.UndefinedTypeVariableError"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {
                                                  "wrap": {
                                                    "typeName": "hydra.core.model.Name",
                                                    "body": {"literal": {"string": "hydra.core.error.model.UndefinedTypeVariableError"}}}}},
                                              {
                                                "name": "fieldName",
                                                "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL accessor for the location field of hydra.core.error.model.UndefinedTypeVariableError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.undefinedTypeVariableErrorName",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.UndefinedTypeVariableError"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"variable": "hydra.core.model.Name"},
                    "annotation": {
                      "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the undefined type variable"}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.UndefinedTypeVariableError"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {
                                                  "wrap": {
                                                    "typeName": "hydra.core.model.Name",
                                                    "body": {"literal": {"string": "hydra.core.error.model.UndefinedTypeVariableError"}}}}},
                                              {"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL accessor for the name field of hydra.core.error.model.UndefinedTypeVariableError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.undefinedTypeVariableErrorWithLocation",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.UndefinedTypeVariableError"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.paths.SubtermPath"},
                      "annotation": {
                        "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the undefined type variable"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.UndefinedTypeVariableError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.UndefinedTypeVariableError"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.paths.SubtermPath"},
                            "annotation": {
                              "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the undefined type variable"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {
                                          "typeName": "hydra.core.model.Name",
                                          "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {
                                                                                  "typeName": "hydra.core.model.Name",
                                                                                  "body": {"literal": {"string": "hydra.core.error.model.UndefinedTypeVariableError"}}}}},
                                                                            {"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL updater for the location field of hydra.core.error.model.UndefinedTypeVariableError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.undefinedTypeVariableErrorWithName",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.UndefinedTypeVariableError"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.model.Name"},
                      "annotation": {
                        "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the undefined type variable"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.UndefinedTypeVariableError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.UndefinedTypeVariableError"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.model.Name"},
                            "annotation": {
                              "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the undefined type variable"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {
                                          "typeName": "hydra.core.model.Name",
                                          "body": {"literal": {"string": "hydra.core.error.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": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {
                                                                                  "typeName": "hydra.core.model.Name",
                                                                                  "body": {"literal": {"string": "hydra.core.error.model.UndefinedTypeVariableError"}}}}},
                                                                            {
                                                                              "name": "fieldName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL updater for the name field of hydra.core.error.model.UndefinedTypeVariableError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.undefinedTypeVariableInBindingTypeErrorUndefinedTypeVariableInBindingTypeError",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedName"},
                "argument": {"variable": "hydra.core.error.model.UndefinedTypeVariableInBindingTypeError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "wrap": {
                "typeName": "hydra.core.typed.TypedName",
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.model.Name",
                    "body": {"literal": {"string": "hydra.core.error.model.UndefinedTypeVariableInBindingTypeError"}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL name token for hydra.core.error.model.UndefinedTypeVariableInBindingTypeError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.undefinedTypeVariableInBindingTypeError",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.paths.SubtermPath"},
                      "annotation": {
                        "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the binding within the term"}}}]}}}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.model.Name"},
                      "annotation": {
                        "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the undefined type variable"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.UndefinedTypeVariableInBindingTypeError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "location",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.paths.SubtermPath"},
                        "annotation": {
                          "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the binding within the term"}}}]}}}}},
                "body": {
                  "lambda": {
                    "parameter": "name",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.model.Name"},
                            "annotation": {
                              "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the undefined type variable"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {
                                          "typeName": "hydra.core.model.Name",
                                          "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "location"}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "name"}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL constructor for hydra.core.error.model.UndefinedTypeVariableInBindingTypeError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.undefinedTypeVariableInBindingTypeErrorLocation",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.UndefinedTypeVariableInBindingTypeError"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"variable": "hydra.core.paths.SubtermPath"},
                    "annotation": {
                      "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the binding within the term"}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.UndefinedTypeVariableInBindingTypeError"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {
                                                  "wrap": {
                                                    "typeName": "hydra.core.model.Name",
                                                    "body": {"literal": {"string": "hydra.core.error.model.UndefinedTypeVariableInBindingTypeError"}}}}},
                                              {
                                                "name": "fieldName",
                                                "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {
                    "literal": {"string": "DSL accessor for the location field of hydra.core.error.model.UndefinedTypeVariableInBindingTypeError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.undefinedTypeVariableInBindingTypeErrorName",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.UndefinedTypeVariableInBindingTypeError"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"variable": "hydra.core.model.Name"},
                    "annotation": {
                      "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the undefined type variable"}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.UndefinedTypeVariableInBindingTypeError"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {
                                                  "wrap": {
                                                    "typeName": "hydra.core.model.Name",
                                                    "body": {"literal": {"string": "hydra.core.error.model.UndefinedTypeVariableInBindingTypeError"}}}}},
                                              {"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {
                    "literal": {"string": "DSL accessor for the name field of hydra.core.error.model.UndefinedTypeVariableInBindingTypeError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.undefinedTypeVariableInBindingTypeErrorWithLocation",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.UndefinedTypeVariableInBindingTypeError"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.paths.SubtermPath"},
                      "annotation": {
                        "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the binding within the term"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.UndefinedTypeVariableInBindingTypeError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.UndefinedTypeVariableInBindingTypeError"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.paths.SubtermPath"},
                            "annotation": {
                              "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the binding within the term"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {
                                          "typeName": "hydra.core.model.Name",
                                          "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {
                                                                                  "typeName": "hydra.core.model.Name",
                                                                                  "body": {"literal": {"string": "hydra.core.error.model.UndefinedTypeVariableInBindingTypeError"}}}}},
                                                                            {"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {
                    "literal": {"string": "DSL updater for the location field of hydra.core.error.model.UndefinedTypeVariableInBindingTypeError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.undefinedTypeVariableInBindingTypeErrorWithName",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.UndefinedTypeVariableInBindingTypeError"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.model.Name"},
                      "annotation": {
                        "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the undefined type variable"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.UndefinedTypeVariableInBindingTypeError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.UndefinedTypeVariableInBindingTypeError"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.model.Name"},
                            "annotation": {
                              "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the undefined type variable"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {
                                          "typeName": "hydra.core.model.Name",
                                          "body": {"literal": {"string": "hydra.core.error.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": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {
                                                                                  "typeName": "hydra.core.model.Name",
                                                                                  "body": {"literal": {"string": "hydra.core.error.model.UndefinedTypeVariableInBindingTypeError"}}}}},
                                                                            {
                                                                              "name": "fieldName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {
                    "literal": {"string": "DSL updater for the name field of hydra.core.error.model.UndefinedTypeVariableInBindingTypeError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.undefinedTypeVariableInLambdaDomainErrorUndefinedTypeVariableInLambdaDomainError",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedName"},
                "argument": {"variable": "hydra.core.error.model.UndefinedTypeVariableInLambdaDomainError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "wrap": {
                "typeName": "hydra.core.typed.TypedName",
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.model.Name",
                    "body": {"literal": {"string": "hydra.core.error.model.UndefinedTypeVariableInLambdaDomainError"}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL name token for hydra.core.error.model.UndefinedTypeVariableInLambdaDomainError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.undefinedTypeVariableInLambdaDomainError",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.paths.SubtermPath"},
                      "annotation": {
                        "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the lambda within the term"}}}]}}}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.model.Name"},
                      "annotation": {
                        "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the undefined type variable"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.UndefinedTypeVariableInLambdaDomainError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "location",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.paths.SubtermPath"},
                        "annotation": {
                          "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the lambda within the term"}}}]}}}}},
                "body": {
                  "lambda": {
                    "parameter": "name",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.model.Name"},
                            "annotation": {
                              "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the undefined type variable"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {
                                          "typeName": "hydra.core.model.Name",
                                          "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "location"}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "name"}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL constructor for hydra.core.error.model.UndefinedTypeVariableInLambdaDomainError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.undefinedTypeVariableInLambdaDomainErrorLocation",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.UndefinedTypeVariableInLambdaDomainError"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"variable": "hydra.core.paths.SubtermPath"},
                    "annotation": {
                      "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the lambda within the term"}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.UndefinedTypeVariableInLambdaDomainError"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {
                                                  "wrap": {
                                                    "typeName": "hydra.core.model.Name",
                                                    "body": {"literal": {"string": "hydra.core.error.model.UndefinedTypeVariableInLambdaDomainError"}}}}},
                                              {
                                                "name": "fieldName",
                                                "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {
                    "literal": {"string": "DSL accessor for the location field of hydra.core.error.model.UndefinedTypeVariableInLambdaDomainError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.undefinedTypeVariableInLambdaDomainErrorName",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.UndefinedTypeVariableInLambdaDomainError"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"variable": "hydra.core.model.Name"},
                    "annotation": {
                      "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the undefined type variable"}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.UndefinedTypeVariableInLambdaDomainError"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {
                                                  "wrap": {
                                                    "typeName": "hydra.core.model.Name",
                                                    "body": {"literal": {"string": "hydra.core.error.model.UndefinedTypeVariableInLambdaDomainError"}}}}},
                                              {"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {
                    "literal": {"string": "DSL accessor for the name field of hydra.core.error.model.UndefinedTypeVariableInLambdaDomainError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.undefinedTypeVariableInLambdaDomainErrorWithLocation",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.UndefinedTypeVariableInLambdaDomainError"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.paths.SubtermPath"},
                      "annotation": {
                        "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the lambda within the term"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.UndefinedTypeVariableInLambdaDomainError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.UndefinedTypeVariableInLambdaDomainError"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.paths.SubtermPath"},
                            "annotation": {
                              "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the lambda within the term"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {
                                          "typeName": "hydra.core.model.Name",
                                          "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {
                                                                                  "typeName": "hydra.core.model.Name",
                                                                                  "body": {"literal": {"string": "hydra.core.error.model.UndefinedTypeVariableInLambdaDomainError"}}}}},
                                                                            {"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {
                    "literal": {"string": "DSL updater for the location field of hydra.core.error.model.UndefinedTypeVariableInLambdaDomainError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.undefinedTypeVariableInLambdaDomainErrorWithName",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.UndefinedTypeVariableInLambdaDomainError"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.model.Name"},
                      "annotation": {
                        "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the undefined type variable"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.UndefinedTypeVariableInLambdaDomainError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.UndefinedTypeVariableInLambdaDomainError"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.model.Name"},
                            "annotation": {
                              "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the undefined type variable"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {
                                          "typeName": "hydra.core.model.Name",
                                          "body": {"literal": {"string": "hydra.core.error.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": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {
                                                                                  "typeName": "hydra.core.model.Name",
                                                                                  "body": {"literal": {"string": "hydra.core.error.model.UndefinedTypeVariableInLambdaDomainError"}}}}},
                                                                            {
                                                                              "name": "fieldName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {
                    "literal": {"string": "DSL updater for the name field of hydra.core.error.model.UndefinedTypeVariableInLambdaDomainError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.undefinedTypeVariableInTypeApplicationErrorUndefinedTypeVariableInTypeApplicationError",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedName"},
                "argument": {"variable": "hydra.core.error.model.UndefinedTypeVariableInTypeApplicationError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "wrap": {
                "typeName": "hydra.core.typed.TypedName",
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.model.Name",
                    "body": {"literal": {"string": "hydra.core.error.model.UndefinedTypeVariableInTypeApplicationError"}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL name token for hydra.core.error.model.UndefinedTypeVariableInTypeApplicationError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.undefinedTypeVariableInTypeApplicationError",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.paths.SubtermPath"},
                      "annotation": {
                        "map": [
                          {
                            "key": {"variable": "description"},
                            "value": {"literal": {"string": "The path to the type application within the term"}}}]}}}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.model.Name"},
                      "annotation": {
                        "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the undefined type variable"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.UndefinedTypeVariableInTypeApplicationError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "location",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.paths.SubtermPath"},
                        "annotation": {
                          "map": [
                            {
                              "key": {"variable": "description"},
                              "value": {"literal": {"string": "The path to the type application within the term"}}}]}}}}},
                "body": {
                  "lambda": {
                    "parameter": "name",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.model.Name"},
                            "annotation": {
                              "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the undefined type variable"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {
                                          "typeName": "hydra.core.model.Name",
                                          "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "location"}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "name"}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL constructor for hydra.core.error.model.UndefinedTypeVariableInTypeApplicationError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.undefinedTypeVariableInTypeApplicationErrorLocation",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.UndefinedTypeVariableInTypeApplicationError"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"variable": "hydra.core.paths.SubtermPath"},
                    "annotation": {
                      "map": [
                        {
                          "key": {"variable": "description"},
                          "value": {"literal": {"string": "The path to the type application within the term"}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.UndefinedTypeVariableInTypeApplicationError"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {
                                                  "wrap": {
                                                    "typeName": "hydra.core.model.Name",
                                                    "body": {"literal": {"string": "hydra.core.error.model.UndefinedTypeVariableInTypeApplicationError"}}}}},
                                              {
                                                "name": "fieldName",
                                                "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {
                    "literal": {"string": "DSL accessor for the location field of hydra.core.error.model.UndefinedTypeVariableInTypeApplicationError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.undefinedTypeVariableInTypeApplicationErrorName",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.UndefinedTypeVariableInTypeApplicationError"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"variable": "hydra.core.model.Name"},
                    "annotation": {
                      "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the undefined type variable"}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.UndefinedTypeVariableInTypeApplicationError"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {
                                                  "wrap": {
                                                    "typeName": "hydra.core.model.Name",
                                                    "body": {"literal": {"string": "hydra.core.error.model.UndefinedTypeVariableInTypeApplicationError"}}}}},
                                              {"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {
                    "literal": {"string": "DSL accessor for the name field of hydra.core.error.model.UndefinedTypeVariableInTypeApplicationError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.undefinedTypeVariableInTypeApplicationErrorWithLocation",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.UndefinedTypeVariableInTypeApplicationError"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.paths.SubtermPath"},
                      "annotation": {
                        "map": [
                          {
                            "key": {"variable": "description"},
                            "value": {"literal": {"string": "The path to the type application within the term"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.UndefinedTypeVariableInTypeApplicationError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.UndefinedTypeVariableInTypeApplicationError"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.paths.SubtermPath"},
                            "annotation": {
                              "map": [
                                {
                                  "key": {"variable": "description"},
                                  "value": {"literal": {"string": "The path to the type application within the term"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {
                                          "typeName": "hydra.core.model.Name",
                                          "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {
                                                                                  "typeName": "hydra.core.model.Name",
                                                                                  "body": {"literal": {"string": "hydra.core.error.model.UndefinedTypeVariableInTypeApplicationError"}}}}},
                                                                            {"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {
                    "literal": {"string": "DSL updater for the location field of hydra.core.error.model.UndefinedTypeVariableInTypeApplicationError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.undefinedTypeVariableInTypeApplicationErrorWithName",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.UndefinedTypeVariableInTypeApplicationError"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.model.Name"},
                      "annotation": {
                        "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the undefined type variable"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.UndefinedTypeVariableInTypeApplicationError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.UndefinedTypeVariableInTypeApplicationError"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.model.Name"},
                            "annotation": {
                              "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the undefined type variable"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {
                                          "typeName": "hydra.core.model.Name",
                                          "body": {"literal": {"string": "hydra.core.error.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": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {
                                                                                  "typeName": "hydra.core.model.Name",
                                                                                  "body": {"literal": {"string": "hydra.core.error.model.UndefinedTypeVariableInTypeApplicationError"}}}}},
                                                                            {
                                                                              "name": "fieldName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {
                    "literal": {"string": "DSL updater for the name field of hydra.core.error.model.UndefinedTypeVariableInTypeApplicationError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.unexpectedTermVariantErrorUnexpectedTermVariantError",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedName"},
                "argument": {"variable": "hydra.core.error.model.UnexpectedTermVariantError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "wrap": {
                "typeName": "hydra.core.typed.TypedName",
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.model.Name",
                    "body": {"literal": {"string": "hydra.core.error.model.UnexpectedTermVariantError"}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL name token for hydra.core.error.model.UnexpectedTermVariantError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.unexpectedTermVariantError",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.variants.TermVariant"},
                      "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The expected term variant"}}}]}}}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.model.Term"},
                      "annotation": {
                        "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The actual term that was encountered"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.UnexpectedTermVariantError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "expectedVariant",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.variants.TermVariant"},
                        "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The expected term variant"}}}]}}}}},
                "body": {
                  "lambda": {
                    "parameter": "actualTerm",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.model.Term"},
                            "annotation": {
                              "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The actual term that was encountered"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {
                                          "typeName": "hydra.core.model.Name",
                                          "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "expectedVariant"}}}}]}},
                                          {
                                            "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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "actualTerm"}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL constructor for hydra.core.error.model.UnexpectedTermVariantError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.unexpectedTermVariantErrorExpectedVariant",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.UnexpectedTermVariantError"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"variable": "hydra.core.variants.TermVariant"},
                    "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The expected term variant"}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.UnexpectedTermVariantError"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {
                                                  "wrap": {
                                                    "typeName": "hydra.core.model.Name",
                                                    "body": {"literal": {"string": "hydra.core.error.model.UnexpectedTermVariantError"}}}}},
                                              {
                                                "name": "fieldName",
                                                "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "expectedVariant"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {
                    "literal": {"string": "DSL accessor for the expectedVariant field of hydra.core.error.model.UnexpectedTermVariantError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.unexpectedTermVariantErrorActualTerm",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.UnexpectedTermVariantError"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"variable": "hydra.core.model.Term"},
                    "annotation": {
                      "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The actual term that was encountered"}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.UnexpectedTermVariantError"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {
                                                  "wrap": {
                                                    "typeName": "hydra.core.model.Name",
                                                    "body": {"literal": {"string": "hydra.core.error.model.UnexpectedTermVariantError"}}}}},
                                              {
                                                "name": "fieldName",
                                                "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "actualTerm"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL accessor for the actualTerm field of hydra.core.error.model.UnexpectedTermVariantError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.unexpectedTermVariantErrorWithExpectedVariant",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.UnexpectedTermVariantError"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.variants.TermVariant"},
                      "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The expected term variant"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.UnexpectedTermVariantError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.UnexpectedTermVariantError"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.variants.TermVariant"},
                            "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The expected term variant"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {
                                          "typeName": "hydra.core.model.Name",
                                          "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "actualTerm"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {
                                                                                  "typeName": "hydra.core.model.Name",
                                                                                  "body": {"literal": {"string": "hydra.core.error.model.UnexpectedTermVariantError"}}}}},
                                                                            {
                                                                              "name": "fieldName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "actualTerm"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {
                    "literal": {"string": "DSL updater for the expectedVariant field of hydra.core.error.model.UnexpectedTermVariantError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.unexpectedTermVariantErrorWithActualTerm",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.UnexpectedTermVariantError"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.model.Term"},
                      "annotation": {
                        "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The actual term that was encountered"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.UnexpectedTermVariantError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.UnexpectedTermVariantError"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.model.Term"},
                            "annotation": {
                              "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The actual term that was encountered"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {
                                          "typeName": "hydra.core.model.Name",
                                          "body": {"literal": {"string": "hydra.core.error.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": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {
                                                                                  "typeName": "hydra.core.model.Name",
                                                                                  "body": {"literal": {"string": "hydra.core.error.model.UnexpectedTermVariantError"}}}}},
                                                                            {
                                                                              "name": "fieldName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "expectedVariant"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "actualTerm"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL updater for the actualTerm field of hydra.core.error.model.UnexpectedTermVariantError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.unexpectedTypeVariantErrorUnexpectedTypeVariantError",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedName"},
                "argument": {"variable": "hydra.core.error.model.UnexpectedTypeVariantError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "wrap": {
                "typeName": "hydra.core.typed.TypedName",
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.model.Name",
                    "body": {"literal": {"string": "hydra.core.error.model.UnexpectedTypeVariantError"}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL name token for hydra.core.error.model.UnexpectedTypeVariantError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.unexpectedTypeVariantError",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.variants.TypeVariant"},
                      "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The expected type variant"}}}]}}}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.model.Type"},
                      "annotation": {
                        "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The actual type that was encountered"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.UnexpectedTypeVariantError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "expectedVariant",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.variants.TypeVariant"},
                        "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The expected type variant"}}}]}}}}},
                "body": {
                  "lambda": {
                    "parameter": "actualType",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.model.Type"},
                            "annotation": {
                              "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The actual type that was encountered"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {
                                          "typeName": "hydra.core.model.Name",
                                          "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "expectedVariant"}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "actualType"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "actualType"}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL constructor for hydra.core.error.model.UnexpectedTypeVariantError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.unexpectedTypeVariantErrorExpectedVariant",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.UnexpectedTypeVariantError"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"variable": "hydra.core.variants.TypeVariant"},
                    "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The expected type variant"}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.UnexpectedTypeVariantError"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {
                                                  "wrap": {
                                                    "typeName": "hydra.core.model.Name",
                                                    "body": {"literal": {"string": "hydra.core.error.model.UnexpectedTypeVariantError"}}}}},
                                              {
                                                "name": "fieldName",
                                                "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "expectedVariant"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {
                    "literal": {"string": "DSL accessor for the expectedVariant field of hydra.core.error.model.UnexpectedTypeVariantError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.unexpectedTypeVariantErrorActualType",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.UnexpectedTypeVariantError"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"variable": "hydra.core.model.Type"},
                    "annotation": {
                      "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The actual type that was encountered"}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.UnexpectedTypeVariantError"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {
                                                  "wrap": {
                                                    "typeName": "hydra.core.model.Name",
                                                    "body": {"literal": {"string": "hydra.core.error.model.UnexpectedTypeVariantError"}}}}},
                                              {
                                                "name": "fieldName",
                                                "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "actualType"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL accessor for the actualType field of hydra.core.error.model.UnexpectedTypeVariantError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.unexpectedTypeVariantErrorWithExpectedVariant",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.UnexpectedTypeVariantError"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.variants.TypeVariant"},
                      "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The expected type variant"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.UnexpectedTypeVariantError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.UnexpectedTypeVariantError"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.variants.TypeVariant"},
                            "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The expected type variant"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {
                                          "typeName": "hydra.core.model.Name",
                                          "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "actualType"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {
                                                                                  "typeName": "hydra.core.model.Name",
                                                                                  "body": {"literal": {"string": "hydra.core.error.model.UnexpectedTypeVariantError"}}}}},
                                                                            {
                                                                              "name": "fieldName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "actualType"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {
                    "literal": {"string": "DSL updater for the expectedVariant field of hydra.core.error.model.UnexpectedTypeVariantError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.unexpectedTypeVariantErrorWithActualType",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.UnexpectedTypeVariantError"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.model.Type"},
                      "annotation": {
                        "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The actual type that was encountered"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.UnexpectedTypeVariantError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.UnexpectedTypeVariantError"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.model.Type"},
                            "annotation": {
                              "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The actual type that was encountered"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {
                                          "typeName": "hydra.core.model.Name",
                                          "body": {"literal": {"string": "hydra.core.error.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": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {
                                                                                  "typeName": "hydra.core.model.Name",
                                                                                  "body": {"literal": {"string": "hydra.core.error.model.UnexpectedTypeVariantError"}}}}},
                                                                            {
                                                                              "name": "fieldName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "expectedVariant"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "actualType"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL updater for the actualType field of hydra.core.error.model.UnexpectedTypeVariantError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.unknownCaseAlternativeErrorUnknownCaseAlternativeError",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedName"},
                "argument": {"variable": "hydra.core.error.model.UnknownCaseAlternativeError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "wrap": {
                "typeName": "hydra.core.typed.TypedName",
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.model.Name",
                    "body": {"literal": {"string": "hydra.core.error.model.UnknownCaseAlternativeError"}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL name token for hydra.core.error.model.UnknownCaseAlternativeError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.unknownCaseAlternativeError",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.paths.SubtermPath"},
                      "annotation": {
                        "map": [
                          {"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the case statement within the term"}}}]}}}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.model.Name"},
                      "annotation": {
                        "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the union type being matched"}}}]}}}}},
              "isLazy": false},
            {
              "name": "arg2",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.model.Name"},
                      "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The unknown alternative name"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.UnknownCaseAlternativeError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "location",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.paths.SubtermPath"},
                        "annotation": {
                          "map": [
                            {"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the case statement within the term"}}}]}}}}},
                "body": {
                  "lambda": {
                    "parameter": "typeName",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.model.Name"},
                            "annotation": {
                              "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the union type being matched"}}}]}}}}},
                    "body": {
                      "lambda": {
                        "parameter": "name",
                        "domain": {
                          "application": {
                            "function": {"variable": "hydra.core.typed.TypedTerm"},
                            "argument": {
                              "annotated": {
                                "body": {"variable": "hydra.core.model.Name"},
                                "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The unknown alternative name"}}}]}}}}},
                        "body": {
                          "wrap": {
                            "typeName": "hydra.core.typed.TypedTerm",
                            "body": {
                              "inject": {
                                "typeName": "hydra.core.model.Term",
                                "field": {
                                  "name": "record",
                                  "term": {
                                    "record": {
                                      "typeName": "hydra.core.model.Record",
                                      "fields": [
                                        {
                                          "name": "typeName",
                                          "term": {
                                            "wrap": {
                                              "typeName": "hydra.core.model.Name",
                                              "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "location"}}}}]}},
                                              {
                                                "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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "typeName"}}}}]}},
                                              {
                                                "record": {
                                                  "typeName": "hydra.core.model.Field",
                                                  "fields": [
                                                    {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}},
                                                    {
                                                      "name": "term",
                                                      "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "name"}}}}]}}]}}]}}}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL constructor for hydra.core.error.model.UnknownCaseAlternativeError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.unknownCaseAlternativeErrorLocation",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.UnknownCaseAlternativeError"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"variable": "hydra.core.paths.SubtermPath"},
                    "annotation": {
                      "map": [
                        {"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the case statement within the term"}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.UnknownCaseAlternativeError"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {
                                                  "wrap": {
                                                    "typeName": "hydra.core.model.Name",
                                                    "body": {"literal": {"string": "hydra.core.error.model.UnknownCaseAlternativeError"}}}}},
                                              {
                                                "name": "fieldName",
                                                "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL accessor for the location field of hydra.core.error.model.UnknownCaseAlternativeError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.unknownCaseAlternativeErrorTypeName",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.UnknownCaseAlternativeError"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"variable": "hydra.core.model.Name"},
                    "annotation": {
                      "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the union type being matched"}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.UnknownCaseAlternativeError"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {
                                                  "wrap": {
                                                    "typeName": "hydra.core.model.Name",
                                                    "body": {"literal": {"string": "hydra.core.error.model.UnknownCaseAlternativeError"}}}}},
                                              {
                                                "name": "fieldName",
                                                "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeName"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL accessor for the typeName field of hydra.core.error.model.UnknownCaseAlternativeError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.unknownCaseAlternativeErrorName",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.UnknownCaseAlternativeError"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"variable": "hydra.core.model.Name"},
                    "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The unknown alternative name"}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.UnknownCaseAlternativeError"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {
                                                  "wrap": {
                                                    "typeName": "hydra.core.model.Name",
                                                    "body": {"literal": {"string": "hydra.core.error.model.UnknownCaseAlternativeError"}}}}},
                                              {"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL accessor for the name field of hydra.core.error.model.UnknownCaseAlternativeError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.unknownCaseAlternativeErrorWithLocation",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.UnknownCaseAlternativeError"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.paths.SubtermPath"},
                      "annotation": {
                        "map": [
                          {"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the case statement within the term"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.UnknownCaseAlternativeError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.UnknownCaseAlternativeError"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.paths.SubtermPath"},
                            "annotation": {
                              "map": [
                                {"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the case statement within the term"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {
                                          "typeName": "hydra.core.model.Name",
                                          "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeName"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {
                                                                                  "typeName": "hydra.core.model.Name",
                                                                                  "body": {"literal": {"string": "hydra.core.error.model.UnknownCaseAlternativeError"}}}}},
                                                                            {
                                                                              "name": "fieldName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeName"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {
                                                                                  "typeName": "hydra.core.model.Name",
                                                                                  "body": {"literal": {"string": "hydra.core.error.model.UnknownCaseAlternativeError"}}}}},
                                                                            {"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL updater for the location field of hydra.core.error.model.UnknownCaseAlternativeError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.unknownCaseAlternativeErrorWithTypeName",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.UnknownCaseAlternativeError"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.model.Name"},
                      "annotation": {
                        "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the union type being matched"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.UnknownCaseAlternativeError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.UnknownCaseAlternativeError"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.model.Name"},
                            "annotation": {
                              "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the union type being matched"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {
                                          "typeName": "hydra.core.model.Name",
                                          "body": {"literal": {"string": "hydra.core.error.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": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {
                                                                                  "typeName": "hydra.core.model.Name",
                                                                                  "body": {"literal": {"string": "hydra.core.error.model.UnknownCaseAlternativeError"}}}}},
                                                                            {
                                                                              "name": "fieldName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeName"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {
                                                                                  "typeName": "hydra.core.model.Name",
                                                                                  "body": {"literal": {"string": "hydra.core.error.model.UnknownCaseAlternativeError"}}}}},
                                                                            {"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL updater for the typeName field of hydra.core.error.model.UnknownCaseAlternativeError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.unknownCaseAlternativeErrorWithName",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.UnknownCaseAlternativeError"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.model.Name"},
                      "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The unknown alternative name"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.UnknownCaseAlternativeError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.UnknownCaseAlternativeError"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.model.Name"},
                            "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The unknown alternative name"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {
                                          "typeName": "hydra.core.model.Name",
                                          "body": {"literal": {"string": "hydra.core.error.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": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {
                                                                                  "typeName": "hydra.core.model.Name",
                                                                                  "body": {"literal": {"string": "hydra.core.error.model.UnknownCaseAlternativeError"}}}}},
                                                                            {
                                                                              "name": "fieldName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeName"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {
                                                                                  "typeName": "hydra.core.model.Name",
                                                                                  "body": {"literal": {"string": "hydra.core.error.model.UnknownCaseAlternativeError"}}}}},
                                                                            {
                                                                              "name": "fieldName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeName"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL updater for the name field of hydra.core.error.model.UnknownCaseAlternativeError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.unknownPrimitiveNameErrorUnknownPrimitiveNameError",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedName"},
                "argument": {"variable": "hydra.core.error.model.UnknownPrimitiveNameError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "wrap": {
                "typeName": "hydra.core.typed.TypedName",
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.model.Name",
                    "body": {"literal": {"string": "hydra.core.error.model.UnknownPrimitiveNameError"}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL name token for hydra.core.error.model.UnknownPrimitiveNameError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.unknownPrimitiveNameError",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.paths.SubtermPath"},
                      "annotation": {
                        "map": [
                          {
                            "key": {"variable": "description"},
                            "value": {"literal": {"string": "The path to the primitive reference within the term"}}}]}}}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.model.Name"},
                      "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The unknown primitive name"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.UnknownPrimitiveNameError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "location",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.paths.SubtermPath"},
                        "annotation": {
                          "map": [
                            {
                              "key": {"variable": "description"},
                              "value": {"literal": {"string": "The path to the primitive reference within the term"}}}]}}}}},
                "body": {
                  "lambda": {
                    "parameter": "name",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.model.Name"},
                            "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The unknown primitive name"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {
                                          "typeName": "hydra.core.model.Name",
                                          "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "location"}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "name"}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL constructor for hydra.core.error.model.UnknownPrimitiveNameError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.unknownPrimitiveNameErrorLocation",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.UnknownPrimitiveNameError"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"variable": "hydra.core.paths.SubtermPath"},
                    "annotation": {
                      "map": [
                        {
                          "key": {"variable": "description"},
                          "value": {"literal": {"string": "The path to the primitive reference within the term"}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.UnknownPrimitiveNameError"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {
                                                  "wrap": {
                                                    "typeName": "hydra.core.model.Name",
                                                    "body": {"literal": {"string": "hydra.core.error.model.UnknownPrimitiveNameError"}}}}},
                                              {
                                                "name": "fieldName",
                                                "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL accessor for the location field of hydra.core.error.model.UnknownPrimitiveNameError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.unknownPrimitiveNameErrorName",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.UnknownPrimitiveNameError"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"variable": "hydra.core.model.Name"},
                    "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The unknown primitive name"}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.UnknownPrimitiveNameError"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {
                                                  "wrap": {
                                                    "typeName": "hydra.core.model.Name",
                                                    "body": {"literal": {"string": "hydra.core.error.model.UnknownPrimitiveNameError"}}}}},
                                              {"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL accessor for the name field of hydra.core.error.model.UnknownPrimitiveNameError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.unknownPrimitiveNameErrorWithLocation",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.UnknownPrimitiveNameError"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.paths.SubtermPath"},
                      "annotation": {
                        "map": [
                          {
                            "key": {"variable": "description"},
                            "value": {"literal": {"string": "The path to the primitive reference within the term"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.UnknownPrimitiveNameError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.UnknownPrimitiveNameError"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.paths.SubtermPath"},
                            "annotation": {
                              "map": [
                                {
                                  "key": {"variable": "description"},
                                  "value": {"literal": {"string": "The path to the primitive reference within the term"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {
                                          "typeName": "hydra.core.model.Name",
                                          "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {
                                                                                  "typeName": "hydra.core.model.Name",
                                                                                  "body": {"literal": {"string": "hydra.core.error.model.UnknownPrimitiveNameError"}}}}},
                                                                            {"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL updater for the location field of hydra.core.error.model.UnknownPrimitiveNameError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.unknownPrimitiveNameErrorWithName",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.UnknownPrimitiveNameError"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.model.Name"},
                      "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The unknown primitive name"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.UnknownPrimitiveNameError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.UnknownPrimitiveNameError"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.model.Name"},
                            "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The unknown primitive name"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {
                                          "typeName": "hydra.core.model.Name",
                                          "body": {"literal": {"string": "hydra.core.error.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": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {
                                                                                  "typeName": "hydra.core.model.Name",
                                                                                  "body": {"literal": {"string": "hydra.core.error.model.UnknownPrimitiveNameError"}}}}},
                                                                            {
                                                                              "name": "fieldName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL updater for the name field of hydra.core.error.model.UnknownPrimitiveNameError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.unknownProjectedFieldErrorUnknownProjectedFieldError",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedName"},
                "argument": {"variable": "hydra.core.error.model.UnknownProjectedFieldError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "wrap": {
                "typeName": "hydra.core.typed.TypedName",
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.model.Name",
                    "body": {"literal": {"string": "hydra.core.error.model.UnknownProjectedFieldError"}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL name token for hydra.core.error.model.UnknownProjectedFieldError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.unknownProjectedFieldError",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.paths.SubtermPath"},
                      "annotation": {
                        "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the projection within the term"}}}]}}}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.model.Name"},
                      "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the record type"}}}]}}}}},
              "isLazy": false},
            {
              "name": "arg2",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.model.Name"},
                      "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The unknown projected field name"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.UnknownProjectedFieldError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "location",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.paths.SubtermPath"},
                        "annotation": {
                          "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the projection within the term"}}}]}}}}},
                "body": {
                  "lambda": {
                    "parameter": "typeName",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.model.Name"},
                            "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the record type"}}}]}}}}},
                    "body": {
                      "lambda": {
                        "parameter": "fieldName",
                        "domain": {
                          "application": {
                            "function": {"variable": "hydra.core.typed.TypedTerm"},
                            "argument": {
                              "annotated": {
                                "body": {"variable": "hydra.core.model.Name"},
                                "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The unknown projected field name"}}}]}}}}},
                        "body": {
                          "wrap": {
                            "typeName": "hydra.core.typed.TypedTerm",
                            "body": {
                              "inject": {
                                "typeName": "hydra.core.model.Term",
                                "field": {
                                  "name": "record",
                                  "term": {
                                    "record": {
                                      "typeName": "hydra.core.model.Record",
                                      "fields": [
                                        {
                                          "name": "typeName",
                                          "term": {
                                            "wrap": {
                                              "typeName": "hydra.core.model.Name",
                                              "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "location"}}}}]}},
                                              {
                                                "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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "typeName"}}}}]}},
                                              {
                                                "record": {
                                                  "typeName": "hydra.core.model.Field",
                                                  "fields": [
                                                    {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "fieldName"}}}}},
                                                    {
                                                      "name": "term",
                                                      "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "fieldName"}}}}]}}]}}]}}}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL constructor for hydra.core.error.model.UnknownProjectedFieldError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.unknownProjectedFieldErrorLocation",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.UnknownProjectedFieldError"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"variable": "hydra.core.paths.SubtermPath"},
                    "annotation": {
                      "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the projection within the term"}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.UnknownProjectedFieldError"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {
                                                  "wrap": {
                                                    "typeName": "hydra.core.model.Name",
                                                    "body": {"literal": {"string": "hydra.core.error.model.UnknownProjectedFieldError"}}}}},
                                              {
                                                "name": "fieldName",
                                                "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL accessor for the location field of hydra.core.error.model.UnknownProjectedFieldError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.unknownProjectedFieldErrorTypeName",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.UnknownProjectedFieldError"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"variable": "hydra.core.model.Name"},
                    "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the record type"}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.UnknownProjectedFieldError"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {
                                                  "wrap": {
                                                    "typeName": "hydra.core.model.Name",
                                                    "body": {"literal": {"string": "hydra.core.error.model.UnknownProjectedFieldError"}}}}},
                                              {
                                                "name": "fieldName",
                                                "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeName"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL accessor for the typeName field of hydra.core.error.model.UnknownProjectedFieldError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.unknownProjectedFieldErrorFieldName",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.UnknownProjectedFieldError"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"variable": "hydra.core.model.Name"},
                    "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The unknown projected field name"}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.UnknownProjectedFieldError"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {
                                                  "wrap": {
                                                    "typeName": "hydra.core.model.Name",
                                                    "body": {"literal": {"string": "hydra.core.error.model.UnknownProjectedFieldError"}}}}},
                                              {
                                                "name": "fieldName",
                                                "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "fieldName"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL accessor for the fieldName field of hydra.core.error.model.UnknownProjectedFieldError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.unknownProjectedFieldErrorWithLocation",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.UnknownProjectedFieldError"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.paths.SubtermPath"},
                      "annotation": {
                        "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the projection within the term"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.UnknownProjectedFieldError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.UnknownProjectedFieldError"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.paths.SubtermPath"},
                            "annotation": {
                              "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path to the projection within the term"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {
                                          "typeName": "hydra.core.model.Name",
                                          "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeName"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {
                                                                                  "typeName": "hydra.core.model.Name",
                                                                                  "body": {"literal": {"string": "hydra.core.error.model.UnknownProjectedFieldError"}}}}},
                                                                            {
                                                                              "name": "fieldName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeName"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "fieldName"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {
                                                                                  "typeName": "hydra.core.model.Name",
                                                                                  "body": {"literal": {"string": "hydra.core.error.model.UnknownProjectedFieldError"}}}}},
                                                                            {
                                                                              "name": "fieldName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "fieldName"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL updater for the location field of hydra.core.error.model.UnknownProjectedFieldError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.unknownProjectedFieldErrorWithTypeName",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.UnknownProjectedFieldError"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.model.Name"},
                      "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the record type"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.UnknownProjectedFieldError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.UnknownProjectedFieldError"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.model.Name"},
                            "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the record type"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {
                                          "typeName": "hydra.core.model.Name",
                                          "body": {"literal": {"string": "hydra.core.error.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": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {
                                                                                  "typeName": "hydra.core.model.Name",
                                                                                  "body": {"literal": {"string": "hydra.core.error.model.UnknownProjectedFieldError"}}}}},
                                                                            {
                                                                              "name": "fieldName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeName"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "fieldName"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {
                                                                                  "typeName": "hydra.core.model.Name",
                                                                                  "body": {"literal": {"string": "hydra.core.error.model.UnknownProjectedFieldError"}}}}},
                                                                            {
                                                                              "name": "fieldName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "fieldName"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL updater for the typeName field of hydra.core.error.model.UnknownProjectedFieldError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.unknownProjectedFieldErrorWithFieldName",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.UnknownProjectedFieldError"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.model.Name"},
                      "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The unknown projected field name"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.UnknownProjectedFieldError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.UnknownProjectedFieldError"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.model.Name"},
                            "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The unknown projected field name"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {
                                          "typeName": "hydra.core.model.Name",
                                          "body": {"literal": {"string": "hydra.core.error.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": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {
                                                                                  "typeName": "hydra.core.model.Name",
                                                                                  "body": {"literal": {"string": "hydra.core.error.model.UnknownProjectedFieldError"}}}}},
                                                                            {
                                                                              "name": "fieldName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeName"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {
                                                                                  "typeName": "hydra.core.model.Name",
                                                                                  "body": {"literal": {"string": "hydra.core.error.model.UnknownProjectedFieldError"}}}}},
                                                                            {
                                                                              "name": "fieldName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeName"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "fieldName"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL updater for the fieldName field of hydra.core.error.model.UnknownProjectedFieldError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.unnecessaryIdentityApplicationErrorUnnecessaryIdentityApplicationError",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedName"},
                "argument": {"variable": "hydra.core.error.model.UnnecessaryIdentityApplicationError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "wrap": {
                "typeName": "hydra.core.typed.TypedName",
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.model.Name",
                    "body": {"literal": {"string": "hydra.core.error.model.UnnecessaryIdentityApplicationError"}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL name token for hydra.core.error.model.UnnecessaryIdentityApplicationError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.unnecessaryIdentityApplicationError",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.paths.SubtermPath"},
                      "annotation": {
                        "map": [
                          {
                            "key": {"variable": "description"},
                            "value": {"literal": {"string": "The path to the identity application within the term"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.UnnecessaryIdentityApplicationError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "location",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.paths.SubtermPath"},
                        "annotation": {
                          "map": [
                            {
                              "key": {"variable": "description"},
                              "value": {"literal": {"string": "The path to the identity application within the term"}}}]}}}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "record",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Record",
                              "fields": [
                                {
                                  "name": "typeName",
                                  "term": {
                                    "wrap": {
                                      "typeName": "hydra.core.model.Name",
                                      "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "location"}}}}]}}]}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL constructor for hydra.core.error.model.UnnecessaryIdentityApplicationError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.unnecessaryIdentityApplicationErrorLocation",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.UnnecessaryIdentityApplicationError"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"variable": "hydra.core.paths.SubtermPath"},
                    "annotation": {
                      "map": [
                        {
                          "key": {"variable": "description"},
                          "value": {"literal": {"string": "The path to the identity application within the term"}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.UnnecessaryIdentityApplicationError"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {
                                                  "wrap": {
                                                    "typeName": "hydra.core.model.Name",
                                                    "body": {"literal": {"string": "hydra.core.error.model.UnnecessaryIdentityApplicationError"}}}}},
                                              {
                                                "name": "fieldName",
                                                "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {
                    "literal": {"string": "DSL accessor for the location field of hydra.core.error.model.UnnecessaryIdentityApplicationError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.unnecessaryIdentityApplicationErrorWithLocation",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.UnnecessaryIdentityApplicationError"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.paths.SubtermPath"},
                      "annotation": {
                        "map": [
                          {
                            "key": {"variable": "description"},
                            "value": {"literal": {"string": "The path to the identity application within the term"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.UnnecessaryIdentityApplicationError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.UnnecessaryIdentityApplicationError"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.paths.SubtermPath"},
                            "annotation": {
                              "map": [
                                {
                                  "key": {"variable": "description"},
                                  "value": {"literal": {"string": "The path to the identity application within the term"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {
                                          "typeName": "hydra.core.model.Name",
                                          "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {
                    "literal": {"string": "DSL updater for the location field of hydra.core.error.model.UnnecessaryIdentityApplicationError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.unresolvedNominalTypeErrorUnresolvedNominalTypeError",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedName"},
                "argument": {"variable": "hydra.core.error.model.UnresolvedNominalTypeError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "wrap": {
                "typeName": "hydra.core.typed.TypedName",
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.model.Name",
                    "body": {"literal": {"string": "hydra.core.error.model.UnresolvedNominalTypeError"}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL name token for hydra.core.error.model.UnresolvedNominalTypeError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.unresolvedNominalTypeError",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.paths.SubtermPath"},
                      "annotation": {
                        "map": [
                          {
                            "key": {"variable": "description"},
                            "value": {"literal": {"string": "The path to the term with the unresolved nominal type reference"}}}]}}}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.model.Name"},
                      "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The unresolved type name"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.UnresolvedNominalTypeError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "location",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.paths.SubtermPath"},
                        "annotation": {
                          "map": [
                            {
                              "key": {"variable": "description"},
                              "value": {"literal": {"string": "The path to the term with the unresolved nominal type reference"}}}]}}}}},
                "body": {
                  "lambda": {
                    "parameter": "typeName",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.model.Name"},
                            "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The unresolved type name"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {
                                          "typeName": "hydra.core.model.Name",
                                          "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "location"}}}}]}},
                                          {
                                            "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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "typeName"}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL constructor for hydra.core.error.model.UnresolvedNominalTypeError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.unresolvedNominalTypeErrorLocation",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.UnresolvedNominalTypeError"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"variable": "hydra.core.paths.SubtermPath"},
                    "annotation": {
                      "map": [
                        {
                          "key": {"variable": "description"},
                          "value": {"literal": {"string": "The path to the term with the unresolved nominal type reference"}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.UnresolvedNominalTypeError"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {
                                                  "wrap": {
                                                    "typeName": "hydra.core.model.Name",
                                                    "body": {"literal": {"string": "hydra.core.error.model.UnresolvedNominalTypeError"}}}}},
                                              {
                                                "name": "fieldName",
                                                "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL accessor for the location field of hydra.core.error.model.UnresolvedNominalTypeError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.unresolvedNominalTypeErrorTypeName",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.UnresolvedNominalTypeError"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"variable": "hydra.core.model.Name"},
                    "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The unresolved type name"}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.UnresolvedNominalTypeError"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {
                                                  "wrap": {
                                                    "typeName": "hydra.core.model.Name",
                                                    "body": {"literal": {"string": "hydra.core.error.model.UnresolvedNominalTypeError"}}}}},
                                              {
                                                "name": "fieldName",
                                                "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeName"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL accessor for the typeName field of hydra.core.error.model.UnresolvedNominalTypeError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.unresolvedNominalTypeErrorWithLocation",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.UnresolvedNominalTypeError"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.paths.SubtermPath"},
                      "annotation": {
                        "map": [
                          {
                            "key": {"variable": "description"},
                            "value": {"literal": {"string": "The path to the term with the unresolved nominal type reference"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.UnresolvedNominalTypeError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.UnresolvedNominalTypeError"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.paths.SubtermPath"},
                            "annotation": {
                              "map": [
                                {
                                  "key": {"variable": "description"},
                                  "value": {"literal": {"string": "The path to the term with the unresolved nominal type reference"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {
                                          "typeName": "hydra.core.model.Name",
                                          "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeName"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {
                                                                                  "typeName": "hydra.core.model.Name",
                                                                                  "body": {"literal": {"string": "hydra.core.error.model.UnresolvedNominalTypeError"}}}}},
                                                                            {
                                                                              "name": "fieldName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeName"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL updater for the location field of hydra.core.error.model.UnresolvedNominalTypeError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.unresolvedNominalTypeErrorWithTypeName",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.UnresolvedNominalTypeError"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.model.Name"},
                      "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The unresolved type name"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.UnresolvedNominalTypeError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.UnresolvedNominalTypeError"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.model.Name"},
                            "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The unresolved type name"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {
                                          "typeName": "hydra.core.model.Name",
                                          "body": {"literal": {"string": "hydra.core.error.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": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {
                                                                                  "typeName": "hydra.core.model.Name",
                                                                                  "body": {"literal": {"string": "hydra.core.error.model.UnresolvedNominalTypeError"}}}}},
                                                                            {
                                                                              "name": "fieldName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeName"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL updater for the typeName field of hydra.core.error.model.UnresolvedNominalTypeError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.untypedTermVariableErrorUntypedTermVariableError",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedName"},
                "argument": {"variable": "hydra.core.error.model.UntypedTermVariableError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "wrap": {
                "typeName": "hydra.core.typed.TypedName",
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.model.Name",
                    "body": {"literal": {"string": "hydra.core.error.model.UntypedTermVariableError"}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL name token for hydra.core.error.model.UntypedTermVariableError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.untypedTermVariableError",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.paths.SubtermPath"},
                      "annotation": {
                        "map": [
                          {
                            "key": {"variable": "description"},
                            "value": {"literal": {"string": "The path to the untyped variable within the term"}}}]}}}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.model.Name"},
                      "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the untyped variable"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.UntypedTermVariableError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "location",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.paths.SubtermPath"},
                        "annotation": {
                          "map": [
                            {
                              "key": {"variable": "description"},
                              "value": {"literal": {"string": "The path to the untyped variable within the term"}}}]}}}}},
                "body": {
                  "lambda": {
                    "parameter": "name",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.model.Name"},
                            "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the untyped variable"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {
                                          "typeName": "hydra.core.model.Name",
                                          "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "location"}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "name"}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL constructor for hydra.core.error.model.UntypedTermVariableError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.untypedTermVariableErrorLocation",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.UntypedTermVariableError"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"variable": "hydra.core.paths.SubtermPath"},
                    "annotation": {
                      "map": [
                        {
                          "key": {"variable": "description"},
                          "value": {"literal": {"string": "The path to the untyped variable within the term"}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.UntypedTermVariableError"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {
                                                  "wrap": {
                                                    "typeName": "hydra.core.model.Name",
                                                    "body": {"literal": {"string": "hydra.core.error.model.UntypedTermVariableError"}}}}},
                                              {
                                                "name": "fieldName",
                                                "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL accessor for the location field of hydra.core.error.model.UntypedTermVariableError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.untypedTermVariableErrorName",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.UntypedTermVariableError"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"variable": "hydra.core.model.Name"},
                    "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the untyped variable"}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.UntypedTermVariableError"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {
                                                  "wrap": {
                                                    "typeName": "hydra.core.model.Name",
                                                    "body": {"literal": {"string": "hydra.core.error.model.UntypedTermVariableError"}}}}},
                                              {"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL accessor for the name field of hydra.core.error.model.UntypedTermVariableError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.untypedTermVariableErrorWithLocation",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.UntypedTermVariableError"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.paths.SubtermPath"},
                      "annotation": {
                        "map": [
                          {
                            "key": {"variable": "description"},
                            "value": {"literal": {"string": "The path to the untyped variable within the term"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.UntypedTermVariableError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.UntypedTermVariableError"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.paths.SubtermPath"},
                            "annotation": {
                              "map": [
                                {
                                  "key": {"variable": "description"},
                                  "value": {"literal": {"string": "The path to the untyped variable within the term"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {
                                          "typeName": "hydra.core.model.Name",
                                          "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {
                                                                                  "typeName": "hydra.core.model.Name",
                                                                                  "body": {"literal": {"string": "hydra.core.error.model.UntypedTermVariableError"}}}}},
                                                                            {"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL updater for the location field of hydra.core.error.model.UntypedTermVariableError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.untypedTermVariableErrorWithName",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.UntypedTermVariableError"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.model.Name"},
                      "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the untyped variable"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.UntypedTermVariableError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.UntypedTermVariableError"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.model.Name"},
                            "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name of the untyped variable"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {
                                          "typeName": "hydra.core.model.Name",
                                          "body": {"literal": {"string": "hydra.core.error.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": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {
                                                                                "wrap": {
                                                                                  "typeName": "hydra.core.model.Name",
                                                                                  "body": {"literal": {"string": "hydra.core.error.model.UntypedTermVariableError"}}}}},
                                                                            {
                                                                              "name": "fieldName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL updater for the name field of hydra.core.error.model.UntypedTermVariableError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.voidInNonBottomPositionErrorVoidInNonBottomPositionError",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedName"},
                "argument": {"variable": "hydra.core.error.model.VoidInNonBottomPositionError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "wrap": {
                "typeName": "hydra.core.typed.TypedName",
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.model.Name",
                    "body": {"literal": {"string": "hydra.core.error.model.VoidInNonBottomPositionError"}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL name token for hydra.core.error.model.VoidInNonBottomPositionError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.voidInNonBottomPositionError",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.paths.SubtermPath"},
                      "annotation": {
                        "map": [
                          {
                            "key": {"variable": "description"},
                            "value": {"literal": {"string": "The path to the void type in a non-bottom position"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.VoidInNonBottomPositionError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "location",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.paths.SubtermPath"},
                        "annotation": {
                          "map": [
                            {
                              "key": {"variable": "description"},
                              "value": {"literal": {"string": "The path to the void type in a non-bottom position"}}}]}}}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "record",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Record",
                              "fields": [
                                {
                                  "name": "typeName",
                                  "term": {
                                    "wrap": {
                                      "typeName": "hydra.core.model.Name",
                                      "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "location"}}}}]}}]}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL constructor for hydra.core.error.model.VoidInNonBottomPositionError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.voidInNonBottomPositionErrorLocation",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.VoidInNonBottomPositionError"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"variable": "hydra.core.paths.SubtermPath"},
                    "annotation": {
                      "map": [
                        {
                          "key": {"variable": "description"},
                          "value": {"literal": {"string": "The path to the void type in a non-bottom position"}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.VoidInNonBottomPositionError"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {
                                                  "wrap": {
                                                    "typeName": "hydra.core.model.Name",
                                                    "body": {"literal": {"string": "hydra.core.error.model.VoidInNonBottomPositionError"}}}}},
                                              {
                                                "name": "fieldName",
                                                "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "location"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL accessor for the location field of hydra.core.error.model.VoidInNonBottomPositionError"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.error.model.voidInNonBottomPositionErrorWithLocation",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {"variable": "hydra.core.error.model.VoidInNonBottomPositionError"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.paths.SubtermPath"},
                      "annotation": {
                        "map": [
                          {
                            "key": {"variable": "description"},
                            "value": {"literal": {"string": "The path to the void type in a non-bottom position"}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {"variable": "hydra.core.error.model.VoidInNonBottomPositionError"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {"variable": "hydra.core.error.model.VoidInNonBottomPositionError"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.paths.SubtermPath"},
                            "annotation": {
                              "map": [
                                {
                                  "key": {"variable": "description"},
                                  "value": {"literal": {"string": "The path to the void type in a non-bottom position"}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {
                                        "wrap": {
                                          "typeName": "hydra.core.model.Name",
                                          "body": {"literal": {"string": "hydra.core.error.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": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL updater for the location field of hydra.core.error.model.VoidInNonBottomPositionError"}}}]}}}}}]}