packages feed

hydra-kernel-0.18.1: hydra-kernel-json/hydra/core/parse/core.json

{
  "name": "hydra.core.parse.core",
  "metadata": {
    "description": "Parsers for hydra.core.model types, per docs/specification/syntax.md. The counterpart to hydra.core.print.model.",
    "comments": [],
    "seeAlso": [],
    "provisions": []},
  "dependencies": [
    {"module": "hydra.core.lib.chars"},
    {"module": "hydra.core.lib.eithers"},
    {"module": "hydra.core.lib.equality"},
    {"module": "hydra.core.lib.lists"},
    {"module": "hydra.core.lib.literals"},
    {"module": "hydra.core.lib.logic"},
    {"module": "hydra.core.lib.maps"},
    {"module": "hydra.core.lib.math"},
    {"module": "hydra.core.lib.optionals"},
    {"module": "hydra.core.lib.ordering"},
    {"module": "hydra.core.lib.pairs"},
    {"module": "hydra.core.lib.sets"},
    {"module": "hydra.core.lib.strings"},
    {"module": "hydra.core.model"},
    {"module": "hydra.core.parsers"},
    {"module": "hydra.core.parsing"},
    {"module": "hydra.core.positions"},
    {"module": "hydra.core.print.model"},
    {"module": "hydra.core.rewriting"},
    {"module": "hydra.core.typing"}],
  "definitions": [
    {
      "term": {
        "name": "hydra.core.parse.core.annot",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {"function": {"variable": "hydra.core.parsing.Parser"}, "argument": {"variable": "hydra.core.model.Term"}}}}},
        "body": {
          "annotated": {
            "body": {
              "application": {
                "function": {
                  "application": {
                    "function": {
                      "typeApplication": {
                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": {"integer": "int32"}}}},
                        "type": {"variable": "hydra.core.model.Term"}}},
                    "argument": {
                      "application": {
                        "function": {"typeApplication": {"body": {"variable": "hydra.core.parse.core.lexeme"}, "type": {"literal": {"integer": "int32"}}}},
                        "argument": {
                          "application": {"function": {"variable": "hydra.core.parsers.char"}, "argument": {"literal": {"integer": {"int32": 64}}}}}}}}},
                "argument": {
                  "lambda": {
                    "parameter": "_",
                    "domain": {"literal": {"integer": "int32"}},
                    "body": {"variable": "hydra.core.parse.core.postfixTerm"}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "Parse a term-level or type-level '@' annotation suffix"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.parse.core.atomicTerm",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {"function": {"variable": "hydra.core.parsing.Parser"}, "argument": {"variable": "hydra.core.model.Term"}}}}},
        "body": {
          "annotated": {
            "body": {
              "application": {
                "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.choice"}, "type": {"variable": "hydra.core.model.Term"}}},
                "argument": {
                  "list": [
                    {
                      "application": {
                        "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.try"}, "type": {"variable": "hydra.core.model.Term"}}},
                        "argument": {"variable": "hydra.core.parse.core.caseTerm"}}},
                    {
                      "application": {
                        "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.try"}, "type": {"variable": "hydra.core.model.Term"}}},
                        "argument": {"variable": "hydra.core.parse.core.caseSugarTerm"}}},
                    {
                      "application": {
                        "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.try"}, "type": {"variable": "hydra.core.model.Term"}}},
                        "argument": {"variable": "hydra.core.parse.core.doTerm"}}},
                    {
                      "application": {
                        "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.try"}, "type": {"variable": "hydra.core.model.Term"}}},
                        "argument": {"variable": "hydra.core.parse.core.eitherTerm"}}},
                    {
                      "application": {
                        "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.try"}, "type": {"variable": "hydra.core.model.Term"}}},
                        "argument": {"variable": "hydra.core.parse.core.injectTerm"}}},
                    {"variable": "hydra.core.parse.core.lambdaTerm"},
                    {
                      "application": {
                        "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.try"}, "type": {"variable": "hydra.core.model.Term"}}},
                        "argument": {"variable": "hydra.core.parse.core.letTerm"}}},
                    {"variable": "hydra.core.parse.core.listTerm"},
                    {
                      "application": {
                        "function": {
                          "application": {
                            "function": {
                              "typeApplication": {
                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.map"}, "type": {"variable": "hydra.core.model.Literal"}}},
                                "type": {"variable": "hydra.core.model.Term"}}},
                            "argument": {
                              "lambda": {
                                "parameter": "l",
                                "domain": {"variable": "hydra.core.model.Literal"},
                                "body": {"inject": {"typeName": "hydra.core.model.Term", "field": {"name": "literal", "term": {"variable": "l"}}}}}}}},
                        "argument": {"variable": "hydra.core.parse.core.literalLit"}}},
                    {"variable": "hydra.core.parse.core.braceContent"},
                    {
                      "application": {
                        "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.try"}, "type": {"variable": "hydra.core.model.Term"}}},
                        "argument": {"variable": "hydra.core.parse.core.optionalTerm"}}},
                    {
                      "application": {
                        "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.try"}, "type": {"variable": "hydra.core.model.Term"}}},
                        "argument": {"variable": "hydra.core.parse.core.projectTerm"}}},
                    {
                      "application": {
                        "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.try"}, "type": {"variable": "hydra.core.model.Term"}}},
                        "argument": {"variable": "hydra.core.parse.core.recordTerm"}}},
                    {
                      "application": {
                        "function": {
                          "application": {
                            "function": {
                              "typeApplication": {
                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": {"integer": "int32"}}}},
                                "type": {"variable": "hydra.core.model.Term"}}},
                            "argument": {
                              "application": {
                                "function": {"typeApplication": {"body": {"variable": "hydra.core.parse.core.lexeme"}, "type": {"literal": {"integer": "int32"}}}},
                                "argument": {
                                  "application": {"function": {"variable": "hydra.core.parsers.char"}, "argument": {"literal": {"integer": {"int32": 923}}}}}}}}},
                        "argument": {
                          "lambda": {
                            "parameter": "_",
                            "domain": {"literal": {"integer": "int32"}},
                            "body": {
                              "application": {
                                "function": {
                                  "application": {
                                    "function": {
                                      "typeApplication": {
                                        "body": {
                                          "typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"list": {"variable": "hydra.core.model.Name"}}}},
                                        "type": {"variable": "hydra.core.model.Term"}}},
                                    "argument": {
                                      "application": {
                                        "function": {
                                          "application": {
                                            "function": {
                                              "typeApplication": {
                                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.sepBy1"}, "type": {"variable": "hydra.core.model.Name"}}},
                                                "type": {"literal": {"integer": "int32"}}}},
                                            "argument": {"variable": "hydra.core.parse.core.binderName"}}},
                                        "argument": {
                                          "application": {
                                            "function": {"typeApplication": {"body": {"variable": "hydra.core.parse.core.lexeme"}, "type": {"literal": {"integer": "int32"}}}},
                                            "argument": {
                                              "application": {"function": {"variable": "hydra.core.parsers.char"}, "argument": {"literal": {"integer": {"int32": 44}}}}}}}}}}},
                                "argument": {
                                  "lambda": {
                                    "parameter": "vs",
                                    "domain": {"list": {"variable": "hydra.core.model.Name"}},
                                    "body": {
                                      "application": {
                                        "function": {
                                          "application": {
                                            "function": {
                                              "typeApplication": {
                                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": {"integer": "int32"}}}},
                                                "type": {"variable": "hydra.core.model.Term"}}},
                                            "argument": {
                                              "application": {
                                                "function": {"typeApplication": {"body": {"variable": "hydra.core.parse.core.lexeme"}, "type": {"literal": {"integer": "int32"}}}},
                                                "argument": {
                                                  "application": {"function": {"variable": "hydra.core.parsers.char"}, "argument": {"literal": {"integer": {"int32": 46}}}}}}}}},
                                        "argument": {
                                          "lambda": {
                                            "parameter": "_",
                                            "domain": {"literal": {"integer": "int32"}},
                                            "body": {
                                              "application": {
                                                "function": {
                                                  "application": {
                                                    "function": {
                                                      "typeApplication": {
                                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.map"}, "type": {"variable": "hydra.core.model.Term"}}},
                                                        "type": {"variable": "hydra.core.model.Term"}}},
                                                    "argument": {
                                                      "lambda": {
                                                        "parameter": "body",
                                                        "domain": {"variable": "hydra.core.model.Term"},
                                                        "body": {
                                                          "application": {
                                                            "function": {
                                                              "application": {
                                                                "function": {
                                                                  "application": {
                                                                    "function": {
                                                                      "typeApplication": {
                                                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.lib.lists.foldl"}, "type": {"variable": "hydra.core.model.Term"}}},
                                                                        "type": {"variable": "hydra.core.model.Name"}}},
                                                                    "argument": {
                                                                      "lambda": {
                                                                        "parameter": "t",
                                                                        "domain": {"variable": "hydra.core.model.Term"},
                                                                        "body": {
                                                                          "lambda": {
                                                                            "parameter": "v",
                                                                            "domain": {"variable": "hydra.core.model.Name"},
                                                                            "body": {
                                                                              "inject": {
                                                                                "typeName": "hydra.core.model.Term",
                                                                                "field": {
                                                                                  "name": "typeLambda",
                                                                                  "term": {
                                                                                    "record": {
                                                                                      "typeName": "hydra.core.model.TypeLambda",
                                                                                      "fields": [{"name": "parameter", "term": {"variable": "v"}}, {"name": "body", "term": {"variable": "t"}}]}}}}}}}}}}},
                                                                "argument": {"variable": "body"}}},
                                                            "argument": {
                                                              "application": {
                                                                "function": {
                                                                  "typeApplication": {"body": {"variable": "hydra.core.lib.lists.reverse"}, "type": {"variable": "hydra.core.model.Name"}}},
                                                                "argument": {"variable": "vs"}}}}}}}}},
                                                "argument": {
                                                  "application": {
                                                    "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.lazy"}, "type": {"variable": "hydra.core.model.Term"}}},
                                                    "argument": {"lambda": {"parameter": "_", "domain": "unit", "body": {"variable": "hydra.core.parse.core.term"}}}}}}}}}}}}}}}}}}},
                    {
                      "application": {
                        "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.try"}, "type": {"variable": "hydra.core.model.Term"}}},
                        "argument": {
                          "application": {
                            "function": {
                              "application": {
                                "function": {
                                  "typeApplication": {
                                    "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                    "type": {"variable": "hydra.core.model.Term"}}},
                                "argument": {
                                  "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": "unit"}}}}}},
                            "argument": {
                              "lambda": {
                                "parameter": "_",
                                "domain": {"literal": "string"},
                                "body": {
                                  "application": {
                                    "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"variable": "hydra.core.model.Term"}}},
                                    "argument": {"inject": {"typeName": "hydra.core.model.Term", "field": {"name": "unit", "term": "unit"}}}}}}}}}}},
                    {
                      "application": {
                        "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.try"}, "type": {"variable": "hydra.core.model.Term"}}},
                        "argument": {"variable": "hydra.core.parse.core.unwrapTerm"}}},
                    {
                      "application": {
                        "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.try"}, "type": {"variable": "hydra.core.model.Term"}}},
                        "argument": {"variable": "hydra.core.parse.core.wrapTerm"}}},
                    {
                      "application": {
                        "function": {
                          "application": {
                            "function": {
                              "typeApplication": {
                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                "type": {"variable": "hydra.core.model.Term"}}},
                            "argument": {
                              "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": "("}}}}}},
                        "argument": {
                          "lambda": {
                            "parameter": "_",
                            "domain": {"literal": "string"},
                            "body": {
                              "application": {
                                "function": {
                                  "application": {
                                    "function": {
                                      "typeApplication": {
                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"variable": "hydra.core.model.Term"}}},
                                        "type": {"variable": "hydra.core.model.Term"}}},
                                    "argument": {
                                      "application": {
                                        "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.lazy"}, "type": {"variable": "hydra.core.model.Term"}}},
                                        "argument": {"lambda": {"parameter": "_", "domain": "unit", "body": {"variable": "hydra.core.parse.core.term"}}}}}}},
                                "argument": {
                                  "lambda": {
                                    "parameter": "t1",
                                    "domain": {"variable": "hydra.core.model.Term"},
                                    "body": {
                                      "application": {
                                        "function": {
                                          "application": {
                                            "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.alt"}, "type": {"variable": "hydra.core.model.Term"}}},
                                            "argument": {
                                              "application": {
                                                "function": {
                                                  "application": {
                                                    "function": {
                                                      "typeApplication": {
                                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                                        "type": {"variable": "hydra.core.model.Term"}}},
                                                    "argument": {
                                                      "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": ","}}}}}},
                                                "argument": {
                                                  "lambda": {
                                                    "parameter": "_",
                                                    "domain": {"literal": "string"},
                                                    "body": {
                                                      "application": {
                                                        "function": {
                                                          "application": {
                                                            "function": {
                                                              "typeApplication": {
                                                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"variable": "hydra.core.model.Term"}}},
                                                                "type": {"variable": "hydra.core.model.Term"}}},
                                                            "argument": {
                                                              "application": {
                                                                "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.lazy"}, "type": {"variable": "hydra.core.model.Term"}}},
                                                                "argument": {"lambda": {"parameter": "_", "domain": "unit", "body": {"variable": "hydra.core.parse.core.term"}}}}}}},
                                                        "argument": {
                                                          "lambda": {
                                                            "parameter": "t2",
                                                            "domain": {"variable": "hydra.core.model.Term"},
                                                            "body": {
                                                              "application": {
                                                                "function": {
                                                                  "application": {
                                                                    "function": {
                                                                      "typeApplication": {
                                                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                                                        "type": {"variable": "hydra.core.model.Term"}}},
                                                                    "argument": {
                                                                      "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": ")"}}}}}},
                                                                "argument": {
                                                                  "lambda": {
                                                                    "parameter": "_",
                                                                    "domain": {"literal": "string"},
                                                                    "body": {
                                                                      "application": {
                                                                        "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"variable": "hydra.core.model.Term"}}},
                                                                        "argument": {
                                                                          "inject": {
                                                                            "typeName": "hydra.core.model.Term",
                                                                            "field": {
                                                                              "name": "pair",
                                                                              "term": {
                                                                                "typeApplication": {
                                                                                  "body": {
                                                                                    "typeApplication": {
                                                                                      "body": {"pair": {"first": {"variable": "t1"}, "second": {"variable": "t2"}}},
                                                                                      "type": {"variable": "hydra.core.model.Term"}}},
                                                                                  "type": {"variable": "hydra.core.model.Term"}}}}}}}}}}}}}}}}}}}}}},
                                        "argument": {
                                          "application": {
                                            "function": {
                                              "application": {
                                                "function": {
                                                  "typeApplication": {
                                                    "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                                    "type": {"variable": "hydra.core.model.Term"}}},
                                                "argument": {
                                                  "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": ")"}}}}}},
                                            "argument": {
                                              "lambda": {
                                                "parameter": "_",
                                                "domain": {"literal": "string"},
                                                "body": {
                                                  "application": {
                                                    "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"variable": "hydra.core.model.Term"}}},
                                                    "argument": {"variable": "t1"}}}}}}}}}}}}}}}}},
                    {
                      "application": {
                        "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.try"}, "type": {"variable": "hydra.core.model.Term"}}},
                        "argument": {"variable": "hydra.core.parse.core.braceConstruct"}}},
                    {
                      "application": {
                        "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.try"}, "type": {"variable": "hydra.core.model.Term"}}},
                        "argument": {"variable": "hydra.core.parse.core.bracketEliminate"}}},
                    {
                      "application": {
                        "function": {
                          "application": {
                            "function": {
                              "typeApplication": {
                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.map"}, "type": {"variable": "hydra.core.model.Name"}}},
                                "type": {"variable": "hydra.core.model.Term"}}},
                            "argument": {
                              "lambda": {
                                "parameter": "n",
                                "domain": {"variable": "hydra.core.model.Name"},
                                "body": {"inject": {"typeName": "hydra.core.model.Term", "field": {"name": "variable", "term": {"variable": "n"}}}}}}}},
                        "argument": {"variable": "hydra.core.parse.core.name"}}}]}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {
                    "literal": {"string": "Parse a tightest-level term: any construct other than application, annotation, or type application"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.parse.core.backtickedName",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {"type": {"application": {"function": {"variable": "hydra.core.parsing.Parser"}, "argument": {"literal": "string"}}}}},
        "body": {
          "annotated": {
            "body": {
              "application": {
                "function": {"typeApplication": {"body": {"variable": "hydra.core.parse.core.lexeme"}, "type": {"literal": "string"}}},
                "argument": {
                  "application": {
                    "function": {
                      "application": {
                        "function": {
                          "typeApplication": {
                            "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": {"integer": "int32"}}}},
                            "type": {"literal": "string"}}},
                        "argument": {
                          "application": {"function": {"variable": "hydra.core.parsers.char"}, "argument": {"literal": {"integer": {"int32": 96}}}}}}},
                    "argument": {
                      "lambda": {
                        "parameter": "_",
                        "domain": {"literal": {"integer": "int32"}},
                        "body": {
                          "application": {
                            "function": {
                              "application": {
                                "function": {
                                  "typeApplication": {
                                    "body": {
                                      "typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"list": {"literal": {"integer": "int32"}}}}},
                                    "type": {"literal": "string"}}},
                                "argument": {
                                  "application": {
                                    "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.many"}, "type": {"literal": {"integer": "int32"}}}},
                                    "argument": {
                                      "application": {
                                        "function": {
                                          "application": {
                                            "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.alt"}, "type": {"literal": {"integer": "int32"}}}},
                                            "argument": {
                                              "application": {
                                                "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.try"}, "type": {"literal": {"integer": "int32"}}}},
                                                "argument": {"variable": "hydra.core.parse.core.escapedChar"}}}}},
                                        "argument": {
                                          "application": {
                                            "function": {"variable": "hydra.core.parsers.satisfy"},
                                            "argument": {
                                              "lambda": {
                                                "parameter": "c",
                                                "domain": {"literal": {"integer": "int32"}},
                                                "body": {
                                                  "application": {
                                                    "function": {
                                                      "application": {
                                                        "function": {"variable": "hydra.core.lib.logic.and"},
                                                        "argument": {
                                                          "application": {
                                                            "function": {"variable": "hydra.core.lib.logic.not"},
                                                            "argument": {
                                                              "application": {
                                                                "function": {
                                                                  "application": {
                                                                    "function": {"typeApplication": {"body": {"variable": "hydra.core.lib.equality.equal"}, "type": {"literal": {"integer": "int32"}}}},
                                                                    "argument": {"variable": "c"}}},
                                                                "argument": {"literal": {"integer": {"int32": 96}}}}}}}}},
                                                    "argument": {
                                                      "application": {
                                                        "function": {"variable": "hydra.core.lib.logic.not"},
                                                        "argument": {
                                                          "application": {
                                                            "function": {
                                                              "application": {
                                                                "function": {"typeApplication": {"body": {"variable": "hydra.core.lib.equality.equal"}, "type": {"literal": {"integer": "int32"}}}},
                                                                "argument": {"variable": "c"}}},
                                                            "argument": {"literal": {"integer": {"int32": 92}}}}}}}}}}}}}}}}}}},
                            "argument": {
                              "lambda": {
                                "parameter": "cs",
                                "domain": {"list": {"literal": {"integer": "int32"}}},
                                "body": {
                                  "application": {
                                    "function": {
                                      "application": {
                                        "function": {
                                          "typeApplication": {
                                            "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": {"integer": "int32"}}}},
                                            "type": {"literal": "string"}}},
                                        "argument": {
                                          "application": {"function": {"variable": "hydra.core.parsers.char"}, "argument": {"literal": {"integer": {"int32": 96}}}}}}},
                                    "argument": {
                                      "lambda": {
                                        "parameter": "_",
                                        "domain": {"literal": {"integer": "int32"}},
                                        "body": {
                                          "application": {
                                            "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"literal": "string"}}},
                                            "argument": {"application": {"function": {"variable": "hydra.core.lib.strings.fromList"}, "argument": {"variable": "cs"}}}}}}}}}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "Parse a backtick-escaped name, applying the string-escape rules to its content"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.parse.core.bareNameSegmentChar",
        "signature": {
          "typeParameters": [],
          "parameters": [{"name": "arg0", "type": {"literal": {"integer": "int32"}}, "isLazy": false}],
          "result": {"type": {"literal": "boolean"}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "c",
                "domain": {"literal": {"integer": "int32"}},
                "body": {"application": {"function": {"variable": "hydra.core.lib.chars.isAlphaNum"}, "argument": {"variable": "c"}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "True iff the codepoint may appear in a bare name segment (alphanumeric, per syntax.md #2.4)"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.parse.core.binderName",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {"function": {"variable": "hydra.core.parsing.Parser"}, "argument": {"variable": "hydra.core.model.Name"}}}}},
        "body": {
          "annotated": {
            "body": {
              "application": {
                "function": {
                  "application": {
                    "function": {
                      "typeApplication": {
                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.map"}, "type": {"literal": "string"}}},
                        "type": {"variable": "hydra.core.model.Name"}}},
                    "argument": {
                      "lambda": {
                        "parameter": "s",
                        "domain": {"literal": "string"},
                        "body": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"variable": "s"}}}}}}},
                "argument": {
                  "application": {
                    "function": {
                      "application": {
                        "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.alt"}, "type": {"literal": "string"}}},
                        "argument": {
                          "application": {
                            "function": {"typeApplication": {"body": {"variable": "hydra.core.parse.core.lexeme"}, "type": {"literal": "string"}}},
                            "argument": {
                              "application": {
                                "function": {
                                  "application": {
                                    "function": {
                                      "typeApplication": {
                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                        "type": {"literal": "string"}}},
                                    "argument": {
                                      "application": {
                                        "function": {
                                          "application": {
                                            "function": {
                                              "typeApplication": {
                                                "body": {
                                                  "typeApplication": {"body": {"variable": "hydra.core.parsers.map"}, "type": {"list": {"literal": {"integer": "int32"}}}}},
                                                "type": {"literal": "string"}}},
                                            "argument": {
                                              "lambda": {
                                                "parameter": "cs",
                                                "domain": {"list": {"literal": {"integer": "int32"}}},
                                                "body": {"application": {"function": {"variable": "hydra.core.lib.strings.fromList"}, "argument": {"variable": "cs"}}}}}}},
                                        "argument": {
                                          "application": {
                                            "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.some"}, "type": {"literal": {"integer": "int32"}}}},
                                            "argument": {
                                              "application": {
                                                "function": {"variable": "hydra.core.parsers.satisfy"},
                                                "argument": {"variable": "hydra.core.parse.core.bareNameSegmentChar"}}}}}}}}},
                                "argument": {
                                  "lambda": {
                                    "parameter": "s",
                                    "domain": {"literal": "string"},
                                    "body": {
                                      "application": {
                                        "function": {
                                          "application": {
                                            "function": {
                                              "application": {
                                                "function": {
                                                  "typeApplication": {
                                                    "body": {"variable": "hydra.core.lib.logic.ifElse"},
                                                    "type": {"application": {"function": {"variable": "hydra.core.parsing.Parser"}, "argument": {"literal": "string"}}}}},
                                                "argument": {"application": {"function": {"variable": "hydra.core.print.model.isReservedWord"}, "argument": {"variable": "s"}}}}},
                                            "argument": {
                                              "application": {
                                                "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.fail"}, "type": {"literal": "string"}}},
                                                "argument": {
                                                  "application": {
                                                    "function": {
                                                      "application": {
                                                        "function": {"variable": "hydra.core.lib.strings.concat2"},
                                                        "argument": {"literal": {"string": "reserved word used bare: "}}}},
                                                    "argument": {"variable": "s"}}}}}}},
                                        "argument": {
                                          "application": {
                                            "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"literal": "string"}}},
                                            "argument": {"variable": "s"}}}}}}}}}}}}},
                    "argument": {"variable": "hydra.core.parse.core.backtickedName"}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "Parse a binder-head name: a single dot-free bare segment, or a backtick-escaped name"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.parse.core.binding",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {"function": {"variable": "hydra.core.parsing.Parser"}, "argument": {"variable": "hydra.core.model.Binding"}}}}},
        "body": {
          "annotated": {
            "body": {
              "application": {
                "function": {
                  "application": {
                    "function": {
                      "typeApplication": {
                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"variable": "hydra.core.model.Name"}}},
                        "type": {"variable": "hydra.core.model.Binding"}}},
                    "argument": {"variable": "hydra.core.parse.core.name"}}},
                "argument": {
                  "lambda": {
                    "parameter": "n",
                    "domain": {"variable": "hydra.core.model.Name"},
                    "body": {
                      "application": {
                        "function": {
                          "application": {
                            "function": {
                              "typeApplication": {
                                "body": {
                                  "typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"optional": {"variable": "hydra.core.model.TypeScheme"}}}},
                                "type": {"variable": "hydra.core.model.Binding"}}},
                            "argument": {
                              "application": {
                                "function": {
                                  "typeApplication": {"body": {"variable": "hydra.core.parsers.optional"}, "type": {"variable": "hydra.core.model.TypeScheme"}}},
                                "argument": {
                                  "application": {
                                    "function": {
                                      "typeApplication": {"body": {"variable": "hydra.core.parsers.try"}, "type": {"variable": "hydra.core.model.TypeScheme"}}},
                                    "argument": {
                                      "application": {
                                        "function": {
                                          "application": {
                                            "function": {
                                              "typeApplication": {
                                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": {"integer": "int32"}}}},
                                                "type": {"variable": "hydra.core.model.TypeScheme"}}},
                                            "argument": {
                                              "application": {
                                                "function": {"typeApplication": {"body": {"variable": "hydra.core.parse.core.lexeme"}, "type": {"literal": {"integer": "int32"}}}},
                                                "argument": {
                                                  "application": {"function": {"variable": "hydra.core.parsers.char"}, "argument": {"literal": {"integer": {"int32": 58}}}}}}}}},
                                        "argument": {
                                          "lambda": {
                                            "parameter": "_",
                                            "domain": {"literal": {"integer": "int32"}},
                                            "body": {
                                              "application": {
                                                "function": {
                                                  "application": {
                                                    "function": {
                                                      "typeApplication": {
                                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                                        "type": {"variable": "hydra.core.model.TypeScheme"}}},
                                                    "argument": {
                                                      "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": "("}}}}}},
                                                "argument": {
                                                  "lambda": {
                                                    "parameter": "_",
                                                    "domain": {"literal": "string"},
                                                    "body": {
                                                      "application": {
                                                        "function": {
                                                          "application": {
                                                            "function": {
                                                              "typeApplication": {
                                                                "body": {
                                                                  "typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"variable": "hydra.core.model.TypeScheme"}}},
                                                                "type": {"variable": "hydra.core.model.TypeScheme"}}},
                                                            "argument": {"variable": "hydra.core.parse.core.typeScheme"}}},
                                                        "argument": {
                                                          "lambda": {
                                                            "parameter": "ts",
                                                            "domain": {"variable": "hydra.core.model.TypeScheme"},
                                                            "body": {
                                                              "application": {
                                                                "function": {
                                                                  "application": {
                                                                    "function": {
                                                                      "typeApplication": {
                                                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                                                        "type": {"variable": "hydra.core.model.TypeScheme"}}},
                                                                    "argument": {
                                                                      "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": ")"}}}}}},
                                                                "argument": {
                                                                  "lambda": {
                                                                    "parameter": "_",
                                                                    "domain": {"literal": "string"},
                                                                    "body": {
                                                                      "application": {
                                                                        "function": {
                                                                          "typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"variable": "hydra.core.model.TypeScheme"}}},
                                                                        "argument": {"variable": "ts"}}}}}}}}}}}}}}}}}}}}}}}}},
                        "argument": {
                          "lambda": {
                            "parameter": "mts",
                            "domain": {"optional": {"variable": "hydra.core.model.TypeScheme"}},
                            "body": {
                              "application": {
                                "function": {
                                  "application": {
                                    "function": {
                                      "typeApplication": {
                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                        "type": {"variable": "hydra.core.model.Binding"}}},
                                    "argument": {
                                      "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": ":="}}}}}},
                                "argument": {
                                  "lambda": {
                                    "parameter": "_",
                                    "domain": {"literal": "string"},
                                    "body": {
                                      "application": {
                                        "function": {
                                          "application": {
                                            "function": {
                                              "typeApplication": {
                                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.map"}, "type": {"variable": "hydra.core.model.Term"}}},
                                                "type": {"variable": "hydra.core.model.Binding"}}},
                                            "argument": {
                                              "lambda": {
                                                "parameter": "t",
                                                "domain": {"variable": "hydra.core.model.Term"},
                                                "body": {
                                                  "record": {
                                                    "typeName": "hydra.core.model.Binding",
                                                    "fields": [
                                                      {"name": "name", "term": {"variable": "n"}},
                                                      {"name": "term", "term": {"variable": "t"}},
                                                      {"name": "typeScheme", "term": {"variable": "mts"}}]}}}}}},
                                        "argument": {
                                          "application": {
                                            "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.lazy"}, "type": {"variable": "hydra.core.model.Term"}}},
                                            "argument": {"lambda": {"parameter": "_", "domain": "unit", "body": {"variable": "hydra.core.parse.core.term"}}}}}}}}}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "Parse a binding: name [':' '(' typeScheme ')'] ':=' term"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.parse.core.braceConstruct",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {"function": {"variable": "hydra.core.parsing.Parser"}, "argument": {"variable": "hydra.core.model.Term"}}}}},
        "body": {
          "annotated": {
            "body": {
              "application": {
                "function": {
                  "application": {
                    "function": {
                      "typeApplication": {
                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"variable": "hydra.core.model.Name"}}},
                        "type": {"variable": "hydra.core.model.Term"}}},
                    "argument": {"variable": "hydra.core.parse.core.rawName"}}},
                "argument": {
                  "lambda": {
                    "parameter": "tname",
                    "domain": {"variable": "hydra.core.model.Name"},
                    "body": {
                      "application": {
                        "function": {
                          "application": {
                            "function": {
                              "typeApplication": {
                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": {"integer": "int32"}}}},
                                "type": {"variable": "hydra.core.model.Term"}}},
                            "argument": {
                              "application": {"function": {"variable": "hydra.core.parsers.char"}, "argument": {"literal": {"integer": {"int32": 123}}}}}}},
                        "argument": {
                          "lambda": {
                            "parameter": "_",
                            "domain": {"literal": {"integer": "int32"}},
                            "body": {
                              "application": {
                                "function": {
                                  "application": {
                                    "function": {
                                      "typeApplication": {
                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": "unit"}},
                                        "type": {"variable": "hydra.core.model.Term"}}},
                                    "argument": {"variable": "hydra.core.parse.core.whitespace"}}},
                                "argument": {
                                  "lambda": {
                                    "parameter": "_",
                                    "domain": "unit",
                                    "body": {
                                      "application": {
                                        "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.choice"}, "type": {"variable": "hydra.core.model.Term"}}},
                                        "argument": {
                                          "list": [
                                            {
                                              "application": {
                                                "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.try"}, "type": {"variable": "hydra.core.model.Term"}}},
                                                "argument": {
                                                  "application": {
                                                    "function": {
                                                      "application": {
                                                        "function": {
                                                          "typeApplication": {
                                                            "body": {
                                                              "typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"list": {"variable": "hydra.core.model.Field"}}}},
                                                            "type": {"variable": "hydra.core.model.Term"}}},
                                                        "argument": {
                                                          "application": {
                                                            "function": {
                                                              "application": {
                                                                "function": {
                                                                  "typeApplication": {
                                                                    "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.sepBy"}, "type": {"variable": "hydra.core.model.Field"}}},
                                                                    "type": {"literal": "string"}}},
                                                                "argument": {"variable": "hydra.core.parse.core.sugarField"}}},
                                                            "argument": {
                                                              "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": ","}}}}}}}},
                                                    "argument": {
                                                      "lambda": {
                                                        "parameter": "flds",
                                                        "domain": {"list": {"variable": "hydra.core.model.Field"}},
                                                        "body": {
                                                          "application": {
                                                            "function": {
                                                              "application": {
                                                                "function": {
                                                                  "typeApplication": {
                                                                    "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                                                    "type": {"variable": "hydra.core.model.Term"}}},
                                                                "argument": {
                                                                  "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": "}"}}}}}},
                                                            "argument": {
                                                              "lambda": {
                                                                "parameter": "_",
                                                                "domain": {"literal": "string"},
                                                                "body": {
                                                                  "application": {
                                                                    "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"variable": "hydra.core.model.Term"}}},
                                                                    "argument": {
                                                                      "inject": {
                                                                        "typeName": "hydra.core.model.Term",
                                                                        "field": {
                                                                          "name": "record",
                                                                          "term": {
                                                                            "record": {
                                                                              "typeName": "hydra.core.model.Record",
                                                                              "fields": [{"name": "typeName", "term": {"variable": "tname"}}, {"name": "fields", "term": {"variable": "flds"}}]}}}}}}}}}}}}}}}}},
                                            {
                                              "application": {
                                                "function": {
                                                  "application": {
                                                    "function": {
                                                      "typeApplication": {
                                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"variable": "hydra.core.model.Term"}}},
                                                        "type": {"variable": "hydra.core.model.Term"}}},
                                                    "argument": {
                                                      "application": {
                                                        "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.lazy"}, "type": {"variable": "hydra.core.model.Term"}}},
                                                        "argument": {"lambda": {"parameter": "_", "domain": "unit", "body": {"variable": "hydra.core.parse.core.term"}}}}}}},
                                                "argument": {
                                                  "lambda": {
                                                    "parameter": "t",
                                                    "domain": {"variable": "hydra.core.model.Term"},
                                                    "body": {
                                                      "application": {
                                                        "function": {
                                                          "application": {
                                                            "function": {
                                                              "typeApplication": {
                                                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                                                "type": {"variable": "hydra.core.model.Term"}}},
                                                            "argument": {
                                                              "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": "}"}}}}}},
                                                        "argument": {
                                                          "lambda": {
                                                            "parameter": "_",
                                                            "domain": {"literal": "string"},
                                                            "body": {
                                                              "application": {
                                                                "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"variable": "hydra.core.model.Term"}}},
                                                                "argument": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "wrap",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.WrappedTerm",
                                                                          "fields": [{"name": "typeName", "term": {"variable": "tname"}}, {"name": "body", "term": {"variable": "t"}}]}}}}}}}}}}}}}}}]}}}}}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {
                    "literal": {"string": "Parse nominal construction sugar: 'Name{...}' (record/injection fields, or a single wrapped term) (#809)"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.parse.core.braceContent",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {"function": {"variable": "hydra.core.parsing.Parser"}, "argument": {"variable": "hydra.core.model.Term"}}}}},
        "body": {
          "annotated": {
            "body": {
              "application": {
                "function": {
                  "application": {
                    "function": {
                      "typeApplication": {
                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                        "type": {"variable": "hydra.core.model.Term"}}},
                    "argument": {
                      "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": "{"}}}}}},
                "argument": {
                  "lambda": {
                    "parameter": "_",
                    "domain": {"literal": "string"},
                    "body": {
                      "application": {
                        "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.choice"}, "type": {"variable": "hydra.core.model.Term"}}},
                        "argument": {
                          "list": [
                            {
                              "application": {
                                "function": {
                                  "application": {
                                    "function": {
                                      "typeApplication": {
                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                        "type": {"variable": "hydra.core.model.Term"}}},
                                    "argument": {
                                      "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": "="}}}}}},
                                "argument": {
                                  "lambda": {
                                    "parameter": "_",
                                    "domain": {"literal": "string"},
                                    "body": {
                                      "application": {
                                        "function": {
                                          "application": {
                                            "function": {
                                              "typeApplication": {
                                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                                "type": {"variable": "hydra.core.model.Term"}}},
                                            "argument": {
                                              "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": "}"}}}}}},
                                        "argument": {
                                          "lambda": {
                                            "parameter": "_",
                                            "domain": {"literal": "string"},
                                            "body": {
                                              "application": {
                                                "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"variable": "hydra.core.model.Term"}}},
                                                "argument": {
                                                  "inject": {
                                                    "typeName": "hydra.core.model.Term",
                                                    "field": {
                                                      "name": "map",
                                                      "term": {
                                                        "application": {
                                                          "function": {
                                                            "typeApplication": {
                                                              "body": {
                                                                "typeApplication": {"body": {"variable": "hydra.core.lib.maps.fromList"}, "type": {"variable": "hydra.core.model.Term"}}},
                                                              "type": {"variable": "hydra.core.model.Term"}}},
                                                          "argument": {
                                                            "typeApplication": {
                                                              "body": {"list": []},
                                                              "type": {"pair": {"first": {"variable": "hydra.core.model.Term"}, "second": {"variable": "hydra.core.model.Term"}}}}}}}}}}}}}}}}}}}},
                            {
                              "application": {
                                "function": {
                                  "application": {
                                    "function": {
                                      "typeApplication": {
                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                        "type": {"variable": "hydra.core.model.Term"}}},
                                    "argument": {
                                      "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": "}"}}}}}},
                                "argument": {
                                  "lambda": {
                                    "parameter": "_",
                                    "domain": {"literal": "string"},
                                    "body": {
                                      "application": {
                                        "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"variable": "hydra.core.model.Term"}}},
                                        "argument": {
                                          "inject": {
                                            "typeName": "hydra.core.model.Term",
                                            "field": {
                                              "name": "set",
                                              "term": {
                                                "application": {
                                                  "function": {
                                                    "typeApplication": {"body": {"variable": "hydra.core.lib.sets.fromList"}, "type": {"variable": "hydra.core.model.Term"}}},
                                                  "argument": {"typeApplication": {"body": {"list": []}, "type": {"variable": "hydra.core.model.Term"}}}}}}}}}}}}}},
                            {
                              "application": {
                                "function": {
                                  "application": {
                                    "function": {
                                      "typeApplication": {
                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"variable": "hydra.core.model.Term"}}},
                                        "type": {"variable": "hydra.core.model.Term"}}},
                                    "argument": {
                                      "application": {
                                        "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.lazy"}, "type": {"variable": "hydra.core.model.Term"}}},
                                        "argument": {"lambda": {"parameter": "_", "domain": "unit", "body": {"variable": "hydra.core.parse.core.term"}}}}}}},
                                "argument": {
                                  "lambda": {
                                    "parameter": "t1",
                                    "domain": {"variable": "hydra.core.model.Term"},
                                    "body": {
                                      "application": {
                                        "function": {
                                          "application": {
                                            "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.alt"}, "type": {"variable": "hydra.core.model.Term"}}},
                                            "argument": {
                                              "application": {
                                                "function": {
                                                  "application": {
                                                    "function": {
                                                      "typeApplication": {
                                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                                        "type": {"variable": "hydra.core.model.Term"}}},
                                                    "argument": {
                                                      "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": "="}}}}}},
                                                "argument": {
                                                  "lambda": {
                                                    "parameter": "_",
                                                    "domain": {"literal": "string"},
                                                    "body": {
                                                      "application": {
                                                        "function": {
                                                          "application": {
                                                            "function": {
                                                              "typeApplication": {
                                                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"variable": "hydra.core.model.Term"}}},
                                                                "type": {"variable": "hydra.core.model.Term"}}},
                                                            "argument": {
                                                              "application": {
                                                                "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.lazy"}, "type": {"variable": "hydra.core.model.Term"}}},
                                                                "argument": {"lambda": {"parameter": "_", "domain": "unit", "body": {"variable": "hydra.core.parse.core.term"}}}}}}},
                                                        "argument": {
                                                          "lambda": {
                                                            "parameter": "v1",
                                                            "domain": {"variable": "hydra.core.model.Term"},
                                                            "body": {
                                                              "application": {
                                                                "function": {
                                                                  "application": {
                                                                    "function": {
                                                                      "typeApplication": {
                                                                        "body": {
                                                                          "typeApplication": {
                                                                            "body": {"variable": "hydra.core.parsers.bind"},
                                                                            "type": {"list": {"pair": {"first": {"variable": "hydra.core.model.Term"}, "second": {"variable": "hydra.core.model.Term"}}}}}},
                                                                        "type": {"variable": "hydra.core.model.Term"}}},
                                                                    "argument": {
                                                                      "application": {
                                                                        "function": {
                                                                          "typeApplication": {
                                                                            "body": {"variable": "hydra.core.parsers.many"},
                                                                            "type": {"pair": {"first": {"variable": "hydra.core.model.Term"}, "second": {"variable": "hydra.core.model.Term"}}}}},
                                                                        "argument": {
                                                                          "application": {
                                                                            "function": {
                                                                              "application": {
                                                                                "function": {
                                                                                  "typeApplication": {
                                                                                    "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                                                                    "type": {"pair": {"first": {"variable": "hydra.core.model.Term"}, "second": {"variable": "hydra.core.model.Term"}}}}},
                                                                                "argument": {
                                                                                  "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": ","}}}}}},
                                                                            "argument": {
                                                                              "lambda": {
                                                                                "parameter": "_",
                                                                                "domain": {"literal": "string"},
                                                                                "body": {
                                                                                  "application": {
                                                                                    "function": {
                                                                                      "application": {
                                                                                        "function": {
                                                                                          "typeApplication": {
                                                                                            "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"variable": "hydra.core.model.Term"}}},
                                                                                            "type": {"pair": {"first": {"variable": "hydra.core.model.Term"}, "second": {"variable": "hydra.core.model.Term"}}}}},
                                                                                        "argument": {
                                                                                          "application": {
                                                                                            "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.lazy"}, "type": {"variable": "hydra.core.model.Term"}}},
                                                                                            "argument": {"lambda": {"parameter": "_", "domain": "unit", "body": {"variable": "hydra.core.parse.core.term"}}}}}}},
                                                                                    "argument": {
                                                                                      "lambda": {
                                                                                        "parameter": "k",
                                                                                        "domain": {"variable": "hydra.core.model.Term"},
                                                                                        "body": {
                                                                                          "application": {
                                                                                            "function": {
                                                                                              "application": {
                                                                                                "function": {
                                                                                                  "typeApplication": {
                                                                                                    "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                                                                                    "type": {"pair": {"first": {"variable": "hydra.core.model.Term"}, "second": {"variable": "hydra.core.model.Term"}}}}},
                                                                                                "argument": {
                                                                                                  "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": "="}}}}}},
                                                                                            "argument": {
                                                                                              "lambda": {
                                                                                                "parameter": "_",
                                                                                                "domain": {"literal": "string"},
                                                                                                "body": {
                                                                                                  "application": {
                                                                                                    "function": {
                                                                                                      "application": {
                                                                                                        "function": {
                                                                                                          "typeApplication": {
                                                                                                            "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.map"}, "type": {"variable": "hydra.core.model.Term"}}},
                                                                                                            "type": {"pair": {"first": {"variable": "hydra.core.model.Term"}, "second": {"variable": "hydra.core.model.Term"}}}}},
                                                                                                        "argument": {
                                                                                                          "lambda": {
                                                                                                            "parameter": "v",
                                                                                                            "domain": {"variable": "hydra.core.model.Term"},
                                                                                                            "body": {
                                                                                                              "typeApplication": {
                                                                                                                "body": {
                                                                                                                  "typeApplication": {
                                                                                                                    "body": {"pair": {"first": {"variable": "k"}, "second": {"variable": "v"}}},
                                                                                                                    "type": {"variable": "hydra.core.model.Term"}}},
                                                                                                                "type": {"variable": "hydra.core.model.Term"}}}}}}},
                                                                                                    "argument": {
                                                                                                      "application": {
                                                                                                        "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.lazy"}, "type": {"variable": "hydra.core.model.Term"}}},
                                                                                                        "argument": {"lambda": {"parameter": "_", "domain": "unit", "body": {"variable": "hydra.core.parse.core.term"}}}}}}}}}}}}}}}}}}}}}}},
                                                                "argument": {
                                                                  "lambda": {
                                                                    "parameter": "rest",
                                                                    "domain": {"list": {"pair": {"first": {"variable": "hydra.core.model.Term"}, "second": {"variable": "hydra.core.model.Term"}}}},
                                                                    "body": {
                                                                      "application": {
                                                                        "function": {
                                                                          "application": {
                                                                            "function": {
                                                                              "typeApplication": {
                                                                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                                                                "type": {"variable": "hydra.core.model.Term"}}},
                                                                            "argument": {
                                                                              "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": "}"}}}}}},
                                                                        "argument": {
                                                                          "lambda": {
                                                                            "parameter": "_",
                                                                            "domain": {"literal": "string"},
                                                                            "body": {
                                                                              "application": {
                                                                                "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"variable": "hydra.core.model.Term"}}},
                                                                                "argument": {
                                                                                  "inject": {
                                                                                    "typeName": "hydra.core.model.Term",
                                                                                    "field": {
                                                                                      "name": "map",
                                                                                      "term": {
                                                                                        "application": {
                                                                                          "function": {
                                                                                            "typeApplication": {
                                                                                              "body": {
                                                                                                "typeApplication": {"body": {"variable": "hydra.core.lib.maps.fromList"}, "type": {"variable": "hydra.core.model.Term"}}},
                                                                                              "type": {"variable": "hydra.core.model.Term"}}},
                                                                                          "argument": {
                                                                                            "application": {
                                                                                              "function": {
                                                                                                "application": {
                                                                                                  "function": {
                                                                                                    "typeApplication": {
                                                                                                      "body": {"variable": "hydra.core.lib.lists.cons"},
                                                                                                      "type": {"pair": {"first": {"variable": "hydra.core.model.Term"}, "second": {"variable": "hydra.core.model.Term"}}}}},
                                                                                                  "argument": {
                                                                                                    "typeApplication": {
                                                                                                      "body": {
                                                                                                        "typeApplication": {
                                                                                                          "body": {"pair": {"first": {"variable": "t1"}, "second": {"variable": "v1"}}},
                                                                                                          "type": {"variable": "hydra.core.model.Term"}}},
                                                                                                      "type": {"variable": "hydra.core.model.Term"}}}}},
                                                                                              "argument": {"variable": "rest"}}}}}}}}}}}}}}}}}}}}}}}}}}}},
                                        "argument": {
                                          "application": {
                                            "function": {
                                              "application": {
                                                "function": {
                                                  "typeApplication": {
                                                    "body": {
                                                      "typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"list": {"variable": "hydra.core.model.Term"}}}},
                                                    "type": {"variable": "hydra.core.model.Term"}}},
                                                "argument": {
                                                  "application": {
                                                    "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.many"}, "type": {"variable": "hydra.core.model.Term"}}},
                                                    "argument": {
                                                      "application": {
                                                        "function": {
                                                          "application": {
                                                            "function": {
                                                              "typeApplication": {
                                                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                                                "type": {"variable": "hydra.core.model.Term"}}},
                                                            "argument": {
                                                              "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": ","}}}}}},
                                                        "argument": {
                                                          "lambda": {
                                                            "parameter": "_",
                                                            "domain": {"literal": "string"},
                                                            "body": {
                                                              "application": {
                                                                "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.lazy"}, "type": {"variable": "hydra.core.model.Term"}}},
                                                                "argument": {"lambda": {"parameter": "_", "domain": "unit", "body": {"variable": "hydra.core.parse.core.term"}}}}}}}}}}}}},
                                            "argument": {
                                              "lambda": {
                                                "parameter": "rest",
                                                "domain": {"list": {"variable": "hydra.core.model.Term"}},
                                                "body": {
                                                  "application": {
                                                    "function": {
                                                      "application": {
                                                        "function": {
                                                          "typeApplication": {
                                                            "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                                            "type": {"variable": "hydra.core.model.Term"}}},
                                                        "argument": {
                                                          "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": "}"}}}}}},
                                                    "argument": {
                                                      "lambda": {
                                                        "parameter": "_",
                                                        "domain": {"literal": "string"},
                                                        "body": {
                                                          "application": {
                                                            "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"variable": "hydra.core.model.Term"}}},
                                                            "argument": {
                                                              "inject": {
                                                                "typeName": "hydra.core.model.Term",
                                                                "field": {
                                                                  "name": "set",
                                                                  "term": {
                                                                    "application": {
                                                                      "function": {
                                                                        "typeApplication": {"body": {"variable": "hydra.core.lib.sets.fromList"}, "type": {"variable": "hydra.core.model.Term"}}},
                                                                      "argument": {
                                                                        "application": {
                                                                          "function": {
                                                                            "application": {
                                                                              "function": {"typeApplication": {"body": {"variable": "hydra.core.lib.lists.cons"}, "type": {"variable": "hydra.core.model.Term"}}},
                                                                              "argument": {"variable": "t1"}}},
                                                                          "argument": {"variable": "rest"}}}}}}}}}}}}}}}}}}}}}}}}]}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {
                    "literal": {"string": "Parse '{' ... '}' as a set or map term, disambiguating by a top-level '=' after the first element"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.parse.core.bracketEliminate",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {"function": {"variable": "hydra.core.parsing.Parser"}, "argument": {"variable": "hydra.core.model.Term"}}}}},
        "body": {
          "annotated": {
            "body": {
              "application": {
                "function": {
                  "application": {
                    "function": {
                      "typeApplication": {
                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"variable": "hydra.core.model.Name"}}},
                        "type": {"variable": "hydra.core.model.Term"}}},
                    "argument": {"variable": "hydra.core.parse.core.rawName"}}},
                "argument": {
                  "lambda": {
                    "parameter": "tname",
                    "domain": {"variable": "hydra.core.model.Name"},
                    "body": {
                      "application": {
                        "function": {
                          "application": {
                            "function": {
                              "typeApplication": {
                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": {"integer": "int32"}}}},
                                "type": {"variable": "hydra.core.model.Term"}}},
                            "argument": {
                              "application": {"function": {"variable": "hydra.core.parsers.char"}, "argument": {"literal": {"integer": {"int32": 91}}}}}}},
                        "argument": {
                          "lambda": {
                            "parameter": "_",
                            "domain": {"literal": {"integer": "int32"}},
                            "body": {
                              "application": {
                                "function": {
                                  "application": {
                                    "function": {
                                      "typeApplication": {
                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": "unit"}},
                                        "type": {"variable": "hydra.core.model.Term"}}},
                                    "argument": {"variable": "hydra.core.parse.core.whitespace"}}},
                                "argument": {
                                  "lambda": {
                                    "parameter": "_",
                                    "domain": "unit",
                                    "body": {
                                      "application": {
                                        "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.choice"}, "type": {"variable": "hydra.core.model.Term"}}},
                                        "argument": {
                                          "list": [
                                            {
                                              "application": {
                                                "function": {
                                                  "application": {
                                                    "function": {
                                                      "typeApplication": {
                                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                                        "type": {"variable": "hydra.core.model.Term"}}},
                                                    "argument": {
                                                      "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": "]"}}}}}},
                                                "argument": {
                                                  "lambda": {
                                                    "parameter": "_",
                                                    "domain": {"literal": "string"},
                                                    "body": {
                                                      "application": {
                                                        "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"variable": "hydra.core.model.Term"}}},
                                                        "argument": {"inject": {"typeName": "hydra.core.model.Term", "field": {"name": "unwrap", "term": {"variable": "tname"}}}}}}}}}},
                                            {
                                              "application": {
                                                "function": {
                                                  "application": {
                                                    "function": {
                                                      "typeApplication": {
                                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"variable": "hydra.core.model.Name"}}},
                                                        "type": {"variable": "hydra.core.model.Term"}}},
                                                    "argument": {"variable": "hydra.core.parse.core.name"}}},
                                                "argument": {
                                                  "lambda": {
                                                    "parameter": "fname",
                                                    "domain": {"variable": "hydra.core.model.Name"},
                                                    "body": {
                                                      "application": {
                                                        "function": {
                                                          "application": {
                                                            "function": {
                                                              "typeApplication": {
                                                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                                                "type": {"variable": "hydra.core.model.Term"}}},
                                                            "argument": {
                                                              "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": "]"}}}}}},
                                                        "argument": {
                                                          "lambda": {
                                                            "parameter": "_",
                                                            "domain": {"literal": "string"},
                                                            "body": {
                                                              "application": {
                                                                "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"variable": "hydra.core.model.Term"}}},
                                                                "argument": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [{"name": "typeName", "term": {"variable": "tname"}}, {"name": "fieldName", "term": {"variable": "fname"}}]}}}}}}}}}}}}}}}]}}}}}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "Parse nominal elimination sugar: 'Name[field]' (projection) or 'Name[]' (unwrap) (#809)"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.parse.core.caseSugarField",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {"function": {"variable": "hydra.core.parsing.Parser"}, "argument": {"variable": "hydra.core.model.Field"}}}}},
        "body": {
          "annotated": {
            "body": {
              "application": {
                "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.choice"}, "type": {"variable": "hydra.core.model.Field"}}},
                "argument": {
                  "list": [
                    {
                      "application": {
                        "function": {
                          "application": {
                            "function": {
                              "typeApplication": {
                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                "type": {"variable": "hydra.core.model.Field"}}},
                            "argument": {
                              "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": "_"}}}}}},
                        "argument": {
                          "lambda": {
                            "parameter": "_",
                            "domain": {"literal": "string"},
                            "body": {
                              "application": {
                                "function": {
                                  "application": {
                                    "function": {
                                      "typeApplication": {
                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                        "type": {"variable": "hydra.core.model.Field"}}},
                                    "argument": {
                                      "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": "="}}}}}},
                                "argument": {
                                  "lambda": {
                                    "parameter": "_",
                                    "domain": {"literal": "string"},
                                    "body": {
                                      "application": {
                                        "function": {
                                          "application": {
                                            "function": {
                                              "typeApplication": {
                                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.map"}, "type": {"variable": "hydra.core.model.Term"}}},
                                                "type": {"variable": "hydra.core.model.Field"}}},
                                            "argument": {
                                              "lambda": {
                                                "parameter": "body",
                                                "domain": {"variable": "hydra.core.model.Term"},
                                                "body": {
                                                  "record": {
                                                    "typeName": "hydra.core.model.Field",
                                                    "fields": [
                                                      {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "_"}}}}},
                                                      {"name": "term", "term": {"variable": "body"}}]}}}}}},
                                        "argument": {
                                          "application": {
                                            "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.lazy"}, "type": {"variable": "hydra.core.model.Term"}}},
                                            "argument": {"lambda": {"parameter": "_", "domain": "unit", "body": {"variable": "hydra.core.parse.core.term"}}}}}}}}}}}}}}},
                    {
                      "application": {
                        "function": {
                          "application": {
                            "function": {
                              "typeApplication": {
                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"variable": "hydra.core.model.Name"}}},
                                "type": {"variable": "hydra.core.model.Field"}}},
                            "argument": {"variable": "hydra.core.parse.core.name"}}},
                        "argument": {
                          "lambda": {
                            "parameter": "vname",
                            "domain": {"variable": "hydra.core.model.Name"},
                            "body": {
                              "application": {
                                "function": {
                                  "application": {
                                    "function": {
                                      "typeApplication": {
                                        "body": {
                                          "typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"optional": {"variable": "hydra.core.model.Name"}}}},
                                        "type": {"variable": "hydra.core.model.Field"}}},
                                    "argument": {
                                      "application": {
                                        "function": {
                                          "typeApplication": {"body": {"variable": "hydra.core.parsers.optional"}, "type": {"variable": "hydra.core.model.Name"}}},
                                        "argument": {"variable": "hydra.core.parse.core.binderName"}}}}},
                                "argument": {
                                  "lambda": {
                                    "parameter": "mbinder",
                                    "domain": {"optional": {"variable": "hydra.core.model.Name"}},
                                    "body": {
                                      "application": {
                                        "function": {
                                          "application": {
                                            "function": {
                                              "typeApplication": {
                                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                                "type": {"variable": "hydra.core.model.Field"}}},
                                            "argument": {
                                              "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": "="}}}}}},
                                        "argument": {
                                          "lambda": {
                                            "parameter": "_",
                                            "domain": {"literal": "string"},
                                            "body": {
                                              "application": {
                                                "function": {
                                                  "application": {
                                                    "function": {
                                                      "typeApplication": {
                                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.map"}, "type": {"variable": "hydra.core.model.Term"}}},
                                                        "type": {"variable": "hydra.core.model.Field"}}},
                                                    "argument": {
                                                      "lambda": {
                                                        "parameter": "body",
                                                        "domain": {"variable": "hydra.core.model.Term"},
                                                        "body": {
                                                          "let": {
                                                            "bindings": [
                                                              {
                                                                "name": "handler",
                                                                "term": {
                                                                  "application": {
                                                                    "function": {
                                                                      "application": {
                                                                        "function": {
                                                                          "application": {
                                                                            "function": {
                                                                              "typeApplication": {
                                                                                "body": {
                                                                                  "typeApplication": {"body": {"variable": "hydra.core.lib.optionals.match"}, "type": {"variable": "hydra.core.model.Name"}}},
                                                                                "type": {"variable": "hydra.core.model.Term"}}},
                                                                            "argument": {"variable": "mbinder"}}},
                                                                        "argument": {"variable": "body"}}},
                                                                    "argument": {
                                                                      "lambda": {
                                                                        "parameter": "b",
                                                                        "domain": {"variable": "hydra.core.model.Name"},
                                                                        "body": {
                                                                          "inject": {
                                                                            "typeName": "hydra.core.model.Term",
                                                                            "field": {
                                                                              "name": "lambda",
                                                                              "term": {
                                                                                "record": {
                                                                                  "typeName": "hydra.core.model.Lambda",
                                                                                  "fields": [
                                                                                    {"name": "parameter", "term": {"variable": "b"}},
                                                                                    {
                                                                                      "name": "domain",
                                                                                      "term": {"typeApplication": {"body": {"optional": null}, "type": {"variable": "hydra.core.model.Type"}}}},
                                                                                    {"name": "body", "term": {"variable": "body"}}]}}}}}}}}},
                                                                "typeScheme": {"variables": [], "body": {"variable": "hydra.core.model.Term"}, "constraints": []}}],
                                                            "body": {
                                                              "record": {
                                                                "typeName": "hydra.core.model.Field",
                                                                "fields": [{"name": "name", "term": {"variable": "vname"}}, {"name": "term", "term": {"variable": "handler"}}]}}}}}}}},
                                                "argument": {
                                                  "application": {
                                                    "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.lazy"}, "type": {"variable": "hydra.core.model.Term"}}},
                                                    "argument": {"lambda": {"parameter": "_", "domain": "unit", "body": {"variable": "hydra.core.parse.core.term"}}}}}}}}}}}}}}}}}}}]}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {
                    "literal": {"string": "Parse an applied-case branch: 'name [binder] = body' (binder ⇒ λ-handler), or '_ = body' (#809)"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.parse.core.caseSugarTerm",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {"function": {"variable": "hydra.core.parsing.Parser"}, "argument": {"variable": "hydra.core.model.Term"}}}}},
        "body": {
          "annotated": {
            "body": {
              "application": {
                "function": {
                  "application": {
                    "function": {
                      "typeApplication": {
                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                        "type": {"variable": "hydra.core.model.Term"}}},
                    "argument": {
                      "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": "case"}}}}}},
                "argument": {
                  "lambda": {
                    "parameter": "_",
                    "domain": {"literal": "string"},
                    "body": {
                      "application": {
                        "function": {
                          "application": {
                            "function": {
                              "typeApplication": {
                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"variable": "hydra.core.model.Name"}}},
                                "type": {"variable": "hydra.core.model.Term"}}},
                            "argument": {"variable": "hydra.core.parse.core.name"}}},
                        "argument": {
                          "lambda": {
                            "parameter": "tname",
                            "domain": {"variable": "hydra.core.model.Name"},
                            "body": {
                              "application": {
                                "function": {
                                  "application": {
                                    "function": {
                                      "typeApplication": {
                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"variable": "hydra.core.model.Term"}}},
                                        "type": {"variable": "hydra.core.model.Term"}}},
                                    "argument": {"variable": "hydra.core.parse.core.postfixTerm"}}},
                                "argument": {
                                  "lambda": {
                                    "parameter": "scrutinee",
                                    "domain": {"variable": "hydra.core.model.Term"},
                                    "body": {
                                      "application": {
                                        "function": {
                                          "application": {
                                            "function": {
                                              "typeApplication": {
                                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                                "type": {"variable": "hydra.core.model.Term"}}},
                                            "argument": {
                                              "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": "{"}}}}}},
                                        "argument": {
                                          "lambda": {
                                            "parameter": "_",
                                            "domain": {"literal": "string"},
                                            "body": {
                                              "application": {
                                                "function": {
                                                  "application": {
                                                    "function": {
                                                      "typeApplication": {
                                                        "body": {
                                                          "typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"list": {"variable": "hydra.core.model.Field"}}}},
                                                        "type": {"variable": "hydra.core.model.Term"}}},
                                                    "argument": {
                                                      "application": {
                                                        "function": {
                                                          "application": {
                                                            "function": {
                                                              "typeApplication": {
                                                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.sepBy"}, "type": {"variable": "hydra.core.model.Field"}}},
                                                                "type": {"literal": "string"}}},
                                                            "argument": {"variable": "hydra.core.parse.core.caseSugarField"}}},
                                                        "argument": {
                                                          "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": ","}}}}}}}},
                                                "argument": {
                                                  "lambda": {
                                                    "parameter": "flds",
                                                    "domain": {"list": {"variable": "hydra.core.model.Field"}},
                                                    "body": {
                                                      "application": {
                                                        "function": {
                                                          "application": {
                                                            "function": {
                                                              "typeApplication": {
                                                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                                                "type": {"variable": "hydra.core.model.Term"}}},
                                                            "argument": {
                                                              "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": "}"}}}}}},
                                                        "argument": {
                                                          "lambda": {
                                                            "parameter": "_",
                                                            "domain": {"literal": "string"},
                                                            "body": {
                                                              "let": {
                                                                "bindings": [
                                                                  {
                                                                    "name": "isDefault",
                                                                    "term": {
                                                                      "lambda": {
                                                                        "parameter": "f",
                                                                        "domain": {"variable": "hydra.core.model.Field"},
                                                                        "body": {
                                                                          "application": {
                                                                            "function": {
                                                                              "application": {
                                                                                "function": {"typeApplication": {"body": {"variable": "hydra.core.lib.equality.equal"}, "type": {"literal": "string"}}},
                                                                                "argument": {
                                                                                  "application": {
                                                                                    "function": {"unwrap": "hydra.core.model.Name"},
                                                                                    "argument": {
                                                                                      "application": {"function": {"project": {"typeName": "hydra.core.model.Field", "fieldName": "name"}}, "argument": {"variable": "f"}}}}}}},
                                                                            "argument": {"literal": {"string": "_"}}}}}},
                                                                    "typeScheme": {
                                                                      "variables": [],
                                                                      "body": {"function": {"domain": {"variable": "hydra.core.model.Field"}, "codomain": {"literal": "boolean"}}},
                                                                      "constraints": []}}],
                                                                "body": {
                                                                  "let": {
                                                                    "bindings": [
                                                                      {
                                                                        "name": "defFields",
                                                                        "term": {
                                                                          "application": {
                                                                            "function": {
                                                                              "application": {
                                                                                "function": {
                                                                                  "typeApplication": {"body": {"variable": "hydra.core.lib.lists.filter"}, "type": {"variable": "hydra.core.model.Field"}}},
                                                                                "argument": {"variable": "isDefault"}}},
                                                                            "argument": {"variable": "flds"}}},
                                                                        "typeScheme": {"variables": [], "body": {"list": {"variable": "hydra.core.model.Field"}}, "constraints": []}}],
                                                                    "body": {
                                                                      "let": {
                                                                        "bindings": [
                                                                          {
                                                                            "name": "caseFields",
                                                                            "term": {
                                                                              "application": {
                                                                                "function": {
                                                                                  "application": {
                                                                                    "function": {
                                                                                      "typeApplication": {"body": {"variable": "hydra.core.lib.lists.filter"}, "type": {"variable": "hydra.core.model.Field"}}},
                                                                                    "argument": {
                                                                                      "lambda": {
                                                                                        "parameter": "f",
                                                                                        "domain": {"variable": "hydra.core.model.Field"},
                                                                                        "body": {
                                                                                          "application": {
                                                                                            "function": {"variable": "hydra.core.lib.logic.not"},
                                                                                            "argument": {"application": {"function": {"variable": "isDefault"}, "argument": {"variable": "f"}}}}}}}}},
                                                                                "argument": {"variable": "flds"}}},
                                                                            "typeScheme": {"variables": [], "body": {"list": {"variable": "hydra.core.model.Field"}}, "constraints": []}}],
                                                                        "body": {
                                                                          "let": {
                                                                            "bindings": [
                                                                              {
                                                                                "name": "mdef",
                                                                                "term": {
                                                                                  "application": {
                                                                                    "function": {
                                                                                      "application": {
                                                                                        "function": {
                                                                                          "application": {
                                                                                            "function": {
                                                                                              "typeApplication": {
                                                                                                "body": {
                                                                                                  "typeApplication": {"body": {"variable": "hydra.core.lib.optionals.match"}, "type": {"variable": "hydra.core.model.Field"}}},
                                                                                                "type": {"optional": {"variable": "hydra.core.model.Term"}}}},
                                                                                            "argument": {
                                                                                              "application": {
                                                                                                "function": {"typeApplication": {"body": {"variable": "hydra.core.lib.lists.head"}, "type": {"variable": "hydra.core.model.Field"}}},
                                                                                                "argument": {"variable": "defFields"}}}}},
                                                                                        "argument": {"typeApplication": {"body": {"optional": null}, "type": {"variable": "hydra.core.model.Term"}}}}},
                                                                                    "argument": {
                                                                                      "lambda": {
                                                                                        "parameter": "f",
                                                                                        "domain": {"variable": "hydra.core.model.Field"},
                                                                                        "body": {
                                                                                          "optional": {
                                                                                            "application": {"function": {"project": {"typeName": "hydra.core.model.Field", "fieldName": "term"}}, "argument": {"variable": "f"}}}}}}}},
                                                                                "typeScheme": {"variables": [], "body": {"optional": {"variable": "hydra.core.model.Term"}}, "constraints": []}}],
                                                                            "body": {
                                                                              "let": {
                                                                                "bindings": [
                                                                                  {
                                                                                    "name": "alts",
                                                                                    "term": {
                                                                                      "application": {
                                                                                        "function": {
                                                                                          "application": {
                                                                                            "function": {
                                                                                              "typeApplication": {
                                                                                                "body": {"typeApplication": {"body": {"variable": "hydra.core.lib.lists.map"}, "type": {"variable": "hydra.core.model.Field"}}},
                                                                                                "type": {"variable": "hydra.core.model.CaseAlternative"}}},
                                                                                            "argument": {
                                                                                              "lambda": {
                                                                                                "parameter": "f",
                                                                                                "domain": {"variable": "hydra.core.model.Field"},
                                                                                                "body": {
                                                                                                  "record": {
                                                                                                    "typeName": "hydra.core.model.CaseAlternative",
                                                                                                    "fields": [
                                                                                                      {
                                                                                                        "name": "name",
                                                                                                        "term": {
                                                                                                          "application": {"function": {"project": {"typeName": "hydra.core.model.Field", "fieldName": "name"}}, "argument": {"variable": "f"}}}},
                                                                                                      {
                                                                                                        "name": "handler",
                                                                                                        "term": {
                                                                                                          "application": {"function": {"project": {"typeName": "hydra.core.model.Field", "fieldName": "term"}}, "argument": {"variable": "f"}}}}]}}}}}},
                                                                                        "argument": {"variable": "caseFields"}}},
                                                                                    "typeScheme": {"variables": [], "body": {"list": {"variable": "hydra.core.model.CaseAlternative"}}, "constraints": []}}],
                                                                                "body": {
                                                                                  "let": {
                                                                                    "bindings": [
                                                                                      {
                                                                                        "name": "matcher",
                                                                                        "term": {
                                                                                          "inject": {
                                                                                            "typeName": "hydra.core.model.Term",
                                                                                            "field": {
                                                                                              "name": "cases",
                                                                                              "term": {
                                                                                                "record": {
                                                                                                  "typeName": "hydra.core.model.CaseStatement",
                                                                                                  "fields": [
                                                                                                    {"name": "typeName", "term": {"variable": "tname"}},
                                                                                                    {"name": "default", "term": {"variable": "mdef"}},
                                                                                                    {"name": "cases", "term": {"variable": "alts"}}]}}}}},
                                                                                        "typeScheme": {"variables": [], "body": {"variable": "hydra.core.model.Term"}, "constraints": []}}],
                                                                                    "body": {
                                                                                      "application": {
                                                                                        "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"variable": "hydra.core.model.Term"}}},
                                                                                        "argument": {
                                                                                          "inject": {
                                                                                            "typeName": "hydra.core.model.Term",
                                                                                            "field": {
                                                                                              "name": "application",
                                                                                              "term": {
                                                                                                "record": {
                                                                                                  "typeName": "hydra.core.model.Application",
                                                                                                  "fields": [{"name": "function", "term": {"variable": "matcher"}}, {"name": "argument", "term": {"variable": "scrutinee"}}]}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {
                    "literal": {
                      "string": "Parse applied case sugar: 'case' TypeName scrutinee '{' branches '}', desugaring to an applied cases (#809)"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.parse.core.caseTerm",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {"function": {"variable": "hydra.core.parsing.Parser"}, "argument": {"variable": "hydra.core.model.Term"}}}}},
        "body": {
          "annotated": {
            "body": {
              "application": {
                "function": {
                  "application": {
                    "function": {
                      "typeApplication": {
                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"variable": "hydra.core.model.Name"}}},
                        "type": {"variable": "hydra.core.model.Term"}}},
                    "argument": {
                      "application": {
                        "function": {
                          "application": {
                            "function": {
                              "typeApplication": {
                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                "type": {"variable": "hydra.core.model.Name"}}},
                            "argument": {
                              "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": "cases"}}}}}},
                        "argument": {
                          "lambda": {
                            "parameter": "_",
                            "domain": {"literal": "string"},
                            "body": {
                              "application": {
                                "function": {
                                  "application": {
                                    "function": {
                                      "typeApplication": {
                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                        "type": {"variable": "hydra.core.model.Name"}}},
                                    "argument": {
                                      "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": "("}}}}}},
                                "argument": {
                                  "lambda": {
                                    "parameter": "_",
                                    "domain": {"literal": "string"},
                                    "body": {
                                      "application": {
                                        "function": {
                                          "application": {
                                            "function": {
                                              "typeApplication": {
                                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"variable": "hydra.core.model.Name"}}},
                                                "type": {"variable": "hydra.core.model.Name"}}},
                                            "argument": {"variable": "hydra.core.parse.core.name"}}},
                                        "argument": {
                                          "lambda": {
                                            "parameter": "n",
                                            "domain": {"variable": "hydra.core.model.Name"},
                                            "body": {
                                              "application": {
                                                "function": {
                                                  "application": {
                                                    "function": {
                                                      "typeApplication": {
                                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                                        "type": {"variable": "hydra.core.model.Name"}}},
                                                    "argument": {
                                                      "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": ")"}}}}}},
                                                "argument": {
                                                  "lambda": {
                                                    "parameter": "_",
                                                    "domain": {"literal": "string"},
                                                    "body": {
                                                      "application": {
                                                        "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"variable": "hydra.core.model.Name"}}},
                                                        "argument": {"variable": "n"}}}}}}}}}}}}}}}}}}}}},
                "argument": {
                  "lambda": {
                    "parameter": "tname",
                    "domain": {"variable": "hydra.core.model.Name"},
                    "body": {
                      "application": {
                        "function": {
                          "application": {
                            "function": {
                              "typeApplication": {
                                "body": {
                                  "typeApplication": {"body": {"variable": "hydra.core.parsers.map"}, "type": {"list": {"variable": "hydra.core.model.Field"}}}},
                                "type": {"variable": "hydra.core.model.Term"}}},
                            "argument": {
                              "lambda": {
                                "parameter": "flds",
                                "domain": {"list": {"variable": "hydra.core.model.Field"}},
                                "body": {
                                  "let": {
                                    "bindings": [
                                      {
                                        "name": "isDefault",
                                        "term": {
                                          "lambda": {
                                            "parameter": "f",
                                            "domain": {"variable": "hydra.core.model.Field"},
                                            "body": {
                                              "application": {
                                                "function": {
                                                  "application": {
                                                    "function": {"typeApplication": {"body": {"variable": "hydra.core.lib.equality.equal"}, "type": {"literal": "string"}}},
                                                    "argument": {
                                                      "application": {
                                                        "function": {"unwrap": "hydra.core.model.Name"},
                                                        "argument": {
                                                          "application": {"function": {"project": {"typeName": "hydra.core.model.Field", "fieldName": "name"}}, "argument": {"variable": "f"}}}}}}},
                                                "argument": {"literal": {"string": "_"}}}}}},
                                        "typeScheme": {
                                          "variables": [],
                                          "body": {"function": {"domain": {"variable": "hydra.core.model.Field"}, "codomain": {"literal": "boolean"}}},
                                          "constraints": []}}],
                                    "body": {
                                      "let": {
                                        "bindings": [
                                          {
                                            "name": "defFields",
                                            "term": {
                                              "application": {
                                                "function": {
                                                  "application": {
                                                    "function": {
                                                      "typeApplication": {"body": {"variable": "hydra.core.lib.lists.filter"}, "type": {"variable": "hydra.core.model.Field"}}},
                                                    "argument": {"variable": "isDefault"}}},
                                                "argument": {"variable": "flds"}}},
                                            "typeScheme": {"variables": [], "body": {"list": {"variable": "hydra.core.model.Field"}}, "constraints": []}}],
                                        "body": {
                                          "let": {
                                            "bindings": [
                                              {
                                                "name": "caseFields",
                                                "term": {
                                                  "application": {
                                                    "function": {
                                                      "application": {
                                                        "function": {
                                                          "typeApplication": {"body": {"variable": "hydra.core.lib.lists.filter"}, "type": {"variable": "hydra.core.model.Field"}}},
                                                        "argument": {
                                                          "lambda": {
                                                            "parameter": "f",
                                                            "domain": {"variable": "hydra.core.model.Field"},
                                                            "body": {
                                                              "application": {
                                                                "function": {"variable": "hydra.core.lib.logic.not"},
                                                                "argument": {"application": {"function": {"variable": "isDefault"}, "argument": {"variable": "f"}}}}}}}}},
                                                    "argument": {"variable": "flds"}}},
                                                "typeScheme": {"variables": [], "body": {"list": {"variable": "hydra.core.model.Field"}}, "constraints": []}}],
                                            "body": {
                                              "let": {
                                                "bindings": [
                                                  {
                                                    "name": "mdef",
                                                    "term": {
                                                      "application": {
                                                        "function": {
                                                          "application": {
                                                            "function": {
                                                              "application": {
                                                                "function": {
                                                                  "typeApplication": {
                                                                    "body": {
                                                                      "typeApplication": {"body": {"variable": "hydra.core.lib.optionals.match"}, "type": {"variable": "hydra.core.model.Field"}}},
                                                                    "type": {"optional": {"variable": "hydra.core.model.Term"}}}},
                                                                "argument": {
                                                                  "application": {
                                                                    "function": {"typeApplication": {"body": {"variable": "hydra.core.lib.lists.head"}, "type": {"variable": "hydra.core.model.Field"}}},
                                                                    "argument": {"variable": "defFields"}}}}},
                                                            "argument": {"typeApplication": {"body": {"optional": null}, "type": {"variable": "hydra.core.model.Term"}}}}},
                                                        "argument": {
                                                          "lambda": {
                                                            "parameter": "f",
                                                            "domain": {"variable": "hydra.core.model.Field"},
                                                            "body": {
                                                              "optional": {
                                                                "application": {"function": {"project": {"typeName": "hydra.core.model.Field", "fieldName": "term"}}, "argument": {"variable": "f"}}}}}}}},
                                                    "typeScheme": {"variables": [], "body": {"optional": {"variable": "hydra.core.model.Term"}}, "constraints": []}}],
                                                "body": {
                                                  "let": {
                                                    "bindings": [
                                                      {
                                                        "name": "alts",
                                                        "term": {
                                                          "application": {
                                                            "function": {
                                                              "application": {
                                                                "function": {
                                                                  "typeApplication": {
                                                                    "body": {"typeApplication": {"body": {"variable": "hydra.core.lib.lists.map"}, "type": {"variable": "hydra.core.model.Field"}}},
                                                                    "type": {"variable": "hydra.core.model.CaseAlternative"}}},
                                                                "argument": {
                                                                  "lambda": {
                                                                    "parameter": "f",
                                                                    "domain": {"variable": "hydra.core.model.Field"},
                                                                    "body": {
                                                                      "record": {
                                                                        "typeName": "hydra.core.model.CaseAlternative",
                                                                        "fields": [
                                                                          {
                                                                            "name": "name",
                                                                            "term": {
                                                                              "application": {"function": {"project": {"typeName": "hydra.core.model.Field", "fieldName": "name"}}, "argument": {"variable": "f"}}}},
                                                                          {
                                                                            "name": "handler",
                                                                            "term": {
                                                                              "application": {"function": {"project": {"typeName": "hydra.core.model.Field", "fieldName": "term"}}, "argument": {"variable": "f"}}}}]}}}}}},
                                                            "argument": {"variable": "caseFields"}}},
                                                        "typeScheme": {"variables": [], "body": {"list": {"variable": "hydra.core.model.CaseAlternative"}}, "constraints": []}}],
                                                    "body": {
                                                      "inject": {
                                                        "typeName": "hydra.core.model.Term",
                                                        "field": {
                                                          "name": "cases",
                                                          "term": {
                                                            "record": {
                                                              "typeName": "hydra.core.model.CaseStatement",
                                                              "fields": [
                                                                {"name": "typeName", "term": {"variable": "tname"}},
                                                                {"name": "default", "term": {"variable": "mdef"}},
                                                                {"name": "cases", "term": {"variable": "alts"}}]}}}}}}}}}}}}}}}}}}},
                        "argument": {
                          "application": {
                            "function": {
                              "application": {
                                "function": {
                                  "typeApplication": {
                                    "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                    "type": {"list": {"variable": "hydra.core.model.Field"}}}},
                                "argument": {
                                  "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": "{"}}}}}},
                            "argument": {
                              "lambda": {
                                "parameter": "_",
                                "domain": {"literal": "string"},
                                "body": {
                                  "application": {
                                    "function": {
                                      "application": {
                                        "function": {
                                          "typeApplication": {
                                            "body": {
                                              "typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"list": {"variable": "hydra.core.model.Field"}}}},
                                            "type": {"list": {"variable": "hydra.core.model.Field"}}}},
                                        "argument": {
                                          "application": {
                                            "function": {
                                              "application": {
                                                "function": {
                                                  "typeApplication": {
                                                    "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.sepBy"}, "type": {"variable": "hydra.core.model.Field"}}},
                                                    "type": {"literal": "string"}}},
                                                "argument": {"variable": "hydra.core.parse.core.caseTermField"}}},
                                            "argument": {
                                              "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": ","}}}}}}}},
                                    "argument": {
                                      "lambda": {
                                        "parameter": "flds",
                                        "domain": {"list": {"variable": "hydra.core.model.Field"}},
                                        "body": {
                                          "application": {
                                            "function": {
                                              "application": {
                                                "function": {
                                                  "typeApplication": {
                                                    "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                                    "type": {"list": {"variable": "hydra.core.model.Field"}}}},
                                                "argument": {
                                                  "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": "}"}}}}}},
                                            "argument": {
                                              "lambda": {
                                                "parameter": "_",
                                                "domain": {"literal": "string"},
                                                "body": {
                                                  "application": {
                                                    "function": {
                                                      "typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"list": {"variable": "hydra.core.model.Field"}}}},
                                                    "argument": {"variable": "flds"}}}}}}}}}}}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {
                    "literal": {"string": "Parse a case term: 'cases' '(' name ')' termFields, splitting off a trailing '_' default field"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.parse.core.caseTermField",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {"function": {"variable": "hydra.core.parsing.Parser"}, "argument": {"variable": "hydra.core.model.Field"}}}}},
        "body": {
          "annotated": {
            "body": {
              "application": {
                "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.choice"}, "type": {"variable": "hydra.core.model.Field"}}},
                "argument": {
                  "list": [
                    {
                      "application": {
                        "function": {
                          "application": {
                            "function": {
                              "typeApplication": {
                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                "type": {"variable": "hydra.core.model.Field"}}},
                            "argument": {
                              "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": "_"}}}}}},
                        "argument": {
                          "lambda": {
                            "parameter": "_",
                            "domain": {"literal": "string"},
                            "body": {
                              "application": {
                                "function": {
                                  "application": {
                                    "function": {
                                      "typeApplication": {
                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                        "type": {"variable": "hydra.core.model.Field"}}},
                                    "argument": {
                                      "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": "="}}}}}},
                                "argument": {
                                  "lambda": {
                                    "parameter": "_",
                                    "domain": {"literal": "string"},
                                    "body": {
                                      "application": {
                                        "function": {
                                          "application": {
                                            "function": {
                                              "typeApplication": {
                                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.map"}, "type": {"variable": "hydra.core.model.Term"}}},
                                                "type": {"variable": "hydra.core.model.Field"}}},
                                            "argument": {
                                              "lambda": {
                                                "parameter": "body",
                                                "domain": {"variable": "hydra.core.model.Term"},
                                                "body": {
                                                  "record": {
                                                    "typeName": "hydra.core.model.Field",
                                                    "fields": [
                                                      {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "_"}}}}},
                                                      {"name": "term", "term": {"variable": "body"}}]}}}}}},
                                        "argument": {
                                          "application": {
                                            "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.lazy"}, "type": {"variable": "hydra.core.model.Term"}}},
                                            "argument": {"lambda": {"parameter": "_", "domain": "unit", "body": {"variable": "hydra.core.parse.core.term"}}}}}}}}}}}}}}},
                    {"variable": "hydra.core.parse.core.termField"}]}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "Parse a raw cases field: '_' '=' term (default handler) or an ordinary term field (#822)"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.parse.core.constraint",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.parsing.Parser"},
                "argument": {"pair": {"first": {"variable": "hydra.core.model.Name"}, "second": {"variable": "hydra.core.model.Name"}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "application": {
                "function": {
                  "application": {
                    "function": {
                      "typeApplication": {
                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"variable": "hydra.core.model.Name"}}},
                        "type": {"pair": {"first": {"variable": "hydra.core.model.Name"}, "second": {"variable": "hydra.core.model.Name"}}}}},
                    "argument": {"variable": "hydra.core.parse.core.name"}}},
                "argument": {
                  "lambda": {
                    "parameter": "cls",
                    "domain": {"variable": "hydra.core.model.Name"},
                    "body": {
                      "application": {
                        "function": {
                          "application": {
                            "function": {
                              "typeApplication": {
                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.map"}, "type": {"variable": "hydra.core.model.Name"}}},
                                "type": {"pair": {"first": {"variable": "hydra.core.model.Name"}, "second": {"variable": "hydra.core.model.Name"}}}}},
                            "argument": {
                              "lambda": {
                                "parameter": "v",
                                "domain": {"variable": "hydra.core.model.Name"},
                                "body": {
                                  "typeApplication": {
                                    "body": {
                                      "typeApplication": {
                                        "body": {"pair": {"first": {"variable": "cls"}, "second": {"variable": "v"}}},
                                        "type": {"variable": "hydra.core.model.Name"}}},
                                    "type": {"variable": "hydra.core.model.Name"}}}}}}},
                        "argument": {"variable": "hydra.core.parse.core.name"}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "Parse a type-class constraint: className typeVariable"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.parse.core.decimalDigits",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {"type": {"application": {"function": {"variable": "hydra.core.parsing.Parser"}, "argument": {"literal": "string"}}}}},
        "body": {
          "annotated": {
            "body": {
              "application": {
                "function": {
                  "application": {
                    "function": {
                      "typeApplication": {
                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                        "type": {"literal": "string"}}},
                    "argument": {"variable": "hydra.core.parse.core.signedDigits"}}},
                "argument": {
                  "lambda": {
                    "parameter": "intPart",
                    "domain": {"literal": "string"},
                    "body": {
                      "application": {
                        "function": {
                          "application": {
                            "function": {
                              "typeApplication": {
                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"optional": {"literal": "string"}}}},
                                "type": {"literal": "string"}}},
                            "argument": {
                              "application": {
                                "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.optional"}, "type": {"literal": "string"}}},
                                "argument": {
                                  "application": {
                                    "function": {
                                      "application": {
                                        "function": {
                                          "typeApplication": {
                                            "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": {"integer": "int32"}}}},
                                            "type": {"literal": "string"}}},
                                        "argument": {
                                          "application": {"function": {"variable": "hydra.core.parsers.char"}, "argument": {"literal": {"integer": {"int32": 46}}}}}}},
                                    "argument": {
                                      "lambda": {
                                        "parameter": "_",
                                        "domain": {"literal": {"integer": "int32"}},
                                        "body": {
                                          "application": {
                                            "function": {
                                              "application": {
                                                "function": {
                                                  "typeApplication": {
                                                    "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.map"}, "type": {"literal": "string"}}},
                                                    "type": {"literal": "string"}}},
                                                "argument": {
                                                  "lambda": {
                                                    "parameter": "ds",
                                                    "domain": {"literal": "string"},
                                                    "body": {
                                                      "application": {
                                                        "function": {"application": {"function": {"variable": "hydra.core.lib.strings.concat2"}, "argument": {"literal": {"string": "."}}}},
                                                        "argument": {"variable": "ds"}}}}}}},
                                            "argument": {"variable": "hydra.core.parse.core.unsignedDigits"}}}}}}}}}}},
                        "argument": {
                          "lambda": {
                            "parameter": "mfrac",
                            "domain": {"optional": {"literal": "string"}},
                            "body": {
                              "application": {
                                "function": {
                                  "application": {
                                    "function": {
                                      "typeApplication": {
                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"optional": {"literal": "string"}}}},
                                        "type": {"literal": "string"}}},
                                    "argument": {
                                      "application": {
                                        "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.optional"}, "type": {"literal": "string"}}},
                                        "argument": {
                                          "application": {
                                            "function": {
                                              "application": {
                                                "function": {
                                                  "typeApplication": {
                                                    "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": {"integer": "int32"}}}},
                                                    "type": {"literal": "string"}}},
                                                "argument": {
                                                  "application": {
                                                    "function": {"variable": "hydra.core.parsers.satisfy"},
                                                    "argument": {
                                                      "lambda": {
                                                        "parameter": "c",
                                                        "domain": {"literal": {"integer": "int32"}},
                                                        "body": {
                                                          "application": {
                                                            "function": {
                                                              "application": {
                                                                "function": {"variable": "hydra.core.lib.logic.or"},
                                                                "argument": {
                                                                  "application": {
                                                                    "function": {
                                                                      "application": {
                                                                        "function": {"typeApplication": {"body": {"variable": "hydra.core.lib.equality.equal"}, "type": {"literal": {"integer": "int32"}}}},
                                                                        "argument": {"variable": "c"}}},
                                                                    "argument": {"literal": {"integer": {"int32": 101}}}}}}},
                                                            "argument": {
                                                              "application": {
                                                                "function": {
                                                                  "application": {
                                                                    "function": {"typeApplication": {"body": {"variable": "hydra.core.lib.equality.equal"}, "type": {"literal": {"integer": "int32"}}}},
                                                                    "argument": {"variable": "c"}}},
                                                                "argument": {"literal": {"integer": {"int32": 69}}}}}}}}}}}}},
                                            "argument": {
                                              "lambda": {
                                                "parameter": "_",
                                                "domain": {"literal": {"integer": "int32"}},
                                                "body": {
                                                  "application": {
                                                    "function": {
                                                      "application": {
                                                        "function": {
                                                          "typeApplication": {
                                                            "body": {
                                                              "typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"optional": {"literal": {"integer": "int32"}}}}},
                                                            "type": {"literal": "string"}}},
                                                        "argument": {
                                                          "application": {
                                                            "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.optional"}, "type": {"literal": {"integer": "int32"}}}},
                                                            "argument": {
                                                              "application": {
                                                                "function": {"variable": "hydra.core.parsers.satisfy"},
                                                                "argument": {
                                                                  "lambda": {
                                                                    "parameter": "c",
                                                                    "domain": {"literal": {"integer": "int32"}},
                                                                    "body": {
                                                                      "application": {
                                                                        "function": {
                                                                          "application": {
                                                                            "function": {"variable": "hydra.core.lib.logic.or"},
                                                                            "argument": {
                                                                              "application": {
                                                                                "function": {
                                                                                  "application": {
                                                                                    "function": {"typeApplication": {"body": {"variable": "hydra.core.lib.equality.equal"}, "type": {"literal": {"integer": "int32"}}}},
                                                                                    "argument": {"variable": "c"}}},
                                                                                "argument": {"literal": {"integer": {"int32": 43}}}}}}},
                                                                        "argument": {
                                                                          "application": {
                                                                            "function": {
                                                                              "application": {
                                                                                "function": {"typeApplication": {"body": {"variable": "hydra.core.lib.equality.equal"}, "type": {"literal": {"integer": "int32"}}}},
                                                                                "argument": {"variable": "c"}}},
                                                                            "argument": {"literal": {"integer": {"int32": 45}}}}}}}}}}}}}}},
                                                    "argument": {
                                                      "lambda": {
                                                        "parameter": "msign",
                                                        "domain": {"optional": {"literal": {"integer": "int32"}}},
                                                        "body": {
                                                          "let": {
                                                            "bindings": [
                                                              {
                                                                "name": "signStr",
                                                                "term": {
                                                                  "application": {
                                                                    "function": {
                                                                      "application": {
                                                                        "function": {
                                                                          "application": {
                                                                            "function": {
                                                                              "typeApplication": {
                                                                                "body": {"typeApplication": {"body": {"variable": "hydra.core.lib.optionals.match"}, "type": {"literal": {"integer": "int32"}}}},
                                                                                "type": {"literal": "string"}}},
                                                                            "argument": {"variable": "msign"}}},
                                                                        "argument": {"literal": {"string": ""}}}},
                                                                    "argument": {
                                                                      "lambda": {
                                                                        "parameter": "c",
                                                                        "domain": {"literal": {"integer": "int32"}},
                                                                        "body": {
                                                                          "application": {"function": {"variable": "hydra.core.lib.strings.fromList"}, "argument": {"list": [{"variable": "c"}]}}}}}}},
                                                                "typeScheme": {"variables": [], "body": {"literal": "string"}, "constraints": []}}],
                                                            "body": {
                                                              "application": {
                                                                "function": {
                                                                  "application": {
                                                                    "function": {
                                                                      "typeApplication": {
                                                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.map"}, "type": {"literal": "string"}}},
                                                                        "type": {"literal": "string"}}},
                                                                    "argument": {
                                                                      "lambda": {
                                                                        "parameter": "ds",
                                                                        "domain": {"literal": "string"},
                                                                        "body": {
                                                                          "application": {
                                                                            "function": {"variable": "hydra.core.lib.strings.concat"},
                                                                            "argument": {"list": [{"literal": {"string": "e"}}, {"variable": "signStr"}, {"variable": "ds"}]}}}}}}},
                                                                "argument": {"variable": "hydra.core.parse.core.unsignedDigits"}}}}}}}}}}}}}}}}},
                                "argument": {
                                  "lambda": {
                                    "parameter": "mexp",
                                    "domain": {"optional": {"literal": "string"}},
                                    "body": {
                                      "application": {
                                        "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"literal": "string"}}},
                                        "argument": {
                                          "application": {
                                            "function": {"variable": "hydra.core.lib.strings.concat"},
                                            "argument": {
                                              "list": [
                                                {"variable": "intPart"},
                                                {
                                                  "application": {
                                                    "function": {
                                                      "application": {
                                                        "function": {"typeApplication": {"body": {"variable": "hydra.core.lib.optionals.withDefault"}, "type": {"literal": "string"}}},
                                                        "argument": {"literal": {"string": ""}}}},
                                                    "argument": {"variable": "mfrac"}}},
                                                {
                                                  "application": {
                                                    "function": {
                                                      "application": {
                                                        "function": {"typeApplication": {"body": {"variable": "hydra.core.lib.optionals.withDefault"}, "type": {"literal": "string"}}},
                                                        "argument": {"literal": {"string": ""}}}},
                                                    "argument": {"variable": "mexp"}}}]}}}}}}}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {
                    "literal": {"string": "Parse the digit string of a JSON-grammar number: sign, integer, optional fraction, optional exponent"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.parse.core.doClause",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.parsing.Parser"},
                "argument": {"pair": {"first": {"variable": "hydra.core.model.Name"}, "second": {"variable": "hydra.core.model.Term"}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "application": {
                "function": {
                  "application": {
                    "function": {
                      "typeApplication": {
                        "body": {"variable": "hydra.core.parsers.alt"},
                        "type": {"pair": {"first": {"variable": "hydra.core.model.Name"}, "second": {"variable": "hydra.core.model.Term"}}}}},
                    "argument": {
                      "application": {
                        "function": {
                          "typeApplication": {
                            "body": {"variable": "hydra.core.parsers.try"},
                            "type": {"pair": {"first": {"variable": "hydra.core.model.Name"}, "second": {"variable": "hydra.core.model.Term"}}}}},
                        "argument": {
                          "application": {
                            "function": {
                              "application": {
                                "function": {
                                  "typeApplication": {
                                    "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"variable": "hydra.core.model.Name"}}},
                                    "type": {"pair": {"first": {"variable": "hydra.core.model.Name"}, "second": {"variable": "hydra.core.model.Term"}}}}},
                                "argument": {"variable": "hydra.core.parse.core.name"}}},
                            "argument": {
                              "lambda": {
                                "parameter": "n",
                                "domain": {"variable": "hydra.core.model.Name"},
                                "body": {
                                  "application": {
                                    "function": {
                                      "application": {
                                        "function": {
                                          "typeApplication": {
                                            "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                            "type": {"pair": {"first": {"variable": "hydra.core.model.Name"}, "second": {"variable": "hydra.core.model.Term"}}}}},
                                        "argument": {
                                          "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": ":="}}}}}},
                                    "argument": {
                                      "lambda": {
                                        "parameter": "_",
                                        "domain": {"literal": "string"},
                                        "body": {
                                          "application": {
                                            "function": {
                                              "application": {
                                                "function": {
                                                  "typeApplication": {
                                                    "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.map"}, "type": {"variable": "hydra.core.model.Term"}}},
                                                    "type": {"pair": {"first": {"variable": "hydra.core.model.Name"}, "second": {"variable": "hydra.core.model.Term"}}}}},
                                                "argument": {
                                                  "lambda": {
                                                    "parameter": "e",
                                                    "domain": {"variable": "hydra.core.model.Term"},
                                                    "body": {
                                                      "typeApplication": {
                                                        "body": {
                                                          "typeApplication": {
                                                            "body": {"pair": {"first": {"variable": "n"}, "second": {"variable": "e"}}},
                                                            "type": {"variable": "hydra.core.model.Name"}}},
                                                        "type": {"variable": "hydra.core.model.Term"}}}}}}},
                                            "argument": {
                                              "application": {
                                                "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.lazy"}, "type": {"variable": "hydra.core.model.Term"}}},
                                                "argument": {"lambda": {"parameter": "_", "domain": "unit", "body": {"variable": "hydra.core.parse.core.term"}}}}}}}}}}}}}}}}}}},
                "argument": {
                  "application": {
                    "function": {
                      "application": {
                        "function": {
                          "typeApplication": {
                            "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.map"}, "type": {"variable": "hydra.core.model.Term"}}},
                            "type": {"pair": {"first": {"variable": "hydra.core.model.Name"}, "second": {"variable": "hydra.core.model.Term"}}}}},
                        "argument": {
                          "lambda": {
                            "parameter": "e",
                            "domain": {"variable": "hydra.core.model.Term"},
                            "body": {
                              "typeApplication": {
                                "body": {
                                  "typeApplication": {
                                    "body": {
                                      "pair": {
                                        "first": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "_"}}}},
                                        "second": {"variable": "e"}}},
                                    "type": {"variable": "hydra.core.model.Name"}}},
                                "type": {"variable": "hydra.core.model.Term"}}}}}}},
                    "argument": {
                      "application": {
                        "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.lazy"}, "type": {"variable": "hydra.core.model.Term"}}},
                        "argument": {"lambda": {"parameter": "_", "domain": "unit", "body": {"variable": "hydra.core.parse.core.term"}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "Parse a 'do' clause: 'name := term' (bind) or a bare term (sequence); bare uses binder '_'"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.parse.core.doTerm",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {"function": {"variable": "hydra.core.parsing.Parser"}, "argument": {"variable": "hydra.core.model.Term"}}}}},
        "body": {
          "annotated": {
            "body": {
              "application": {
                "function": {
                  "application": {
                    "function": {
                      "typeApplication": {
                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                        "type": {"variable": "hydra.core.model.Term"}}},
                    "argument": {
                      "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": "do"}}}}}},
                "argument": {
                  "lambda": {
                    "parameter": "_",
                    "domain": {"literal": "string"},
                    "body": {
                      "application": {
                        "function": {
                          "application": {
                            "function": {
                              "typeApplication": {
                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                "type": {"variable": "hydra.core.model.Term"}}},
                            "argument": {
                              "application": {
                                "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.choice"}, "type": {"literal": "string"}}},
                                "argument": {
                                  "list": [
                                    {
                                      "application": {
                                        "function": {
                                          "application": {
                                            "function": {
                                              "typeApplication": {
                                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                                "type": {"literal": "string"}}},
                                            "argument": {
                                              "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": "either"}}}}}},
                                        "argument": {
                                          "lambda": {
                                            "parameter": "_",
                                            "domain": {"literal": "string"},
                                            "body": {
                                              "application": {
                                                "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"literal": "string"}}},
                                                "argument": {"literal": {"string": "hydra.core.lib.eithers.bind"}}}}}}}},
                                    {
                                      "application": {
                                        "function": {
                                          "application": {
                                            "function": {
                                              "typeApplication": {
                                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                                "type": {"literal": "string"}}},
                                            "argument": {
                                              "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": "list"}}}}}},
                                        "argument": {
                                          "lambda": {
                                            "parameter": "_",
                                            "domain": {"literal": "string"},
                                            "body": {
                                              "application": {
                                                "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"literal": "string"}}},
                                                "argument": {"literal": {"string": "hydra.core.lib.lists.bind"}}}}}}}},
                                    {
                                      "application": {
                                        "function": {
                                          "application": {
                                            "function": {
                                              "typeApplication": {
                                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                                "type": {"literal": "string"}}},
                                            "argument": {
                                              "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": "optional"}}}}}},
                                        "argument": {
                                          "lambda": {
                                            "parameter": "_",
                                            "domain": {"literal": "string"},
                                            "body": {
                                              "application": {
                                                "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"literal": "string"}}},
                                                "argument": {"literal": {"string": "hydra.core.lib.optionals.bind"}}}}}}}},
                                    {
                                      "application": {
                                        "function": {
                                          "application": {
                                            "function": {
                                              "typeApplication": {
                                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                                "type": {"literal": "string"}}},
                                            "argument": {
                                              "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": "effect"}}}}}},
                                        "argument": {
                                          "lambda": {
                                            "parameter": "_",
                                            "domain": {"literal": "string"},
                                            "body": {
                                              "application": {
                                                "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"literal": "string"}}},
                                                "argument": {"literal": {"string": "hydra.core.lib.effects.bind"}}}}}}}}]}}}}},
                        "argument": {
                          "lambda": {
                            "parameter": "bindName",
                            "domain": {"literal": "string"},
                            "body": {
                              "application": {
                                "function": {
                                  "application": {
                                    "function": {
                                      "typeApplication": {
                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                        "type": {"variable": "hydra.core.model.Term"}}},
                                    "argument": {
                                      "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": "{"}}}}}},
                                "argument": {
                                  "lambda": {
                                    "parameter": "_",
                                    "domain": {"literal": "string"},
                                    "body": {
                                      "application": {
                                        "function": {
                                          "application": {
                                            "function": {
                                              "typeApplication": {
                                                "body": {
                                                  "typeApplication": {
                                                    "body": {"variable": "hydra.core.parsers.bind"},
                                                    "type": {"list": {"pair": {"first": {"variable": "hydra.core.model.Name"}, "second": {"variable": "hydra.core.model.Term"}}}}}},
                                                "type": {"variable": "hydra.core.model.Term"}}},
                                            "argument": {
                                              "application": {
                                                "function": {
                                                  "application": {
                                                    "function": {
                                                      "typeApplication": {
                                                        "body": {
                                                          "typeApplication": {
                                                            "body": {"variable": "hydra.core.parsers.sepBy1"},
                                                            "type": {"pair": {"first": {"variable": "hydra.core.model.Name"}, "second": {"variable": "hydra.core.model.Term"}}}}},
                                                        "type": {"literal": "string"}}},
                                                    "argument": {"variable": "hydra.core.parse.core.doClause"}}},
                                                "argument": {
                                                  "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": ","}}}}}}}},
                                        "argument": {
                                          "lambda": {
                                            "parameter": "clauses",
                                            "domain": {"list": {"pair": {"first": {"variable": "hydra.core.model.Name"}, "second": {"variable": "hydra.core.model.Term"}}}},
                                            "body": {
                                              "application": {
                                                "function": {
                                                  "application": {
                                                    "function": {
                                                      "typeApplication": {
                                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                                        "type": {"variable": "hydra.core.model.Term"}}},
                                                    "argument": {
                                                      "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": "}"}}}}}},
                                                "argument": {
                                                  "lambda": {
                                                    "parameter": "_",
                                                    "domain": {"literal": "string"},
                                                    "body": {
                                                      "application": {
                                                        "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"variable": "hydra.core.model.Term"}}},
                                                        "argument": {
                                                          "let": {
                                                            "bindings": [
                                                              {
                                                                "name": "bindRef",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {"name": "variable", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"variable": "bindName"}}}}}},
                                                                "typeScheme": {"variables": [], "body": {"variable": "hydra.core.model.Term"}, "constraints": []}}],
                                                            "body": {
                                                              "let": {
                                                                "bindings": [
                                                                  {
                                                                    "name": "step",
                                                                    "term": {
                                                                      "lambda": {
                                                                        "parameter": "clause",
                                                                        "domain": {"pair": {"first": {"variable": "hydra.core.model.Name"}, "second": {"variable": "hydra.core.model.Term"}}},
                                                                        "body": {
                                                                          "lambda": {
                                                                            "parameter": "acc",
                                                                            "domain": {"optional": {"variable": "hydra.core.model.Term"}},
                                                                            "body": {
                                                                              "application": {
                                                                                "function": {
                                                                                  "application": {
                                                                                    "function": {
                                                                                      "application": {
                                                                                        "function": {
                                                                                          "typeApplication": {
                                                                                            "body": {
                                                                                              "typeApplication": {"body": {"variable": "hydra.core.lib.optionals.match"}, "type": {"variable": "hydra.core.model.Term"}}},
                                                                                            "type": {"optional": {"variable": "hydra.core.model.Term"}}}},
                                                                                        "argument": {"variable": "acc"}}},
                                                                                    "argument": {
                                                                                      "optional": {
                                                                                        "application": {
                                                                                          "function": {
                                                                                            "typeApplication": {
                                                                                              "body": {
                                                                                                "typeApplication": {"body": {"variable": "hydra.core.lib.pairs.second"}, "type": {"variable": "hydra.core.model.Name"}}},
                                                                                              "type": {"variable": "hydra.core.model.Term"}}},
                                                                                          "argument": {"variable": "clause"}}}}}},
                                                                                "argument": {
                                                                                  "lambda": {
                                                                                    "parameter": "k",
                                                                                    "domain": {"variable": "hydra.core.model.Term"},
                                                                                    "body": {
                                                                                      "optional": {
                                                                                        "inject": {
                                                                                          "typeName": "hydra.core.model.Term",
                                                                                          "field": {
                                                                                            "name": "application",
                                                                                            "term": {
                                                                                              "record": {
                                                                                                "typeName": "hydra.core.model.Application",
                                                                                                "fields": [
                                                                                                  {
                                                                                                    "name": "function",
                                                                                                    "term": {
                                                                                                      "inject": {
                                                                                                        "typeName": "hydra.core.model.Term",
                                                                                                        "field": {
                                                                                                          "name": "application",
                                                                                                          "term": {
                                                                                                            "record": {
                                                                                                              "typeName": "hydra.core.model.Application",
                                                                                                              "fields": [
                                                                                                                {"name": "function", "term": {"variable": "bindRef"}},
                                                                                                                {
                                                                                                                  "name": "argument",
                                                                                                                  "term": {
                                                                                                                    "application": {
                                                                                                                      "function": {
                                                                                                                        "typeApplication": {
                                                                                                                          "body": {
                                                                                                                            "typeApplication": {"body": {"variable": "hydra.core.lib.pairs.second"}, "type": {"variable": "hydra.core.model.Name"}}},
                                                                                                                          "type": {"variable": "hydra.core.model.Term"}}},
                                                                                                                      "argument": {"variable": "clause"}}}}]}}}}}},
                                                                                                  {
                                                                                                    "name": "argument",
                                                                                                    "term": {
                                                                                                      "inject": {
                                                                                                        "typeName": "hydra.core.model.Term",
                                                                                                        "field": {
                                                                                                          "name": "lambda",
                                                                                                          "term": {
                                                                                                            "record": {
                                                                                                              "typeName": "hydra.core.model.Lambda",
                                                                                                              "fields": [
                                                                                                                {
                                                                                                                  "name": "parameter",
                                                                                                                  "term": {
                                                                                                                    "application": {
                                                                                                                      "function": {
                                                                                                                        "typeApplication": {
                                                                                                                          "body": {"typeApplication": {"body": {"variable": "hydra.core.lib.pairs.first"}, "type": {"variable": "hydra.core.model.Name"}}},
                                                                                                                          "type": {"variable": "hydra.core.model.Term"}}},
                                                                                                                      "argument": {"variable": "clause"}}}},
                                                                                                                {
                                                                                                                  "name": "domain",
                                                                                                                  "term": {"typeApplication": {"body": {"optional": null}, "type": {"variable": "hydra.core.model.Type"}}}},
                                                                                                                {"name": "body", "term": {"variable": "k"}}]}}}}}}]}}}}}}}}}}}}}},
                                                                    "typeScheme": {
                                                                      "variables": [],
                                                                      "body": {
                                                                        "function": {
                                                                          "domain": {"pair": {"first": {"variable": "hydra.core.model.Name"}, "second": {"variable": "hydra.core.model.Term"}}},
                                                                          "codomain": {
                                                                            "function": {
                                                                              "domain": {"optional": {"variable": "hydra.core.model.Term"}},
                                                                              "codomain": {"optional": {"variable": "hydra.core.model.Term"}}}}}},
                                                                      "constraints": []}}],
                                                                "body": {
                                                                  "application": {
                                                                    "function": {
                                                                      "application": {
                                                                        "function": {
                                                                          "typeApplication": {"body": {"variable": "hydra.core.lib.optionals.withDefault"}, "type": {"variable": "hydra.core.model.Term"}}},
                                                                        "argument": {"inject": {"typeName": "hydra.core.model.Term", "field": {"name": "unit", "term": "unit"}}}}},
                                                                    "argument": {
                                                                      "application": {
                                                                        "function": {
                                                                          "application": {
                                                                            "function": {
                                                                              "application": {
                                                                                "function": {
                                                                                  "typeApplication": {
                                                                                    "body": {
                                                                                      "typeApplication": {
                                                                                        "body": {"variable": "hydra.core.lib.lists.foldr"},
                                                                                        "type": {"pair": {"first": {"variable": "hydra.core.model.Name"}, "second": {"variable": "hydra.core.model.Term"}}}}},
                                                                                    "type": {"optional": {"variable": "hydra.core.model.Term"}}}},
                                                                                "argument": {"variable": "step"}}},
                                                                            "argument": {"typeApplication": {"body": {"optional": null}, "type": {"variable": "hydra.core.model.Term"}}}}},
                                                                        "argument": {"variable": "clauses"}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {
                    "literal": {"string": "Parse a monadic do-block: 'do' tag '{' clause (',' clause)* '}', desugaring to <tag>s.bind chains"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.parse.core.eitherTerm",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {"function": {"variable": "hydra.core.parsing.Parser"}, "argument": {"variable": "hydra.core.model.Term"}}}}},
        "body": {
          "annotated": {
            "body": {
              "application": {
                "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.choice"}, "type": {"variable": "hydra.core.model.Term"}}},
                "argument": {
                  "list": [
                    {
                      "application": {
                        "function": {
                          "application": {
                            "function": {
                              "typeApplication": {
                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.map"}, "type": {"variable": "hydra.core.model.Term"}}},
                                "type": {"variable": "hydra.core.model.Term"}}},
                            "argument": {
                              "lambda": {
                                "parameter": "t",
                                "domain": {"variable": "hydra.core.model.Term"},
                                "body": {
                                  "inject": {
                                    "typeName": "hydra.core.model.Term",
                                    "field": {
                                      "name": "either",
                                      "term": {
                                        "typeApplication": {
                                          "body": {"typeApplication": {"body": {"either": {"left": {"variable": "t"}}}, "type": {"variable": "hydra.core.model.Term"}}},
                                          "type": {"variable": "hydra.core.model.Term"}}}}}}}}}},
                        "argument": {
                          "application": {
                            "function": {
                              "application": {
                                "function": {
                                  "typeApplication": {
                                    "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                    "type": {"variable": "hydra.core.model.Term"}}},
                                "argument": {
                                  "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": "left"}}}}}},
                            "argument": {
                              "lambda": {
                                "parameter": "_",
                                "domain": {"literal": "string"},
                                "body": {
                                  "application": {
                                    "function": {
                                      "application": {
                                        "function": {
                                          "typeApplication": {
                                            "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                            "type": {"variable": "hydra.core.model.Term"}}},
                                        "argument": {
                                          "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": "("}}}}}},
                                    "argument": {
                                      "lambda": {
                                        "parameter": "_",
                                        "domain": {"literal": "string"},
                                        "body": {
                                          "application": {
                                            "function": {
                                              "application": {
                                                "function": {
                                                  "typeApplication": {
                                                    "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"variable": "hydra.core.model.Term"}}},
                                                    "type": {"variable": "hydra.core.model.Term"}}},
                                                "argument": {
                                                  "application": {
                                                    "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.lazy"}, "type": {"variable": "hydra.core.model.Term"}}},
                                                    "argument": {"lambda": {"parameter": "_", "domain": "unit", "body": {"variable": "hydra.core.parse.core.term"}}}}}}},
                                            "argument": {
                                              "lambda": {
                                                "parameter": "t",
                                                "domain": {"variable": "hydra.core.model.Term"},
                                                "body": {
                                                  "application": {
                                                    "function": {
                                                      "application": {
                                                        "function": {
                                                          "typeApplication": {
                                                            "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                                            "type": {"variable": "hydra.core.model.Term"}}},
                                                        "argument": {
                                                          "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": ")"}}}}}},
                                                    "argument": {
                                                      "lambda": {
                                                        "parameter": "_",
                                                        "domain": {"literal": "string"},
                                                        "body": {
                                                          "application": {
                                                            "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"variable": "hydra.core.model.Term"}}},
                                                            "argument": {"variable": "t"}}}}}}}}}}}}}}}}}}}}},
                    {
                      "application": {
                        "function": {
                          "application": {
                            "function": {
                              "typeApplication": {
                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.map"}, "type": {"variable": "hydra.core.model.Term"}}},
                                "type": {"variable": "hydra.core.model.Term"}}},
                            "argument": {
                              "lambda": {
                                "parameter": "t",
                                "domain": {"variable": "hydra.core.model.Term"},
                                "body": {
                                  "inject": {
                                    "typeName": "hydra.core.model.Term",
                                    "field": {
                                      "name": "either",
                                      "term": {
                                        "typeApplication": {
                                          "body": {"typeApplication": {"body": {"either": {"right": {"variable": "t"}}}, "type": {"variable": "hydra.core.model.Term"}}},
                                          "type": {"variable": "hydra.core.model.Term"}}}}}}}}}},
                        "argument": {
                          "application": {
                            "function": {
                              "application": {
                                "function": {
                                  "typeApplication": {
                                    "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                    "type": {"variable": "hydra.core.model.Term"}}},
                                "argument": {
                                  "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": "right"}}}}}},
                            "argument": {
                              "lambda": {
                                "parameter": "_",
                                "domain": {"literal": "string"},
                                "body": {
                                  "application": {
                                    "function": {
                                      "application": {
                                        "function": {
                                          "typeApplication": {
                                            "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                            "type": {"variable": "hydra.core.model.Term"}}},
                                        "argument": {
                                          "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": "("}}}}}},
                                    "argument": {
                                      "lambda": {
                                        "parameter": "_",
                                        "domain": {"literal": "string"},
                                        "body": {
                                          "application": {
                                            "function": {
                                              "application": {
                                                "function": {
                                                  "typeApplication": {
                                                    "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"variable": "hydra.core.model.Term"}}},
                                                    "type": {"variable": "hydra.core.model.Term"}}},
                                                "argument": {
                                                  "application": {
                                                    "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.lazy"}, "type": {"variable": "hydra.core.model.Term"}}},
                                                    "argument": {"lambda": {"parameter": "_", "domain": "unit", "body": {"variable": "hydra.core.parse.core.term"}}}}}}},
                                            "argument": {
                                              "lambda": {
                                                "parameter": "t",
                                                "domain": {"variable": "hydra.core.model.Term"},
                                                "body": {
                                                  "application": {
                                                    "function": {
                                                      "application": {
                                                        "function": {
                                                          "typeApplication": {
                                                            "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                                            "type": {"variable": "hydra.core.model.Term"}}},
                                                        "argument": {
                                                          "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": ")"}}}}}},
                                                    "argument": {
                                                      "lambda": {
                                                        "parameter": "_",
                                                        "domain": {"literal": "string"},
                                                        "body": {
                                                          "application": {
                                                            "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"variable": "hydra.core.model.Term"}}},
                                                            "argument": {"variable": "t"}}}}}}}}}}}}}}}}}}}}}]}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "Parse an either term: 'left' '(' term ')' or 'right' '(' term ')'"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.parse.core.escapeHex4",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {"application": {"function": {"variable": "hydra.core.parsing.Parser"}, "argument": {"literal": {"integer": "int32"}}}}}},
        "body": {
          "annotated": {
            "body": {
              "application": {
                "function": {
                  "application": {
                    "function": {
                      "typeApplication": {
                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": {"integer": "int32"}}}},
                        "type": {"literal": {"integer": "int32"}}}},
                    "argument": {"variable": "hydra.core.parse.core.escapeHexDigit"}}},
                "argument": {
                  "lambda": {
                    "parameter": "d1",
                    "domain": {"literal": {"integer": "int32"}},
                    "body": {
                      "application": {
                        "function": {
                          "application": {
                            "function": {
                              "typeApplication": {
                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": {"integer": "int32"}}}},
                                "type": {"literal": {"integer": "int32"}}}},
                            "argument": {"variable": "hydra.core.parse.core.escapeHexDigit"}}},
                        "argument": {
                          "lambda": {
                            "parameter": "d2",
                            "domain": {"literal": {"integer": "int32"}},
                            "body": {
                              "application": {
                                "function": {
                                  "application": {
                                    "function": {
                                      "typeApplication": {
                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": {"integer": "int32"}}}},
                                        "type": {"literal": {"integer": "int32"}}}},
                                    "argument": {"variable": "hydra.core.parse.core.escapeHexDigit"}}},
                                "argument": {
                                  "lambda": {
                                    "parameter": "d3",
                                    "domain": {"literal": {"integer": "int32"}},
                                    "body": {
                                      "application": {
                                        "function": {
                                          "application": {
                                            "function": {
                                              "typeApplication": {
                                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": {"integer": "int32"}}}},
                                                "type": {"literal": {"integer": "int32"}}}},
                                            "argument": {"variable": "hydra.core.parse.core.escapeHexDigit"}}},
                                        "argument": {
                                          "lambda": {
                                            "parameter": "d4",
                                            "domain": {"literal": {"integer": "int32"}},
                                            "body": {
                                              "application": {
                                                "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"literal": {"integer": "int32"}}}},
                                                "argument": {
                                                  "application": {
                                                    "function": {
                                                      "application": {
                                                        "function": {"typeApplication": {"body": {"variable": "hydra.core.lib.math.add"}, "type": {"literal": {"integer": "int32"}}}},
                                                        "argument": {
                                                          "application": {
                                                            "function": {
                                                              "application": {
                                                                "function": {"typeApplication": {"body": {"variable": "hydra.core.lib.math.mul"}, "type": {"literal": {"integer": "int32"}}}},
                                                                "argument": {"variable": "d1"}}},
                                                            "argument": {"literal": {"integer": {"int32": 4096}}}}}}},
                                                    "argument": {
                                                      "application": {
                                                        "function": {
                                                          "application": {
                                                            "function": {"typeApplication": {"body": {"variable": "hydra.core.lib.math.add"}, "type": {"literal": {"integer": "int32"}}}},
                                                            "argument": {
                                                              "application": {
                                                                "function": {
                                                                  "application": {
                                                                    "function": {"typeApplication": {"body": {"variable": "hydra.core.lib.math.mul"}, "type": {"literal": {"integer": "int32"}}}},
                                                                    "argument": {"variable": "d2"}}},
                                                                "argument": {"literal": {"integer": {"int32": 256}}}}}}},
                                                        "argument": {
                                                          "application": {
                                                            "function": {
                                                              "application": {
                                                                "function": {"typeApplication": {"body": {"variable": "hydra.core.lib.math.add"}, "type": {"literal": {"integer": "int32"}}}},
                                                                "argument": {
                                                                  "application": {
                                                                    "function": {
                                                                      "application": {
                                                                        "function": {"typeApplication": {"body": {"variable": "hydra.core.lib.math.mul"}, "type": {"literal": {"integer": "int32"}}}},
                                                                        "argument": {"variable": "d3"}}},
                                                                    "argument": {"literal": {"integer": {"int32": 16}}}}}}},
                                                            "argument": {"variable": "d4"}}}}}}}}}}}}}}}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "Parse exactly four hex digits as a 16-bit code unit"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.parse.core.escapeHexDigit",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {"application": {"function": {"variable": "hydra.core.parsing.Parser"}, "argument": {"literal": {"integer": "int32"}}}}}},
        "body": {
          "annotated": {
            "body": {
              "application": {
                "function": {
                  "application": {
                    "function": {
                      "typeApplication": {
                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": {"integer": "int32"}}}},
                        "type": {"literal": {"integer": "int32"}}}},
                    "argument": {"variable": "hydra.core.parsers.anyChar"}}},
                "argument": {
                  "lambda": {
                    "parameter": "c",
                    "domain": {"literal": {"integer": "int32"}},
                    "body": {
                      "application": {
                        "function": {
                          "application": {
                            "function": {
                              "application": {
                                "function": {
                                  "typeApplication": {
                                    "body": {"typeApplication": {"body": {"variable": "hydra.core.lib.optionals.match"}, "type": {"literal": {"integer": "int32"}}}},
                                    "type": {"application": {"function": {"variable": "hydra.core.parsing.Parser"}, "argument": {"literal": {"integer": "int32"}}}}}},
                                "argument": {"application": {"function": {"variable": "hydra.core.parse.core.escapeHexDigitValue"}, "argument": {"variable": "c"}}}}},
                            "argument": {
                              "application": {
                                "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.fail"}, "type": {"literal": {"integer": "int32"}}}},
                                "argument": {"literal": {"string": "expected a hex digit"}}}}}},
                        "argument": {
                          "lambda": {
                            "parameter": "v",
                            "domain": {"literal": {"integer": "int32"}},
                            "body": {
                              "application": {
                                "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"literal": {"integer": "int32"}}}},
                                "argument": {"variable": "v"}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "Parse a single hex digit character, yielding its numeric value (0-15)"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.parse.core.escapeHexDigitValue",
        "signature": {
          "typeParameters": [],
          "parameters": [{"name": "arg0", "type": {"literal": {"integer": "int32"}}, "isLazy": false}],
          "result": {"type": {"optional": {"literal": {"integer": "int32"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "c",
                "domain": {"literal": {"integer": "int32"}},
                "body": {
                  "application": {
                    "function": {
                      "application": {
                        "function": {
                          "application": {
                            "function": {
                              "typeApplication": {"body": {"variable": "hydra.core.lib.logic.ifElse"}, "type": {"optional": {"literal": {"integer": "int32"}}}}},
                            "argument": {
                              "application": {
                                "function": {
                                  "application": {
                                    "function": {"variable": "hydra.core.lib.logic.and"},
                                    "argument": {
                                      "application": {
                                        "function": {
                                          "application": {
                                            "function": {"typeApplication": {"body": {"variable": "hydra.core.lib.ordering.gte"}, "type": {"literal": {"integer": "int32"}}}},
                                            "argument": {"variable": "c"}}},
                                        "argument": {"literal": {"integer": {"int32": 48}}}}}}},
                                "argument": {
                                  "application": {
                                    "function": {
                                      "application": {
                                        "function": {"typeApplication": {"body": {"variable": "hydra.core.lib.ordering.lte"}, "type": {"literal": {"integer": "int32"}}}},
                                        "argument": {"variable": "c"}}},
                                    "argument": {"literal": {"integer": {"int32": 57}}}}}}}}},
                        "argument": {
                          "optional": {
                            "application": {
                              "function": {
                                "application": {
                                  "function": {"typeApplication": {"body": {"variable": "hydra.core.lib.math.sub"}, "type": {"literal": {"integer": "int32"}}}},
                                  "argument": {"variable": "c"}}},
                              "argument": {"literal": {"integer": {"int32": 48}}}}}}}},
                    "argument": {
                      "application": {
                        "function": {
                          "application": {
                            "function": {
                              "application": {
                                "function": {
                                  "typeApplication": {"body": {"variable": "hydra.core.lib.logic.ifElse"}, "type": {"optional": {"literal": {"integer": "int32"}}}}},
                                "argument": {
                                  "application": {
                                    "function": {
                                      "application": {
                                        "function": {"variable": "hydra.core.lib.logic.and"},
                                        "argument": {
                                          "application": {
                                            "function": {
                                              "application": {
                                                "function": {"typeApplication": {"body": {"variable": "hydra.core.lib.ordering.gte"}, "type": {"literal": {"integer": "int32"}}}},
                                                "argument": {"variable": "c"}}},
                                            "argument": {"literal": {"integer": {"int32": 97}}}}}}},
                                    "argument": {
                                      "application": {
                                        "function": {
                                          "application": {
                                            "function": {"typeApplication": {"body": {"variable": "hydra.core.lib.ordering.lte"}, "type": {"literal": {"integer": "int32"}}}},
                                            "argument": {"variable": "c"}}},
                                        "argument": {"literal": {"integer": {"int32": 102}}}}}}}}},
                            "argument": {
                              "optional": {
                                "application": {
                                  "function": {
                                    "application": {
                                      "function": {"typeApplication": {"body": {"variable": "hydra.core.lib.math.add"}, "type": {"literal": {"integer": "int32"}}}},
                                      "argument": {"literal": {"integer": {"int32": 10}}}}},
                                  "argument": {
                                    "application": {
                                      "function": {
                                        "application": {
                                          "function": {"typeApplication": {"body": {"variable": "hydra.core.lib.math.sub"}, "type": {"literal": {"integer": "int32"}}}},
                                          "argument": {"variable": "c"}}},
                                      "argument": {"literal": {"integer": {"int32": 97}}}}}}}}}},
                        "argument": {
                          "application": {
                            "function": {
                              "application": {
                                "function": {
                                  "application": {
                                    "function": {
                                      "typeApplication": {"body": {"variable": "hydra.core.lib.logic.ifElse"}, "type": {"optional": {"literal": {"integer": "int32"}}}}},
                                    "argument": {
                                      "application": {
                                        "function": {
                                          "application": {
                                            "function": {"variable": "hydra.core.lib.logic.and"},
                                            "argument": {
                                              "application": {
                                                "function": {
                                                  "application": {
                                                    "function": {"typeApplication": {"body": {"variable": "hydra.core.lib.ordering.gte"}, "type": {"literal": {"integer": "int32"}}}},
                                                    "argument": {"variable": "c"}}},
                                                "argument": {"literal": {"integer": {"int32": 65}}}}}}},
                                        "argument": {
                                          "application": {
                                            "function": {
                                              "application": {
                                                "function": {"typeApplication": {"body": {"variable": "hydra.core.lib.ordering.lte"}, "type": {"literal": {"integer": "int32"}}}},
                                                "argument": {"variable": "c"}}},
                                            "argument": {"literal": {"integer": {"int32": 70}}}}}}}}},
                                "argument": {
                                  "optional": {
                                    "application": {
                                      "function": {
                                        "application": {
                                          "function": {"typeApplication": {"body": {"variable": "hydra.core.lib.math.add"}, "type": {"literal": {"integer": "int32"}}}},
                                          "argument": {"literal": {"integer": {"int32": 10}}}}},
                                      "argument": {
                                        "application": {
                                          "function": {
                                            "application": {
                                              "function": {"typeApplication": {"body": {"variable": "hydra.core.lib.math.sub"}, "type": {"literal": {"integer": "int32"}}}},
                                              "argument": {"variable": "c"}}},
                                          "argument": {"literal": {"integer": {"int32": 65}}}}}}}}}},
                            "argument": {"typeApplication": {"body": {"optional": null}, "type": {"literal": {"integer": "int32"}}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "Compute the numeric value of a hex digit character code (0-15), or Nothing if not a hex digit"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.parse.core.escapedChar",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {"application": {"function": {"variable": "hydra.core.parsing.Parser"}, "argument": {"literal": {"integer": "int32"}}}}}},
        "body": {
          "annotated": {
            "body": {
              "application": {
                "function": {
                  "application": {
                    "function": {
                      "typeApplication": {
                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": {"integer": "int32"}}}},
                        "type": {"literal": {"integer": "int32"}}}},
                    "argument": {
                      "application": {"function": {"variable": "hydra.core.parsers.char"}, "argument": {"literal": {"integer": {"int32": 92}}}}}}},
                "argument": {
                  "lambda": {
                    "parameter": "_",
                    "domain": {"literal": {"integer": "int32"}},
                    "body": {
                      "application": {
                        "function": {
                          "application": {
                            "function": {
                              "typeApplication": {
                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": {"integer": "int32"}}}},
                                "type": {"literal": {"integer": "int32"}}}},
                            "argument": {
                              "application": {
                                "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.choice"}, "type": {"literal": {"integer": "int32"}}}},
                                "argument": {
                                  "list": [
                                    {
                                      "application": {
                                        "function": {
                                          "application": {
                                            "function": {
                                              "typeApplication": {
                                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.map"}, "type": {"literal": {"integer": "int32"}}}},
                                                "type": {"literal": {"integer": "int32"}}}},
                                            "argument": {
                                              "lambda": {"parameter": "_", "domain": {"literal": {"integer": "int32"}}, "body": {"literal": {"integer": {"int32": 34}}}}}}},
                                        "argument": {
                                          "application": {"function": {"variable": "hydra.core.parsers.char"}, "argument": {"literal": {"integer": {"int32": 34}}}}}}},
                                    {
                                      "application": {
                                        "function": {
                                          "application": {
                                            "function": {
                                              "typeApplication": {
                                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.map"}, "type": {"literal": {"integer": "int32"}}}},
                                                "type": {"literal": {"integer": "int32"}}}},
                                            "argument": {
                                              "lambda": {"parameter": "_", "domain": {"literal": {"integer": "int32"}}, "body": {"literal": {"integer": {"int32": 92}}}}}}},
                                        "argument": {
                                          "application": {"function": {"variable": "hydra.core.parsers.char"}, "argument": {"literal": {"integer": {"int32": 92}}}}}}},
                                    {
                                      "application": {
                                        "function": {
                                          "application": {
                                            "function": {
                                              "typeApplication": {
                                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.map"}, "type": {"literal": {"integer": "int32"}}}},
                                                "type": {"literal": {"integer": "int32"}}}},
                                            "argument": {
                                              "lambda": {"parameter": "_", "domain": {"literal": {"integer": "int32"}}, "body": {"literal": {"integer": {"int32": 47}}}}}}},
                                        "argument": {
                                          "application": {"function": {"variable": "hydra.core.parsers.char"}, "argument": {"literal": {"integer": {"int32": 47}}}}}}},
                                    {
                                      "application": {
                                        "function": {
                                          "application": {
                                            "function": {
                                              "typeApplication": {
                                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.map"}, "type": {"literal": {"integer": "int32"}}}},
                                                "type": {"literal": {"integer": "int32"}}}},
                                            "argument": {
                                              "lambda": {"parameter": "_", "domain": {"literal": {"integer": "int32"}}, "body": {"literal": {"integer": {"int32": 8}}}}}}},
                                        "argument": {
                                          "application": {"function": {"variable": "hydra.core.parsers.char"}, "argument": {"literal": {"integer": {"int32": 98}}}}}}},
                                    {
                                      "application": {
                                        "function": {
                                          "application": {
                                            "function": {
                                              "typeApplication": {
                                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.map"}, "type": {"literal": {"integer": "int32"}}}},
                                                "type": {"literal": {"integer": "int32"}}}},
                                            "argument": {
                                              "lambda": {"parameter": "_", "domain": {"literal": {"integer": "int32"}}, "body": {"literal": {"integer": {"int32": 12}}}}}}},
                                        "argument": {
                                          "application": {"function": {"variable": "hydra.core.parsers.char"}, "argument": {"literal": {"integer": {"int32": 102}}}}}}},
                                    {
                                      "application": {
                                        "function": {
                                          "application": {
                                            "function": {
                                              "typeApplication": {
                                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.map"}, "type": {"literal": {"integer": "int32"}}}},
                                                "type": {"literal": {"integer": "int32"}}}},
                                            "argument": {
                                              "lambda": {"parameter": "_", "domain": {"literal": {"integer": "int32"}}, "body": {"literal": {"integer": {"int32": 10}}}}}}},
                                        "argument": {
                                          "application": {"function": {"variable": "hydra.core.parsers.char"}, "argument": {"literal": {"integer": {"int32": 110}}}}}}},
                                    {
                                      "application": {
                                        "function": {
                                          "application": {
                                            "function": {
                                              "typeApplication": {
                                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.map"}, "type": {"literal": {"integer": "int32"}}}},
                                                "type": {"literal": {"integer": "int32"}}}},
                                            "argument": {
                                              "lambda": {"parameter": "_", "domain": {"literal": {"integer": "int32"}}, "body": {"literal": {"integer": {"int32": 13}}}}}}},
                                        "argument": {
                                          "application": {"function": {"variable": "hydra.core.parsers.char"}, "argument": {"literal": {"integer": {"int32": 114}}}}}}},
                                    {
                                      "application": {
                                        "function": {
                                          "application": {
                                            "function": {
                                              "typeApplication": {
                                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.map"}, "type": {"literal": {"integer": "int32"}}}},
                                                "type": {"literal": {"integer": "int32"}}}},
                                            "argument": {
                                              "lambda": {"parameter": "_", "domain": {"literal": {"integer": "int32"}}, "body": {"literal": {"integer": {"int32": 9}}}}}}},
                                        "argument": {
                                          "application": {"function": {"variable": "hydra.core.parsers.char"}, "argument": {"literal": {"integer": {"int32": 116}}}}}}},
                                    {
                                      "application": {
                                        "function": {
                                          "application": {
                                            "function": {
                                              "typeApplication": {
                                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": {"integer": "int32"}}}},
                                                "type": {"literal": {"integer": "int32"}}}},
                                            "argument": {
                                              "application": {"function": {"variable": "hydra.core.parsers.char"}, "argument": {"literal": {"integer": {"int32": 117}}}}}}},
                                        "argument": {
                                          "lambda": {
                                            "parameter": "_",
                                            "domain": {"literal": {"integer": "int32"}},
                                            "body": {"variable": "hydra.core.parse.core.escapeHex4"}}}}}]}}}}},
                        "argument": {
                          "lambda": {
                            "parameter": "u1",
                            "domain": {"literal": {"integer": "int32"}},
                            "body": {
                              "application": {
                                "function": {
                                  "application": {
                                    "function": {
                                      "application": {
                                        "function": {
                                          "typeApplication": {
                                            "body": {"variable": "hydra.core.lib.logic.ifElse"},
                                            "type": {"application": {"function": {"variable": "hydra.core.parsing.Parser"}, "argument": {"literal": {"integer": "int32"}}}}}},
                                        "argument": {
                                          "application": {
                                            "function": {
                                              "lambda": {
                                                "parameter": "c",
                                                "domain": {"literal": {"integer": "int32"}},
                                                "body": {
                                                  "application": {
                                                    "function": {
                                                      "application": {
                                                        "function": {"variable": "hydra.core.lib.logic.and"},
                                                        "argument": {
                                                          "application": {
                                                            "function": {
                                                              "application": {
                                                                "function": {"typeApplication": {"body": {"variable": "hydra.core.lib.ordering.gte"}, "type": {"literal": {"integer": "int32"}}}},
                                                                "argument": {"variable": "c"}}},
                                                            "argument": {"literal": {"integer": {"int32": 55296}}}}}}},
                                                    "argument": {
                                                      "application": {
                                                        "function": {
                                                          "application": {
                                                            "function": {"typeApplication": {"body": {"variable": "hydra.core.lib.ordering.lte"}, "type": {"literal": {"integer": "int32"}}}},
                                                            "argument": {"variable": "c"}}},
                                                        "argument": {"literal": {"integer": {"int32": 56319}}}}}}}}},
                                            "argument": {"variable": "u1"}}}}},
                                    "argument": {
                                      "application": {
                                        "function": {
                                          "application": {
                                            "function": {
                                              "typeApplication": {
                                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": {"integer": "int32"}}}},
                                                "type": {"literal": {"integer": "int32"}}}},
                                            "argument": {
                                              "application": {"function": {"variable": "hydra.core.parsers.char"}, "argument": {"literal": {"integer": {"int32": 92}}}}}}},
                                        "argument": {
                                          "lambda": {
                                            "parameter": "_",
                                            "domain": {"literal": {"integer": "int32"}},
                                            "body": {
                                              "application": {
                                                "function": {
                                                  "application": {
                                                    "function": {
                                                      "typeApplication": {
                                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": {"integer": "int32"}}}},
                                                        "type": {"literal": {"integer": "int32"}}}},
                                                    "argument": {
                                                      "application": {"function": {"variable": "hydra.core.parsers.char"}, "argument": {"literal": {"integer": {"int32": 117}}}}}}},
                                                "argument": {
                                                  "lambda": {
                                                    "parameter": "_",
                                                    "domain": {"literal": {"integer": "int32"}},
                                                    "body": {
                                                      "application": {
                                                        "function": {
                                                          "application": {
                                                            "function": {
                                                              "typeApplication": {
                                                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": {"integer": "int32"}}}},
                                                                "type": {"literal": {"integer": "int32"}}}},
                                                            "argument": {"variable": "hydra.core.parse.core.escapeHex4"}}},
                                                        "argument": {
                                                          "lambda": {
                                                            "parameter": "u2",
                                                            "domain": {"literal": {"integer": "int32"}},
                                                            "body": {
                                                              "application": {
                                                                "function": {
                                                                  "application": {
                                                                    "function": {
                                                                      "application": {
                                                                        "function": {
                                                                          "typeApplication": {
                                                                            "body": {"variable": "hydra.core.lib.logic.ifElse"},
                                                                            "type": {"application": {"function": {"variable": "hydra.core.parsing.Parser"}, "argument": {"literal": {"integer": "int32"}}}}}},
                                                                        "argument": {
                                                                          "application": {
                                                                            "function": {
                                                                              "lambda": {
                                                                                "parameter": "c",
                                                                                "domain": {"literal": {"integer": "int32"}},
                                                                                "body": {
                                                                                  "application": {
                                                                                    "function": {
                                                                                      "application": {
                                                                                        "function": {"variable": "hydra.core.lib.logic.and"},
                                                                                        "argument": {
                                                                                          "application": {
                                                                                            "function": {
                                                                                              "application": {
                                                                                                "function": {"typeApplication": {"body": {"variable": "hydra.core.lib.ordering.gte"}, "type": {"literal": {"integer": "int32"}}}},
                                                                                                "argument": {"variable": "c"}}},
                                                                                            "argument": {"literal": {"integer": {"int32": 56320}}}}}}},
                                                                                    "argument": {
                                                                                      "application": {
                                                                                        "function": {
                                                                                          "application": {
                                                                                            "function": {"typeApplication": {"body": {"variable": "hydra.core.lib.ordering.lte"}, "type": {"literal": {"integer": "int32"}}}},
                                                                                            "argument": {"variable": "c"}}},
                                                                                        "argument": {"literal": {"integer": {"int32": 57343}}}}}}}}},
                                                                            "argument": {"variable": "u2"}}}}},
                                                                    "argument": {
                                                                      "application": {
                                                                        "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"literal": {"integer": "int32"}}}},
                                                                        "argument": {
                                                                          "application": {
                                                                            "function": {
                                                                              "application": {
                                                                                "function": {"typeApplication": {"body": {"variable": "hydra.core.lib.math.add"}, "type": {"literal": {"integer": "int32"}}}},
                                                                                "argument": {"literal": {"integer": {"int32": 65536}}}}},
                                                                            "argument": {
                                                                              "application": {
                                                                                "function": {
                                                                                  "application": {
                                                                                    "function": {"typeApplication": {"body": {"variable": "hydra.core.lib.math.add"}, "type": {"literal": {"integer": "int32"}}}},
                                                                                    "argument": {
                                                                                      "application": {
                                                                                        "function": {
                                                                                          "application": {
                                                                                            "function": {"typeApplication": {"body": {"variable": "hydra.core.lib.math.mul"}, "type": {"literal": {"integer": "int32"}}}},
                                                                                            "argument": {
                                                                                              "application": {
                                                                                                "function": {
                                                                                                  "application": {
                                                                                                    "function": {"typeApplication": {"body": {"variable": "hydra.core.lib.math.sub"}, "type": {"literal": {"integer": "int32"}}}},
                                                                                                    "argument": {"variable": "u1"}}},
                                                                                                "argument": {"literal": {"integer": {"int32": 55296}}}}}}},
                                                                                        "argument": {"literal": {"integer": {"int32": 1024}}}}}}},
                                                                                "argument": {
                                                                                  "application": {
                                                                                    "function": {
                                                                                      "application": {
                                                                                        "function": {"typeApplication": {"body": {"variable": "hydra.core.lib.math.sub"}, "type": {"literal": {"integer": "int32"}}}},
                                                                                        "argument": {"variable": "u2"}}},
                                                                                    "argument": {"literal": {"integer": {"int32": 56320}}}}}}}}}}}}},
                                                                "argument": {
                                                                  "application": {
                                                                    "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.fail"}, "type": {"literal": {"integer": "int32"}}}},
                                                                    "argument": {"literal": {"string": "invalid low surrogate in escaped surrogate pair"}}}}}}}}}}}}}}}}}}}},
                                "argument": {
                                  "application": {
                                    "function": {
                                      "application": {
                                        "function": {
                                          "application": {
                                            "function": {
                                              "typeApplication": {
                                                "body": {"variable": "hydra.core.lib.logic.ifElse"},
                                                "type": {"application": {"function": {"variable": "hydra.core.parsing.Parser"}, "argument": {"literal": {"integer": "int32"}}}}}},
                                            "argument": {
                                              "application": {
                                                "function": {
                                                  "lambda": {
                                                    "parameter": "c",
                                                    "domain": {"literal": {"integer": "int32"}},
                                                    "body": {
                                                      "application": {
                                                        "function": {
                                                          "application": {
                                                            "function": {"variable": "hydra.core.lib.logic.and"},
                                                            "argument": {
                                                              "application": {
                                                                "function": {
                                                                  "application": {
                                                                    "function": {"typeApplication": {"body": {"variable": "hydra.core.lib.ordering.gte"}, "type": {"literal": {"integer": "int32"}}}},
                                                                    "argument": {"variable": "c"}}},
                                                                "argument": {"literal": {"integer": {"int32": 56320}}}}}}},
                                                        "argument": {
                                                          "application": {
                                                            "function": {
                                                              "application": {
                                                                "function": {"typeApplication": {"body": {"variable": "hydra.core.lib.ordering.lte"}, "type": {"literal": {"integer": "int32"}}}},
                                                                "argument": {"variable": "c"}}},
                                                            "argument": {"literal": {"integer": {"int32": 57343}}}}}}}}},
                                                "argument": {"variable": "u1"}}}}},
                                        "argument": {
                                          "application": {
                                            "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.fail"}, "type": {"literal": {"integer": "int32"}}}},
                                            "argument": {"literal": {"string": "lone low surrogate in escape sequence"}}}}}},
                                    "argument": {
                                      "application": {
                                        "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"literal": {"integer": "int32"}}}},
                                        "argument": {"variable": "u1"}}}}}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "Parse a string-escape sequence after the backslash, combining surrogate pairs"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.parse.core.floatSuffix",
        "signature": {
          "typeParameters": [],
          "parameters": [{"name": "arg0", "type": {"literal": "string"}, "isLazy": false}],
          "result": {
            "type": {
              "application": {"function": {"variable": "hydra.core.parsing.Parser"}, "argument": {"variable": "hydra.core.model.FloatValue"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "digits",
                "domain": {"literal": "string"},
                "body": {
                  "application": {
                    "function": {
                      "application": {
                        "function": {
                          "typeApplication": {
                            "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": {"integer": "int32"}}}},
                            "type": {"variable": "hydra.core.model.FloatValue"}}},
                        "argument": {
                          "application": {"function": {"variable": "hydra.core.parsers.char"}, "argument": {"literal": {"integer": {"int32": 58}}}}}}},
                    "argument": {
                      "lambda": {
                        "parameter": "_",
                        "domain": {"literal": {"integer": "int32"}},
                        "body": {
                          "application": {
                            "function": {
                              "typeApplication": {"body": {"variable": "hydra.core.parsers.choice"}, "type": {"variable": "hydra.core.model.FloatValue"}}},
                            "argument": {
                              "list": [
                                {
                                  "application": {
                                    "function": {
                                      "application": {
                                        "function": {
                                          "typeApplication": {
                                            "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                            "type": {"variable": "hydra.core.model.FloatValue"}}},
                                        "argument": {
                                          "application": {
                                            "function": {"typeApplication": {"body": {"variable": "hydra.core.parse.core.lexeme"}, "type": {"literal": "string"}}},
                                            "argument": {"application": {"function": {"variable": "hydra.core.parsers.string"}, "argument": {"literal": {"string": "float32"}}}}}}}},
                                    "argument": {
                                      "lambda": {
                                        "parameter": "_",
                                        "domain": {"literal": "string"},
                                        "body": {
                                          "application": {
                                            "function": {
                                              "application": {
                                                "function": {
                                                  "application": {
                                                    "function": {
                                                      "typeApplication": {
                                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.lib.optionals.match"}, "type": {"literal": {"float": "float32"}}}},
                                                        "type": {
                                                          "application": {"function": {"variable": "hydra.core.parsing.Parser"}, "argument": {"variable": "hydra.core.model.FloatValue"}}}}},
                                                    "argument": {"application": {"function": {"variable": "hydra.core.lib.literals.parseFloat32"}, "argument": {"variable": "digits"}}}}},
                                                "argument": {
                                                  "application": {
                                                    "function": {
                                                      "typeApplication": {"body": {"variable": "hydra.core.parsers.fail"}, "type": {"variable": "hydra.core.model.FloatValue"}}},
                                                    "argument": {
                                                      "application": {
                                                        "function": {"variable": "hydra.core.lib.strings.concat"},
                                                        "argument": {
                                                          "list": [
                                                            {"literal": {"string": "invalid "}},
                                                            {"literal": {"string": "float32"}},
                                                            {"literal": {"string": " literal: "}},
                                                            {"variable": "digits"}]}}}}}}},
                                            "argument": {
                                              "lambda": {
                                                "parameter": "v",
                                                "domain": {"literal": {"float": "float32"}},
                                                "body": {
                                                  "application": {
                                                    "function": {
                                                      "typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"variable": "hydra.core.model.FloatValue"}}},
                                                    "argument": {"inject": {"typeName": "hydra.core.model.FloatValue", "field": {"name": "float32", "term": {"variable": "v"}}}}}}}}}}}}}},
                                {
                                  "application": {
                                    "function": {
                                      "application": {
                                        "function": {
                                          "typeApplication": {
                                            "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                            "type": {"variable": "hydra.core.model.FloatValue"}}},
                                        "argument": {
                                          "application": {
                                            "function": {"typeApplication": {"body": {"variable": "hydra.core.parse.core.lexeme"}, "type": {"literal": "string"}}},
                                            "argument": {"application": {"function": {"variable": "hydra.core.parsers.string"}, "argument": {"literal": {"string": "float64"}}}}}}}},
                                    "argument": {
                                      "lambda": {
                                        "parameter": "_",
                                        "domain": {"literal": "string"},
                                        "body": {
                                          "application": {
                                            "function": {
                                              "application": {
                                                "function": {
                                                  "application": {
                                                    "function": {
                                                      "typeApplication": {
                                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.lib.optionals.match"}, "type": {"literal": {"float": "float64"}}}},
                                                        "type": {
                                                          "application": {"function": {"variable": "hydra.core.parsing.Parser"}, "argument": {"variable": "hydra.core.model.FloatValue"}}}}},
                                                    "argument": {"application": {"function": {"variable": "hydra.core.lib.literals.parseFloat64"}, "argument": {"variable": "digits"}}}}},
                                                "argument": {
                                                  "application": {
                                                    "function": {
                                                      "typeApplication": {"body": {"variable": "hydra.core.parsers.fail"}, "type": {"variable": "hydra.core.model.FloatValue"}}},
                                                    "argument": {
                                                      "application": {
                                                        "function": {"variable": "hydra.core.lib.strings.concat"},
                                                        "argument": {
                                                          "list": [
                                                            {"literal": {"string": "invalid "}},
                                                            {"literal": {"string": "float64"}},
                                                            {"literal": {"string": " literal: "}},
                                                            {"variable": "digits"}]}}}}}}},
                                            "argument": {
                                              "lambda": {
                                                "parameter": "v",
                                                "domain": {"literal": {"float": "float64"}},
                                                "body": {
                                                  "application": {
                                                    "function": {
                                                      "typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"variable": "hydra.core.model.FloatValue"}}},
                                                    "argument": {"inject": {"typeName": "hydra.core.model.FloatValue", "field": {"name": "float64", "term": {"variable": "v"}}}}}}}}}}}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {
                    "literal": {"string": "Parse the ':width' suffix of a float literal and build its FloatValue from the preceding digits/sentinel"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.parse.core.injectTerm",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {"function": {"variable": "hydra.core.parsing.Parser"}, "argument": {"variable": "hydra.core.model.Term"}}}}},
        "body": {
          "annotated": {
            "body": {
              "application": {
                "function": {
                  "application": {
                    "function": {
                      "typeApplication": {
                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"variable": "hydra.core.model.Name"}}},
                        "type": {"variable": "hydra.core.model.Term"}}},
                    "argument": {
                      "application": {
                        "function": {
                          "application": {
                            "function": {
                              "typeApplication": {
                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                "type": {"variable": "hydra.core.model.Name"}}},
                            "argument": {
                              "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": "inject"}}}}}},
                        "argument": {
                          "lambda": {
                            "parameter": "_",
                            "domain": {"literal": "string"},
                            "body": {
                              "application": {
                                "function": {
                                  "application": {
                                    "function": {
                                      "typeApplication": {
                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                        "type": {"variable": "hydra.core.model.Name"}}},
                                    "argument": {
                                      "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": "("}}}}}},
                                "argument": {
                                  "lambda": {
                                    "parameter": "_",
                                    "domain": {"literal": "string"},
                                    "body": {
                                      "application": {
                                        "function": {
                                          "application": {
                                            "function": {
                                              "typeApplication": {
                                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"variable": "hydra.core.model.Name"}}},
                                                "type": {"variable": "hydra.core.model.Name"}}},
                                            "argument": {"variable": "hydra.core.parse.core.name"}}},
                                        "argument": {
                                          "lambda": {
                                            "parameter": "n",
                                            "domain": {"variable": "hydra.core.model.Name"},
                                            "body": {
                                              "application": {
                                                "function": {
                                                  "application": {
                                                    "function": {
                                                      "typeApplication": {
                                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                                        "type": {"variable": "hydra.core.model.Name"}}},
                                                    "argument": {
                                                      "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": ")"}}}}}},
                                                "argument": {
                                                  "lambda": {
                                                    "parameter": "_",
                                                    "domain": {"literal": "string"},
                                                    "body": {
                                                      "application": {
                                                        "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"variable": "hydra.core.model.Name"}}},
                                                        "argument": {"variable": "n"}}}}}}}}}}}}}}}}}}}}},
                "argument": {
                  "lambda": {
                    "parameter": "tname",
                    "domain": {"variable": "hydra.core.model.Name"},
                    "body": {
                      "application": {
                        "function": {
                          "application": {
                            "function": {
                              "typeApplication": {
                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.map"}, "type": {"variable": "hydra.core.model.Field"}}},
                                "type": {"variable": "hydra.core.model.Term"}}},
                            "argument": {
                              "lambda": {
                                "parameter": "f",
                                "domain": {"variable": "hydra.core.model.Field"},
                                "body": {
                                  "inject": {
                                    "typeName": "hydra.core.model.Term",
                                    "field": {
                                      "name": "inject",
                                      "term": {
                                        "record": {
                                          "typeName": "hydra.core.model.Injection",
                                          "fields": [{"name": "typeName", "term": {"variable": "tname"}}, {"name": "field", "term": {"variable": "f"}}]}}}}}}}}},
                        "argument": {
                          "application": {
                            "function": {
                              "application": {
                                "function": {
                                  "typeApplication": {
                                    "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                    "type": {"variable": "hydra.core.model.Field"}}},
                                "argument": {
                                  "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": "{"}}}}}},
                            "argument": {
                              "lambda": {
                                "parameter": "_",
                                "domain": {"literal": "string"},
                                "body": {
                                  "application": {
                                    "function": {
                                      "application": {
                                        "function": {
                                          "typeApplication": {
                                            "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"variable": "hydra.core.model.Name"}}},
                                            "type": {"variable": "hydra.core.model.Field"}}},
                                        "argument": {"variable": "hydra.core.parse.core.name"}}},
                                    "argument": {
                                      "lambda": {
                                        "parameter": "fname",
                                        "domain": {"variable": "hydra.core.model.Name"},
                                        "body": {
                                          "application": {
                                            "function": {
                                              "application": {
                                                "function": {
                                                  "typeApplication": {
                                                    "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                                    "type": {"variable": "hydra.core.model.Field"}}},
                                                "argument": {
                                                  "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": "="}}}}}},
                                            "argument": {
                                              "lambda": {
                                                "parameter": "_",
                                                "domain": {"literal": "string"},
                                                "body": {
                                                  "application": {
                                                    "function": {
                                                      "application": {
                                                        "function": {
                                                          "typeApplication": {
                                                            "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"variable": "hydra.core.model.Term"}}},
                                                            "type": {"variable": "hydra.core.model.Field"}}},
                                                        "argument": {
                                                          "application": {
                                                            "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.lazy"}, "type": {"variable": "hydra.core.model.Term"}}},
                                                            "argument": {"lambda": {"parameter": "_", "domain": "unit", "body": {"variable": "hydra.core.parse.core.term"}}}}}}},
                                                    "argument": {
                                                      "lambda": {
                                                        "parameter": "t",
                                                        "domain": {"variable": "hydra.core.model.Term"},
                                                        "body": {
                                                          "application": {
                                                            "function": {
                                                              "application": {
                                                                "function": {
                                                                  "typeApplication": {
                                                                    "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                                                    "type": {"variable": "hydra.core.model.Field"}}},
                                                                "argument": {
                                                                  "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": "}"}}}}}},
                                                            "argument": {
                                                              "lambda": {
                                                                "parameter": "_",
                                                                "domain": {"literal": "string"},
                                                                "body": {
                                                                  "application": {
                                                                    "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"variable": "hydra.core.model.Field"}}},
                                                                    "argument": {
                                                                      "record": {
                                                                        "typeName": "hydra.core.model.Field",
                                                                        "fields": [{"name": "name", "term": {"variable": "fname"}}, {"name": "term", "term": {"variable": "t"}}]}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "Parse an inject term: 'inject' '(' name ')' '{' name '=' term '}'"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.parse.core.integerSuffix",
        "signature": {
          "typeParameters": [],
          "parameters": [{"name": "arg0", "type": {"literal": "string"}, "isLazy": false}],
          "result": {
            "type": {
              "application": {"function": {"variable": "hydra.core.parsing.Parser"}, "argument": {"variable": "hydra.core.model.IntegerValue"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "digits",
                "domain": {"literal": "string"},
                "body": {
                  "application": {
                    "function": {
                      "application": {
                        "function": {
                          "typeApplication": {
                            "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": {"integer": "int32"}}}},
                            "type": {"variable": "hydra.core.model.IntegerValue"}}},
                        "argument": {
                          "application": {"function": {"variable": "hydra.core.parsers.char"}, "argument": {"literal": {"integer": {"int32": 58}}}}}}},
                    "argument": {
                      "lambda": {
                        "parameter": "_",
                        "domain": {"literal": {"integer": "int32"}},
                        "body": {
                          "application": {
                            "function": {
                              "typeApplication": {"body": {"variable": "hydra.core.parsers.choice"}, "type": {"variable": "hydra.core.model.IntegerValue"}}},
                            "argument": {
                              "list": [
                                {
                                  "application": {
                                    "function": {
                                      "application": {
                                        "function": {
                                          "typeApplication": {
                                            "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                            "type": {"variable": "hydra.core.model.IntegerValue"}}},
                                        "argument": {
                                          "application": {
                                            "function": {"typeApplication": {"body": {"variable": "hydra.core.parse.core.lexeme"}, "type": {"literal": "string"}}},
                                            "argument": {"application": {"function": {"variable": "hydra.core.parsers.string"}, "argument": {"literal": {"string": "bigint"}}}}}}}},
                                    "argument": {
                                      "lambda": {
                                        "parameter": "_",
                                        "domain": {"literal": "string"},
                                        "body": {
                                          "application": {
                                            "function": {
                                              "application": {
                                                "function": {
                                                  "application": {
                                                    "function": {
                                                      "typeApplication": {
                                                        "body": {
                                                          "typeApplication": {"body": {"variable": "hydra.core.lib.optionals.match"}, "type": {"literal": {"integer": "bigint"}}}},
                                                        "type": {
                                                          "application": {"function": {"variable": "hydra.core.parsing.Parser"}, "argument": {"variable": "hydra.core.model.IntegerValue"}}}}},
                                                    "argument": {"application": {"function": {"variable": "hydra.core.lib.literals.parseBigint"}, "argument": {"variable": "digits"}}}}},
                                                "argument": {
                                                  "application": {
                                                    "function": {
                                                      "typeApplication": {"body": {"variable": "hydra.core.parsers.fail"}, "type": {"variable": "hydra.core.model.IntegerValue"}}},
                                                    "argument": {
                                                      "application": {
                                                        "function": {"variable": "hydra.core.lib.strings.concat"},
                                                        "argument": {
                                                          "list": [
                                                            {"literal": {"string": "invalid "}},
                                                            {"literal": {"string": "bigint"}},
                                                            {"literal": {"string": " literal: "}},
                                                            {"variable": "digits"}]}}}}}}},
                                            "argument": {
                                              "lambda": {
                                                "parameter": "v",
                                                "domain": {"literal": {"integer": "bigint"}},
                                                "body": {
                                                  "application": {
                                                    "function": {
                                                      "typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"variable": "hydra.core.model.IntegerValue"}}},
                                                    "argument": {"inject": {"typeName": "hydra.core.model.IntegerValue", "field": {"name": "bigint", "term": {"variable": "v"}}}}}}}}}}}}}},
                                {
                                  "application": {
                                    "function": {
                                      "application": {
                                        "function": {
                                          "typeApplication": {
                                            "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                            "type": {"variable": "hydra.core.model.IntegerValue"}}},
                                        "argument": {
                                          "application": {
                                            "function": {"typeApplication": {"body": {"variable": "hydra.core.parse.core.lexeme"}, "type": {"literal": "string"}}},
                                            "argument": {"application": {"function": {"variable": "hydra.core.parsers.string"}, "argument": {"literal": {"string": "int8"}}}}}}}},
                                    "argument": {
                                      "lambda": {
                                        "parameter": "_",
                                        "domain": {"literal": "string"},
                                        "body": {
                                          "application": {
                                            "function": {
                                              "application": {
                                                "function": {
                                                  "application": {
                                                    "function": {
                                                      "typeApplication": {
                                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.lib.optionals.match"}, "type": {"literal": {"integer": "int8"}}}},
                                                        "type": {
                                                          "application": {"function": {"variable": "hydra.core.parsing.Parser"}, "argument": {"variable": "hydra.core.model.IntegerValue"}}}}},
                                                    "argument": {"application": {"function": {"variable": "hydra.core.lib.literals.parseInt8"}, "argument": {"variable": "digits"}}}}},
                                                "argument": {
                                                  "application": {
                                                    "function": {
                                                      "typeApplication": {"body": {"variable": "hydra.core.parsers.fail"}, "type": {"variable": "hydra.core.model.IntegerValue"}}},
                                                    "argument": {
                                                      "application": {
                                                        "function": {"variable": "hydra.core.lib.strings.concat"},
                                                        "argument": {
                                                          "list": [
                                                            {"literal": {"string": "invalid "}},
                                                            {"literal": {"string": "int8"}},
                                                            {"literal": {"string": " literal: "}},
                                                            {"variable": "digits"}]}}}}}}},
                                            "argument": {
                                              "lambda": {
                                                "parameter": "v",
                                                "domain": {"literal": {"integer": "int8"}},
                                                "body": {
                                                  "application": {
                                                    "function": {
                                                      "typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"variable": "hydra.core.model.IntegerValue"}}},
                                                    "argument": {"inject": {"typeName": "hydra.core.model.IntegerValue", "field": {"name": "int8", "term": {"variable": "v"}}}}}}}}}}}}}},
                                {
                                  "application": {
                                    "function": {
                                      "application": {
                                        "function": {
                                          "typeApplication": {
                                            "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                            "type": {"variable": "hydra.core.model.IntegerValue"}}},
                                        "argument": {
                                          "application": {
                                            "function": {"typeApplication": {"body": {"variable": "hydra.core.parse.core.lexeme"}, "type": {"literal": "string"}}},
                                            "argument": {"application": {"function": {"variable": "hydra.core.parsers.string"}, "argument": {"literal": {"string": "int16"}}}}}}}},
                                    "argument": {
                                      "lambda": {
                                        "parameter": "_",
                                        "domain": {"literal": "string"},
                                        "body": {
                                          "application": {
                                            "function": {
                                              "application": {
                                                "function": {
                                                  "application": {
                                                    "function": {
                                                      "typeApplication": {
                                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.lib.optionals.match"}, "type": {"literal": {"integer": "int16"}}}},
                                                        "type": {
                                                          "application": {"function": {"variable": "hydra.core.parsing.Parser"}, "argument": {"variable": "hydra.core.model.IntegerValue"}}}}},
                                                    "argument": {"application": {"function": {"variable": "hydra.core.lib.literals.parseInt16"}, "argument": {"variable": "digits"}}}}},
                                                "argument": {
                                                  "application": {
                                                    "function": {
                                                      "typeApplication": {"body": {"variable": "hydra.core.parsers.fail"}, "type": {"variable": "hydra.core.model.IntegerValue"}}},
                                                    "argument": {
                                                      "application": {
                                                        "function": {"variable": "hydra.core.lib.strings.concat"},
                                                        "argument": {
                                                          "list": [
                                                            {"literal": {"string": "invalid "}},
                                                            {"literal": {"string": "int16"}},
                                                            {"literal": {"string": " literal: "}},
                                                            {"variable": "digits"}]}}}}}}},
                                            "argument": {
                                              "lambda": {
                                                "parameter": "v",
                                                "domain": {"literal": {"integer": "int16"}},
                                                "body": {
                                                  "application": {
                                                    "function": {
                                                      "typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"variable": "hydra.core.model.IntegerValue"}}},
                                                    "argument": {"inject": {"typeName": "hydra.core.model.IntegerValue", "field": {"name": "int16", "term": {"variable": "v"}}}}}}}}}}}}}},
                                {
                                  "application": {
                                    "function": {
                                      "application": {
                                        "function": {
                                          "typeApplication": {
                                            "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                            "type": {"variable": "hydra.core.model.IntegerValue"}}},
                                        "argument": {
                                          "application": {
                                            "function": {"typeApplication": {"body": {"variable": "hydra.core.parse.core.lexeme"}, "type": {"literal": "string"}}},
                                            "argument": {"application": {"function": {"variable": "hydra.core.parsers.string"}, "argument": {"literal": {"string": "int32"}}}}}}}},
                                    "argument": {
                                      "lambda": {
                                        "parameter": "_",
                                        "domain": {"literal": "string"},
                                        "body": {
                                          "application": {
                                            "function": {
                                              "application": {
                                                "function": {
                                                  "application": {
                                                    "function": {
                                                      "typeApplication": {
                                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.lib.optionals.match"}, "type": {"literal": {"integer": "int32"}}}},
                                                        "type": {
                                                          "application": {"function": {"variable": "hydra.core.parsing.Parser"}, "argument": {"variable": "hydra.core.model.IntegerValue"}}}}},
                                                    "argument": {"application": {"function": {"variable": "hydra.core.lib.literals.parseInt32"}, "argument": {"variable": "digits"}}}}},
                                                "argument": {
                                                  "application": {
                                                    "function": {
                                                      "typeApplication": {"body": {"variable": "hydra.core.parsers.fail"}, "type": {"variable": "hydra.core.model.IntegerValue"}}},
                                                    "argument": {
                                                      "application": {
                                                        "function": {"variable": "hydra.core.lib.strings.concat"},
                                                        "argument": {
                                                          "list": [
                                                            {"literal": {"string": "invalid "}},
                                                            {"literal": {"string": "int32"}},
                                                            {"literal": {"string": " literal: "}},
                                                            {"variable": "digits"}]}}}}}}},
                                            "argument": {
                                              "lambda": {
                                                "parameter": "v",
                                                "domain": {"literal": {"integer": "int32"}},
                                                "body": {
                                                  "application": {
                                                    "function": {
                                                      "typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"variable": "hydra.core.model.IntegerValue"}}},
                                                    "argument": {"inject": {"typeName": "hydra.core.model.IntegerValue", "field": {"name": "int32", "term": {"variable": "v"}}}}}}}}}}}}}},
                                {
                                  "application": {
                                    "function": {
                                      "application": {
                                        "function": {
                                          "typeApplication": {
                                            "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                            "type": {"variable": "hydra.core.model.IntegerValue"}}},
                                        "argument": {
                                          "application": {
                                            "function": {"typeApplication": {"body": {"variable": "hydra.core.parse.core.lexeme"}, "type": {"literal": "string"}}},
                                            "argument": {"application": {"function": {"variable": "hydra.core.parsers.string"}, "argument": {"literal": {"string": "int64"}}}}}}}},
                                    "argument": {
                                      "lambda": {
                                        "parameter": "_",
                                        "domain": {"literal": "string"},
                                        "body": {
                                          "application": {
                                            "function": {
                                              "application": {
                                                "function": {
                                                  "application": {
                                                    "function": {
                                                      "typeApplication": {
                                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.lib.optionals.match"}, "type": {"literal": {"integer": "int64"}}}},
                                                        "type": {
                                                          "application": {"function": {"variable": "hydra.core.parsing.Parser"}, "argument": {"variable": "hydra.core.model.IntegerValue"}}}}},
                                                    "argument": {"application": {"function": {"variable": "hydra.core.lib.literals.parseInt64"}, "argument": {"variable": "digits"}}}}},
                                                "argument": {
                                                  "application": {
                                                    "function": {
                                                      "typeApplication": {"body": {"variable": "hydra.core.parsers.fail"}, "type": {"variable": "hydra.core.model.IntegerValue"}}},
                                                    "argument": {
                                                      "application": {
                                                        "function": {"variable": "hydra.core.lib.strings.concat"},
                                                        "argument": {
                                                          "list": [
                                                            {"literal": {"string": "invalid "}},
                                                            {"literal": {"string": "int64"}},
                                                            {"literal": {"string": " literal: "}},
                                                            {"variable": "digits"}]}}}}}}},
                                            "argument": {
                                              "lambda": {
                                                "parameter": "v",
                                                "domain": {"literal": {"integer": "int64"}},
                                                "body": {
                                                  "application": {
                                                    "function": {
                                                      "typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"variable": "hydra.core.model.IntegerValue"}}},
                                                    "argument": {"inject": {"typeName": "hydra.core.model.IntegerValue", "field": {"name": "int64", "term": {"variable": "v"}}}}}}}}}}}}}},
                                {
                                  "application": {
                                    "function": {
                                      "application": {
                                        "function": {
                                          "typeApplication": {
                                            "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                            "type": {"variable": "hydra.core.model.IntegerValue"}}},
                                        "argument": {
                                          "application": {
                                            "function": {"typeApplication": {"body": {"variable": "hydra.core.parse.core.lexeme"}, "type": {"literal": "string"}}},
                                            "argument": {"application": {"function": {"variable": "hydra.core.parsers.string"}, "argument": {"literal": {"string": "uint8"}}}}}}}},
                                    "argument": {
                                      "lambda": {
                                        "parameter": "_",
                                        "domain": {"literal": "string"},
                                        "body": {
                                          "application": {
                                            "function": {
                                              "application": {
                                                "function": {
                                                  "application": {
                                                    "function": {
                                                      "typeApplication": {
                                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.lib.optionals.match"}, "type": {"literal": {"integer": "uint8"}}}},
                                                        "type": {
                                                          "application": {"function": {"variable": "hydra.core.parsing.Parser"}, "argument": {"variable": "hydra.core.model.IntegerValue"}}}}},
                                                    "argument": {"application": {"function": {"variable": "hydra.core.lib.literals.parseUint8"}, "argument": {"variable": "digits"}}}}},
                                                "argument": {
                                                  "application": {
                                                    "function": {
                                                      "typeApplication": {"body": {"variable": "hydra.core.parsers.fail"}, "type": {"variable": "hydra.core.model.IntegerValue"}}},
                                                    "argument": {
                                                      "application": {
                                                        "function": {"variable": "hydra.core.lib.strings.concat"},
                                                        "argument": {
                                                          "list": [
                                                            {"literal": {"string": "invalid "}},
                                                            {"literal": {"string": "uint8"}},
                                                            {"literal": {"string": " literal: "}},
                                                            {"variable": "digits"}]}}}}}}},
                                            "argument": {
                                              "lambda": {
                                                "parameter": "v",
                                                "domain": {"literal": {"integer": "uint8"}},
                                                "body": {
                                                  "application": {
                                                    "function": {
                                                      "typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"variable": "hydra.core.model.IntegerValue"}}},
                                                    "argument": {"inject": {"typeName": "hydra.core.model.IntegerValue", "field": {"name": "uint8", "term": {"variable": "v"}}}}}}}}}}}}}},
                                {
                                  "application": {
                                    "function": {
                                      "application": {
                                        "function": {
                                          "typeApplication": {
                                            "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                            "type": {"variable": "hydra.core.model.IntegerValue"}}},
                                        "argument": {
                                          "application": {
                                            "function": {"typeApplication": {"body": {"variable": "hydra.core.parse.core.lexeme"}, "type": {"literal": "string"}}},
                                            "argument": {"application": {"function": {"variable": "hydra.core.parsers.string"}, "argument": {"literal": {"string": "uint16"}}}}}}}},
                                    "argument": {
                                      "lambda": {
                                        "parameter": "_",
                                        "domain": {"literal": "string"},
                                        "body": {
                                          "application": {
                                            "function": {
                                              "application": {
                                                "function": {
                                                  "application": {
                                                    "function": {
                                                      "typeApplication": {
                                                        "body": {
                                                          "typeApplication": {"body": {"variable": "hydra.core.lib.optionals.match"}, "type": {"literal": {"integer": "uint16"}}}},
                                                        "type": {
                                                          "application": {"function": {"variable": "hydra.core.parsing.Parser"}, "argument": {"variable": "hydra.core.model.IntegerValue"}}}}},
                                                    "argument": {"application": {"function": {"variable": "hydra.core.lib.literals.parseUint16"}, "argument": {"variable": "digits"}}}}},
                                                "argument": {
                                                  "application": {
                                                    "function": {
                                                      "typeApplication": {"body": {"variable": "hydra.core.parsers.fail"}, "type": {"variable": "hydra.core.model.IntegerValue"}}},
                                                    "argument": {
                                                      "application": {
                                                        "function": {"variable": "hydra.core.lib.strings.concat"},
                                                        "argument": {
                                                          "list": [
                                                            {"literal": {"string": "invalid "}},
                                                            {"literal": {"string": "uint16"}},
                                                            {"literal": {"string": " literal: "}},
                                                            {"variable": "digits"}]}}}}}}},
                                            "argument": {
                                              "lambda": {
                                                "parameter": "v",
                                                "domain": {"literal": {"integer": "uint16"}},
                                                "body": {
                                                  "application": {
                                                    "function": {
                                                      "typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"variable": "hydra.core.model.IntegerValue"}}},
                                                    "argument": {"inject": {"typeName": "hydra.core.model.IntegerValue", "field": {"name": "uint16", "term": {"variable": "v"}}}}}}}}}}}}}},
                                {
                                  "application": {
                                    "function": {
                                      "application": {
                                        "function": {
                                          "typeApplication": {
                                            "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                            "type": {"variable": "hydra.core.model.IntegerValue"}}},
                                        "argument": {
                                          "application": {
                                            "function": {"typeApplication": {"body": {"variable": "hydra.core.parse.core.lexeme"}, "type": {"literal": "string"}}},
                                            "argument": {"application": {"function": {"variable": "hydra.core.parsers.string"}, "argument": {"literal": {"string": "uint32"}}}}}}}},
                                    "argument": {
                                      "lambda": {
                                        "parameter": "_",
                                        "domain": {"literal": "string"},
                                        "body": {
                                          "application": {
                                            "function": {
                                              "application": {
                                                "function": {
                                                  "application": {
                                                    "function": {
                                                      "typeApplication": {
                                                        "body": {
                                                          "typeApplication": {"body": {"variable": "hydra.core.lib.optionals.match"}, "type": {"literal": {"integer": "uint32"}}}},
                                                        "type": {
                                                          "application": {"function": {"variable": "hydra.core.parsing.Parser"}, "argument": {"variable": "hydra.core.model.IntegerValue"}}}}},
                                                    "argument": {"application": {"function": {"variable": "hydra.core.lib.literals.parseUint32"}, "argument": {"variable": "digits"}}}}},
                                                "argument": {
                                                  "application": {
                                                    "function": {
                                                      "typeApplication": {"body": {"variable": "hydra.core.parsers.fail"}, "type": {"variable": "hydra.core.model.IntegerValue"}}},
                                                    "argument": {
                                                      "application": {
                                                        "function": {"variable": "hydra.core.lib.strings.concat"},
                                                        "argument": {
                                                          "list": [
                                                            {"literal": {"string": "invalid "}},
                                                            {"literal": {"string": "uint32"}},
                                                            {"literal": {"string": " literal: "}},
                                                            {"variable": "digits"}]}}}}}}},
                                            "argument": {
                                              "lambda": {
                                                "parameter": "v",
                                                "domain": {"literal": {"integer": "uint32"}},
                                                "body": {
                                                  "application": {
                                                    "function": {
                                                      "typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"variable": "hydra.core.model.IntegerValue"}}},
                                                    "argument": {"inject": {"typeName": "hydra.core.model.IntegerValue", "field": {"name": "uint32", "term": {"variable": "v"}}}}}}}}}}}}}},
                                {
                                  "application": {
                                    "function": {
                                      "application": {
                                        "function": {
                                          "typeApplication": {
                                            "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                            "type": {"variable": "hydra.core.model.IntegerValue"}}},
                                        "argument": {
                                          "application": {
                                            "function": {"typeApplication": {"body": {"variable": "hydra.core.parse.core.lexeme"}, "type": {"literal": "string"}}},
                                            "argument": {"application": {"function": {"variable": "hydra.core.parsers.string"}, "argument": {"literal": {"string": "uint64"}}}}}}}},
                                    "argument": {
                                      "lambda": {
                                        "parameter": "_",
                                        "domain": {"literal": "string"},
                                        "body": {
                                          "application": {
                                            "function": {
                                              "application": {
                                                "function": {
                                                  "application": {
                                                    "function": {
                                                      "typeApplication": {
                                                        "body": {
                                                          "typeApplication": {"body": {"variable": "hydra.core.lib.optionals.match"}, "type": {"literal": {"integer": "uint64"}}}},
                                                        "type": {
                                                          "application": {"function": {"variable": "hydra.core.parsing.Parser"}, "argument": {"variable": "hydra.core.model.IntegerValue"}}}}},
                                                    "argument": {"application": {"function": {"variable": "hydra.core.lib.literals.parseUint64"}, "argument": {"variable": "digits"}}}}},
                                                "argument": {
                                                  "application": {
                                                    "function": {
                                                      "typeApplication": {"body": {"variable": "hydra.core.parsers.fail"}, "type": {"variable": "hydra.core.model.IntegerValue"}}},
                                                    "argument": {
                                                      "application": {
                                                        "function": {"variable": "hydra.core.lib.strings.concat"},
                                                        "argument": {
                                                          "list": [
                                                            {"literal": {"string": "invalid "}},
                                                            {"literal": {"string": "uint64"}},
                                                            {"literal": {"string": " literal: "}},
                                                            {"variable": "digits"}]}}}}}}},
                                            "argument": {
                                              "lambda": {
                                                "parameter": "v",
                                                "domain": {"literal": {"integer": "uint64"}},
                                                "body": {
                                                  "application": {
                                                    "function": {
                                                      "typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"variable": "hydra.core.model.IntegerValue"}}},
                                                    "argument": {"inject": {"typeName": "hydra.core.model.IntegerValue", "field": {"name": "uint64", "term": {"variable": "v"}}}}}}}}}}}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {
                    "literal": {"string": "Parse the ':width' suffix of an integer literal and build its IntegerValue from the preceding digits"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.parse.core.lambdaTerm",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {"function": {"variable": "hydra.core.parsing.Parser"}, "argument": {"variable": "hydra.core.model.Term"}}}}},
        "body": {
          "annotated": {
            "body": {
              "application": {
                "function": {
                  "application": {
                    "function": {
                      "typeApplication": {
                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": {"integer": "int32"}}}},
                        "type": {"variable": "hydra.core.model.Term"}}},
                    "argument": {
                      "application": {
                        "function": {"typeApplication": {"body": {"variable": "hydra.core.parse.core.lexeme"}, "type": {"literal": {"integer": "int32"}}}},
                        "argument": {
                          "application": {"function": {"variable": "hydra.core.parsers.char"}, "argument": {"literal": {"integer": {"int32": 955}}}}}}}}},
                "argument": {
                  "lambda": {
                    "parameter": "_",
                    "domain": {"literal": {"integer": "int32"}},
                    "body": {
                      "application": {
                        "function": {
                          "application": {
                            "function": {
                              "typeApplication": {
                                "body": {
                                  "typeApplication": {
                                    "body": {"variable": "hydra.core.parsers.bind"},
                                    "type": {
                                      "list": {
                                        "pair": {"first": {"variable": "hydra.core.model.Name"}, "second": {"optional": {"variable": "hydra.core.model.Type"}}}}}}},
                                "type": {"variable": "hydra.core.model.Term"}}},
                            "argument": {
                              "application": {
                                "function": {
                                  "application": {
                                    "function": {
                                      "typeApplication": {
                                        "body": {
                                          "typeApplication": {
                                            "body": {"variable": "hydra.core.parsers.sepBy1"},
                                            "type": {
                                              "pair": {"first": {"variable": "hydra.core.model.Name"}, "second": {"optional": {"variable": "hydra.core.model.Type"}}}}}},
                                        "type": {"literal": {"integer": "int32"}}}},
                                    "argument": {
                                      "application": {
                                        "function": {
                                          "application": {
                                            "function": {
                                              "typeApplication": {
                                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"variable": "hydra.core.model.Name"}}},
                                                "type": {
                                                  "pair": {"first": {"variable": "hydra.core.model.Name"}, "second": {"optional": {"variable": "hydra.core.model.Type"}}}}}},
                                            "argument": {"variable": "hydra.core.parse.core.binderName"}}},
                                        "argument": {
                                          "lambda": {
                                            "parameter": "v",
                                            "domain": {"variable": "hydra.core.model.Name"},
                                            "body": {
                                              "application": {
                                                "function": {
                                                  "application": {
                                                    "function": {
                                                      "typeApplication": {
                                                        "body": {
                                                          "typeApplication": {"body": {"variable": "hydra.core.parsers.map"}, "type": {"optional": {"variable": "hydra.core.model.Type"}}}},
                                                        "type": {
                                                          "pair": {"first": {"variable": "hydra.core.model.Name"}, "second": {"optional": {"variable": "hydra.core.model.Type"}}}}}},
                                                    "argument": {
                                                      "lambda": {
                                                        "parameter": "mt",
                                                        "domain": {"optional": {"variable": "hydra.core.model.Type"}},
                                                        "body": {
                                                          "typeApplication": {
                                                            "body": {
                                                              "typeApplication": {
                                                                "body": {"pair": {"first": {"variable": "v"}, "second": {"variable": "mt"}}},
                                                                "type": {"variable": "hydra.core.model.Name"}}},
                                                            "type": {"optional": {"variable": "hydra.core.model.Type"}}}}}}}},
                                                "argument": {
                                                  "application": {
                                                    "function": {
                                                      "typeApplication": {"body": {"variable": "hydra.core.parsers.optional"}, "type": {"variable": "hydra.core.model.Type"}}},
                                                    "argument": {
                                                      "application": {
                                                        "function": {
                                                          "application": {
                                                            "function": {
                                                              "typeApplication": {
                                                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": {"integer": "int32"}}}},
                                                                "type": {"variable": "hydra.core.model.Type"}}},
                                                            "argument": {
                                                              "application": {
                                                                "function": {"typeApplication": {"body": {"variable": "hydra.core.parse.core.lexeme"}, "type": {"literal": {"integer": "int32"}}}},
                                                                "argument": {
                                                                  "application": {"function": {"variable": "hydra.core.parsers.char"}, "argument": {"literal": {"integer": {"int32": 58}}}}}}}}},
                                                        "argument": {
                                                          "lambda": {"parameter": "_", "domain": {"literal": {"integer": "int32"}}, "body": {"variable": "hydra.core.parse.core.type"}}}}}}}}}}}}}}},
                                "argument": {
                                  "application": {
                                    "function": {"typeApplication": {"body": {"variable": "hydra.core.parse.core.lexeme"}, "type": {"literal": {"integer": "int32"}}}},
                                    "argument": {
                                      "application": {"function": {"variable": "hydra.core.parsers.char"}, "argument": {"literal": {"integer": {"int32": 44}}}}}}}}}}},
                        "argument": {
                          "lambda": {
                            "parameter": "binders",
                            "domain": {
                              "list": {
                                "pair": {"first": {"variable": "hydra.core.model.Name"}, "second": {"optional": {"variable": "hydra.core.model.Type"}}}}},
                            "body": {
                              "application": {
                                "function": {
                                  "application": {
                                    "function": {
                                      "typeApplication": {
                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": {"integer": "int32"}}}},
                                        "type": {"variable": "hydra.core.model.Term"}}},
                                    "argument": {
                                      "application": {
                                        "function": {"typeApplication": {"body": {"variable": "hydra.core.parse.core.lexeme"}, "type": {"literal": {"integer": "int32"}}}},
                                        "argument": {
                                          "application": {"function": {"variable": "hydra.core.parsers.char"}, "argument": {"literal": {"integer": {"int32": 46}}}}}}}}},
                                "argument": {
                                  "lambda": {
                                    "parameter": "_",
                                    "domain": {"literal": {"integer": "int32"}},
                                    "body": {
                                      "application": {
                                        "function": {
                                          "application": {
                                            "function": {
                                              "typeApplication": {
                                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.map"}, "type": {"variable": "hydra.core.model.Term"}}},
                                                "type": {"variable": "hydra.core.model.Term"}}},
                                            "argument": {
                                              "lambda": {
                                                "parameter": "body",
                                                "domain": {"variable": "hydra.core.model.Term"},
                                                "body": {
                                                  "application": {
                                                    "function": {
                                                      "application": {
                                                        "function": {
                                                          "application": {
                                                            "function": {
                                                              "typeApplication": {
                                                                "body": {"typeApplication": {"body": {"variable": "hydra.core.lib.lists.foldl"}, "type": {"variable": "hydra.core.model.Term"}}},
                                                                "type": {
                                                                  "pair": {"first": {"variable": "hydra.core.model.Name"}, "second": {"optional": {"variable": "hydra.core.model.Type"}}}}}},
                                                            "argument": {
                                                              "lambda": {
                                                                "parameter": "t",
                                                                "domain": {"variable": "hydra.core.model.Term"},
                                                                "body": {
                                                                  "lambda": {
                                                                    "parameter": "b",
                                                                    "domain": {
                                                                      "pair": {"first": {"variable": "hydra.core.model.Name"}, "second": {"optional": {"variable": "hydra.core.model.Type"}}}},
                                                                    "body": {
                                                                      "inject": {
                                                                        "typeName": "hydra.core.model.Term",
                                                                        "field": {
                                                                          "name": "lambda",
                                                                          "term": {
                                                                            "record": {
                                                                              "typeName": "hydra.core.model.Lambda",
                                                                              "fields": [
                                                                                {
                                                                                  "name": "parameter",
                                                                                  "term": {
                                                                                    "application": {
                                                                                      "function": {
                                                                                        "typeApplication": {
                                                                                          "body": {"typeApplication": {"body": {"variable": "hydra.core.lib.pairs.first"}, "type": {"variable": "hydra.core.model.Name"}}},
                                                                                          "type": {"optional": {"variable": "hydra.core.model.Type"}}}},
                                                                                      "argument": {"variable": "b"}}}},
                                                                                {
                                                                                  "name": "domain",
                                                                                  "term": {
                                                                                    "application": {
                                                                                      "function": {
                                                                                        "typeApplication": {
                                                                                          "body": {
                                                                                            "typeApplication": {"body": {"variable": "hydra.core.lib.pairs.second"}, "type": {"variable": "hydra.core.model.Name"}}},
                                                                                          "type": {"optional": {"variable": "hydra.core.model.Type"}}}},
                                                                                      "argument": {"variable": "b"}}}},
                                                                                {"name": "body", "term": {"variable": "t"}}]}}}}}}}}}}},
                                                        "argument": {"variable": "body"}}},
                                                    "argument": {
                                                      "application": {
                                                        "function": {
                                                          "typeApplication": {
                                                            "body": {"variable": "hydra.core.lib.lists.reverse"},
                                                            "type": {
                                                              "pair": {"first": {"variable": "hydra.core.model.Name"}, "second": {"optional": {"variable": "hydra.core.model.Type"}}}}}},
                                                        "argument": {"variable": "binders"}}}}}}}}},
                                        "argument": {
                                          "application": {
                                            "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.lazy"}, "type": {"variable": "hydra.core.model.Term"}}},
                                            "argument": {"lambda": {"parameter": "_", "domain": "unit", "body": {"variable": "hydra.core.parse.core.term"}}}}}}}}}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "Parse a lambda term: 'λ' lamBinder (',' lamBinder)* '.' term"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.parse.core.letTerm",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {"function": {"variable": "hydra.core.parsing.Parser"}, "argument": {"variable": "hydra.core.model.Term"}}}}},
        "body": {
          "annotated": {
            "body": {
              "application": {
                "function": {
                  "application": {
                    "function": {
                      "typeApplication": {
                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                        "type": {"variable": "hydra.core.model.Term"}}},
                    "argument": {
                      "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": "let"}}}}}},
                "argument": {
                  "lambda": {
                    "parameter": "_",
                    "domain": {"literal": "string"},
                    "body": {
                      "application": {
                        "function": {
                          "application": {
                            "function": {
                              "typeApplication": {
                                "body": {
                                  "typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"list": {"variable": "hydra.core.model.Binding"}}}},
                                "type": {"variable": "hydra.core.model.Term"}}},
                            "argument": {
                              "application": {
                                "function": {
                                  "application": {
                                    "function": {
                                      "typeApplication": {
                                        "body": {
                                          "typeApplication": {"body": {"variable": "hydra.core.parsers.sepBy1"}, "type": {"variable": "hydra.core.model.Binding"}}},
                                        "type": {"literal": "string"}}},
                                    "argument": {"variable": "hydra.core.parse.core.binding"}}},
                                "argument": {
                                  "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": ","}}}}}}}},
                        "argument": {
                          "lambda": {
                            "parameter": "bs",
                            "domain": {"list": {"variable": "hydra.core.model.Binding"}},
                            "body": {
                              "application": {
                                "function": {
                                  "application": {
                                    "function": {
                                      "typeApplication": {
                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                        "type": {"variable": "hydra.core.model.Term"}}},
                                    "argument": {
                                      "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": "in"}}}}}},
                                "argument": {
                                  "lambda": {
                                    "parameter": "_",
                                    "domain": {"literal": "string"},
                                    "body": {
                                      "application": {
                                        "function": {
                                          "application": {
                                            "function": {
                                              "typeApplication": {
                                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.map"}, "type": {"variable": "hydra.core.model.Term"}}},
                                                "type": {"variable": "hydra.core.model.Term"}}},
                                            "argument": {
                                              "lambda": {
                                                "parameter": "body",
                                                "domain": {"variable": "hydra.core.model.Term"},
                                                "body": {
                                                  "inject": {
                                                    "typeName": "hydra.core.model.Term",
                                                    "field": {
                                                      "name": "let",
                                                      "term": {
                                                        "record": {
                                                          "typeName": "hydra.core.model.Let",
                                                          "fields": [{"name": "bindings", "term": {"variable": "bs"}}, {"name": "body", "term": {"variable": "body"}}]}}}}}}}}},
                                        "argument": {
                                          "application": {
                                            "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.lazy"}, "type": {"variable": "hydra.core.model.Term"}}},
                                            "argument": {"lambda": {"parameter": "_", "domain": "unit", "body": {"variable": "hydra.core.parse.core.term"}}}}}}}}}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "Parse a let term: 'let' binding (',' binding)* 'in' term"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.parse.core.lexeme",
        "signature": {
          "typeParameters": [{"name": "t0", "constraints": []}],
          "parameters": [
            {
              "name": "arg0",
              "type": {"application": {"function": {"variable": "hydra.core.parsing.Parser"}, "argument": {"variable": "t0"}}},
              "isLazy": false}],
          "result": {"type": {"application": {"function": {"variable": "hydra.core.parsing.Parser"}, "argument": {"variable": "t0"}}}}},
        "body": {
          "typeLambda": {
            "parameter": "t0",
            "body": {
              "annotated": {
                "body": {
                  "lambda": {
                    "parameter": "p",
                    "domain": {"application": {"function": {"variable": "hydra.core.parsing.Parser"}, "argument": {"variable": "t0"}}},
                    "body": {
                      "application": {
                        "function": {
                          "application": {
                            "function": {
                              "typeApplication": {
                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"variable": "t0"}}},
                                "type": {"variable": "t0"}}},
                            "argument": {"variable": "p"}}},
                        "argument": {
                          "lambda": {
                            "parameter": "x",
                            "domain": {"variable": "t0"},
                            "body": {
                              "application": {
                                "function": {
                                  "application": {
                                    "function": {
                                      "typeApplication": {
                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": "unit"}},
                                        "type": {"variable": "t0"}}},
                                    "argument": {"variable": "hydra.core.parsers.markTokenEnd"}}},
                                "argument": {
                                  "lambda": {
                                    "parameter": "_",
                                    "domain": "unit",
                                    "body": {
                                      "application": {
                                        "function": {
                                          "application": {
                                            "function": {
                                              "typeApplication": {
                                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": "unit"}},
                                                "type": {"variable": "t0"}}},
                                            "argument": {"variable": "hydra.core.parse.core.whitespace"}}},
                                        "argument": {
                                          "lambda": {
                                            "parameter": "_",
                                            "domain": "unit",
                                            "body": {
                                              "application": {
                                                "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"variable": "t0"}}},
                                                "argument": {"variable": "x"}}}}}}}}}}}}}}}}},
                "annotation": {
                  "map": [
                    {
                      "key": {"variable": "description"},
                      "value": {
                        "literal": {
                          "string": "Parse a token followed by optional trailing whitespace/comments, recording where the token itself ended so that source spans exclude the trailing trivia"}}}]}}}}}}},
    {
      "term": {
        "name": "hydra.core.parse.core.listTerm",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {"function": {"variable": "hydra.core.parsing.Parser"}, "argument": {"variable": "hydra.core.model.Term"}}}}},
        "body": {
          "annotated": {
            "body": {
              "application": {
                "function": {
                  "application": {
                    "function": {
                      "typeApplication": {
                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                        "type": {"variable": "hydra.core.model.Term"}}},
                    "argument": {
                      "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": "["}}}}}},
                "argument": {
                  "lambda": {
                    "parameter": "_",
                    "domain": {"literal": "string"},
                    "body": {
                      "application": {
                        "function": {
                          "application": {
                            "function": {
                              "typeApplication": {
                                "body": {
                                  "typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"list": {"variable": "hydra.core.model.Term"}}}},
                                "type": {"variable": "hydra.core.model.Term"}}},
                            "argument": {
                              "application": {
                                "function": {
                                  "application": {
                                    "function": {
                                      "typeApplication": {
                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.sepBy"}, "type": {"variable": "hydra.core.model.Term"}}},
                                        "type": {"literal": "string"}}},
                                    "argument": {
                                      "application": {
                                        "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.lazy"}, "type": {"variable": "hydra.core.model.Term"}}},
                                        "argument": {"lambda": {"parameter": "_", "domain": "unit", "body": {"variable": "hydra.core.parse.core.term"}}}}}}},
                                "argument": {
                                  "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": ","}}}}}}}},
                        "argument": {
                          "lambda": {
                            "parameter": "els",
                            "domain": {"list": {"variable": "hydra.core.model.Term"}},
                            "body": {
                              "application": {
                                "function": {
                                  "application": {
                                    "function": {
                                      "typeApplication": {
                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                        "type": {"variable": "hydra.core.model.Term"}}},
                                    "argument": {
                                      "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": "]"}}}}}},
                                "argument": {
                                  "lambda": {
                                    "parameter": "_",
                                    "domain": {"literal": "string"},
                                    "body": {
                                      "application": {
                                        "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"variable": "hydra.core.model.Term"}}},
                                        "argument": {"inject": {"typeName": "hydra.core.model.Term", "field": {"name": "list", "term": {"variable": "els"}}}}}}}}}}}}}}}}}},
            "annotation": {
              "map": [
                {"key": {"variable": "description"}, "value": {"literal": {"string": "Parse a list term: '[' [term (',' term)*] ']'"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.parse.core.literalLit",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {"function": {"variable": "hydra.core.parsing.Parser"}, "argument": {"variable": "hydra.core.model.Literal"}}}}},
        "body": {
          "annotated": {
            "body": {
              "application": {
                "function": {
                  "typeApplication": {"body": {"variable": "hydra.core.parsers.choice"}, "type": {"variable": "hydra.core.model.Literal"}}},
                "argument": {
                  "list": [
                    {
                      "application": {
                        "function": {
                          "application": {
                            "function": {
                              "typeApplication": {
                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                "type": {"variable": "hydra.core.model.Literal"}}},
                            "argument": {
                              "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": "true"}}}}}},
                        "argument": {
                          "lambda": {
                            "parameter": "_",
                            "domain": {"literal": "string"},
                            "body": {
                              "application": {
                                "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"variable": "hydra.core.model.Literal"}}},
                                "argument": {
                                  "inject": {"typeName": "hydra.core.model.Literal", "field": {"name": "boolean", "term": {"literal": {"boolean": true}}}}}}}}}}},
                    {
                      "application": {
                        "function": {
                          "application": {
                            "function": {
                              "typeApplication": {
                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                "type": {"variable": "hydra.core.model.Literal"}}},
                            "argument": {
                              "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": "false"}}}}}},
                        "argument": {
                          "lambda": {
                            "parameter": "_",
                            "domain": {"literal": "string"},
                            "body": {
                              "application": {
                                "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"variable": "hydra.core.model.Literal"}}},
                                "argument": {
                                  "inject": {"typeName": "hydra.core.model.Literal", "field": {"name": "boolean", "term": {"literal": {"boolean": false}}}}}}}}}}},
                    {"variable": "hydra.core.parse.core.numericLit"},
                    {
                      "application": {
                        "function": {
                          "application": {
                            "function": {
                              "typeApplication": {
                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                "type": {"variable": "hydra.core.model.Literal"}}},
                            "argument": {"variable": "hydra.core.parse.core.stringLit"}}},
                        "argument": {
                          "lambda": {
                            "parameter": "s",
                            "domain": {"literal": "string"},
                            "body": {
                              "application": {
                                "function": {
                                  "application": {
                                    "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.alt"}, "type": {"variable": "hydra.core.model.Literal"}}},
                                    "argument": {
                                      "application": {
                                        "function": {
                                          "application": {
                                            "function": {
                                              "typeApplication": {
                                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": {"integer": "int32"}}}},
                                                "type": {"variable": "hydra.core.model.Literal"}}},
                                            "argument": {
                                              "application": {"function": {"variable": "hydra.core.parsers.char"}, "argument": {"literal": {"integer": {"int32": 58}}}}}}},
                                        "argument": {
                                          "lambda": {
                                            "parameter": "_",
                                            "domain": {"literal": {"integer": "int32"}},
                                            "body": {
                                              "application": {
                                                "function": {
                                                  "application": {
                                                    "function": {
                                                      "typeApplication": {
                                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                                        "type": {"variable": "hydra.core.model.Literal"}}},
                                                    "argument": {
                                                      "application": {
                                                        "function": {"typeApplication": {"body": {"variable": "hydra.core.parse.core.lexeme"}, "type": {"literal": "string"}}},
                                                        "argument": {"application": {"function": {"variable": "hydra.core.parsers.string"}, "argument": {"literal": {"string": "binary"}}}}}}}},
                                                "argument": {
                                                  "lambda": {
                                                    "parameter": "_",
                                                    "domain": {"literal": "string"},
                                                    "body": {
                                                      "application": {
                                                        "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"variable": "hydra.core.model.Literal"}}},
                                                        "argument": {
                                                          "inject": {
                                                            "typeName": "hydra.core.model.Literal",
                                                            "field": {
                                                              "name": "binary",
                                                              "term": {"application": {"function": {"variable": "hydra.core.lib.literals.base64ToBinary"}, "argument": {"variable": "s"}}}}}}}}}}}}}}}}}},
                                "argument": {
                                  "application": {
                                    "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"variable": "hydra.core.model.Literal"}}},
                                    "argument": {"inject": {"typeName": "hydra.core.model.Literal", "field": {"name": "string", "term": {"variable": "s"}}}}}}}}}}}}]}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "Parse a literal: boolean, numeric, string, or binary"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.parse.core.literalTypeLit",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {"function": {"variable": "hydra.core.parsing.Parser"}, "argument": {"variable": "hydra.core.model.LiteralType"}}}}},
        "body": {
          "annotated": {
            "body": {
              "application": {
                "function": {
                  "typeApplication": {"body": {"variable": "hydra.core.parsers.choice"}, "type": {"variable": "hydra.core.model.LiteralType"}}},
                "argument": {
                  "list": [
                    {
                      "application": {
                        "function": {
                          "application": {
                            "function": {
                              "typeApplication": {
                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                "type": {"variable": "hydra.core.model.LiteralType"}}},
                            "argument": {
                              "application": {"function": {"variable": "hydra.core.parse.core.typeKeyword"}, "argument": {"literal": {"string": "binary"}}}}}},
                        "argument": {
                          "lambda": {
                            "parameter": "_",
                            "domain": {"literal": "string"},
                            "body": {
                              "application": {
                                "function": {
                                  "typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"variable": "hydra.core.model.LiteralType"}}},
                                "argument": {"inject": {"typeName": "hydra.core.model.LiteralType", "field": {"name": "binary", "term": "unit"}}}}}}}}},
                    {
                      "application": {
                        "function": {
                          "application": {
                            "function": {
                              "typeApplication": {
                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                "type": {"variable": "hydra.core.model.LiteralType"}}},
                            "argument": {
                              "application": {"function": {"variable": "hydra.core.parse.core.typeKeyword"}, "argument": {"literal": {"string": "boolean"}}}}}},
                        "argument": {
                          "lambda": {
                            "parameter": "_",
                            "domain": {"literal": "string"},
                            "body": {
                              "application": {
                                "function": {
                                  "typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"variable": "hydra.core.model.LiteralType"}}},
                                "argument": {"inject": {"typeName": "hydra.core.model.LiteralType", "field": {"name": "boolean", "term": "unit"}}}}}}}}},
                    {
                      "application": {
                        "function": {
                          "application": {
                            "function": {
                              "typeApplication": {
                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                "type": {"variable": "hydra.core.model.LiteralType"}}},
                            "argument": {
                              "application": {"function": {"variable": "hydra.core.parse.core.typeKeyword"}, "argument": {"literal": {"string": "decimal"}}}}}},
                        "argument": {
                          "lambda": {
                            "parameter": "_",
                            "domain": {"literal": "string"},
                            "body": {
                              "application": {
                                "function": {
                                  "typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"variable": "hydra.core.model.LiteralType"}}},
                                "argument": {"inject": {"typeName": "hydra.core.model.LiteralType", "field": {"name": "decimal", "term": "unit"}}}}}}}}},
                    {
                      "application": {
                        "function": {
                          "application": {
                            "function": {
                              "typeApplication": {
                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                "type": {"variable": "hydra.core.model.LiteralType"}}},
                            "argument": {
                              "application": {"function": {"variable": "hydra.core.parse.core.typeKeyword"}, "argument": {"literal": {"string": "string"}}}}}},
                        "argument": {
                          "lambda": {
                            "parameter": "_",
                            "domain": {"literal": "string"},
                            "body": {
                              "application": {
                                "function": {
                                  "typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"variable": "hydra.core.model.LiteralType"}}},
                                "argument": {"inject": {"typeName": "hydra.core.model.LiteralType", "field": {"name": "string", "term": "unit"}}}}}}}}},
                    {
                      "application": {
                        "function": {
                          "application": {
                            "function": {
                              "typeApplication": {
                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                "type": {"variable": "hydra.core.model.LiteralType"}}},
                            "argument": {
                              "application": {"function": {"variable": "hydra.core.parse.core.typeKeyword"}, "argument": {"literal": {"string": "bigint"}}}}}},
                        "argument": {
                          "lambda": {
                            "parameter": "_",
                            "domain": {"literal": "string"},
                            "body": {
                              "application": {
                                "function": {
                                  "typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"variable": "hydra.core.model.LiteralType"}}},
                                "argument": {
                                  "inject": {
                                    "typeName": "hydra.core.model.LiteralType",
                                    "field": {
                                      "name": "integer",
                                      "term": {"inject": {"typeName": "hydra.core.model.IntegerType", "field": {"name": "bigint", "term": "unit"}}}}}}}}}}}},
                    {
                      "application": {
                        "function": {
                          "application": {
                            "function": {
                              "typeApplication": {
                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                "type": {"variable": "hydra.core.model.LiteralType"}}},
                            "argument": {
                              "application": {"function": {"variable": "hydra.core.parse.core.typeKeyword"}, "argument": {"literal": {"string": "int8"}}}}}},
                        "argument": {
                          "lambda": {
                            "parameter": "_",
                            "domain": {"literal": "string"},
                            "body": {
                              "application": {
                                "function": {
                                  "typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"variable": "hydra.core.model.LiteralType"}}},
                                "argument": {
                                  "inject": {
                                    "typeName": "hydra.core.model.LiteralType",
                                    "field": {
                                      "name": "integer",
                                      "term": {"inject": {"typeName": "hydra.core.model.IntegerType", "field": {"name": "int8", "term": "unit"}}}}}}}}}}}},
                    {
                      "application": {
                        "function": {
                          "application": {
                            "function": {
                              "typeApplication": {
                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                "type": {"variable": "hydra.core.model.LiteralType"}}},
                            "argument": {
                              "application": {"function": {"variable": "hydra.core.parse.core.typeKeyword"}, "argument": {"literal": {"string": "int16"}}}}}},
                        "argument": {
                          "lambda": {
                            "parameter": "_",
                            "domain": {"literal": "string"},
                            "body": {
                              "application": {
                                "function": {
                                  "typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"variable": "hydra.core.model.LiteralType"}}},
                                "argument": {
                                  "inject": {
                                    "typeName": "hydra.core.model.LiteralType",
                                    "field": {
                                      "name": "integer",
                                      "term": {"inject": {"typeName": "hydra.core.model.IntegerType", "field": {"name": "int16", "term": "unit"}}}}}}}}}}}},
                    {
                      "application": {
                        "function": {
                          "application": {
                            "function": {
                              "typeApplication": {
                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                "type": {"variable": "hydra.core.model.LiteralType"}}},
                            "argument": {
                              "application": {"function": {"variable": "hydra.core.parse.core.typeKeyword"}, "argument": {"literal": {"string": "int32"}}}}}},
                        "argument": {
                          "lambda": {
                            "parameter": "_",
                            "domain": {"literal": "string"},
                            "body": {
                              "application": {
                                "function": {
                                  "typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"variable": "hydra.core.model.LiteralType"}}},
                                "argument": {
                                  "inject": {
                                    "typeName": "hydra.core.model.LiteralType",
                                    "field": {
                                      "name": "integer",
                                      "term": {"inject": {"typeName": "hydra.core.model.IntegerType", "field": {"name": "int32", "term": "unit"}}}}}}}}}}}},
                    {
                      "application": {
                        "function": {
                          "application": {
                            "function": {
                              "typeApplication": {
                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                "type": {"variable": "hydra.core.model.LiteralType"}}},
                            "argument": {
                              "application": {"function": {"variable": "hydra.core.parse.core.typeKeyword"}, "argument": {"literal": {"string": "int64"}}}}}},
                        "argument": {
                          "lambda": {
                            "parameter": "_",
                            "domain": {"literal": "string"},
                            "body": {
                              "application": {
                                "function": {
                                  "typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"variable": "hydra.core.model.LiteralType"}}},
                                "argument": {
                                  "inject": {
                                    "typeName": "hydra.core.model.LiteralType",
                                    "field": {
                                      "name": "integer",
                                      "term": {"inject": {"typeName": "hydra.core.model.IntegerType", "field": {"name": "int64", "term": "unit"}}}}}}}}}}}},
                    {
                      "application": {
                        "function": {
                          "application": {
                            "function": {
                              "typeApplication": {
                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                "type": {"variable": "hydra.core.model.LiteralType"}}},
                            "argument": {
                              "application": {"function": {"variable": "hydra.core.parse.core.typeKeyword"}, "argument": {"literal": {"string": "uint8"}}}}}},
                        "argument": {
                          "lambda": {
                            "parameter": "_",
                            "domain": {"literal": "string"},
                            "body": {
                              "application": {
                                "function": {
                                  "typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"variable": "hydra.core.model.LiteralType"}}},
                                "argument": {
                                  "inject": {
                                    "typeName": "hydra.core.model.LiteralType",
                                    "field": {
                                      "name": "integer",
                                      "term": {"inject": {"typeName": "hydra.core.model.IntegerType", "field": {"name": "uint8", "term": "unit"}}}}}}}}}}}},
                    {
                      "application": {
                        "function": {
                          "application": {
                            "function": {
                              "typeApplication": {
                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                "type": {"variable": "hydra.core.model.LiteralType"}}},
                            "argument": {
                              "application": {"function": {"variable": "hydra.core.parse.core.typeKeyword"}, "argument": {"literal": {"string": "uint16"}}}}}},
                        "argument": {
                          "lambda": {
                            "parameter": "_",
                            "domain": {"literal": "string"},
                            "body": {
                              "application": {
                                "function": {
                                  "typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"variable": "hydra.core.model.LiteralType"}}},
                                "argument": {
                                  "inject": {
                                    "typeName": "hydra.core.model.LiteralType",
                                    "field": {
                                      "name": "integer",
                                      "term": {"inject": {"typeName": "hydra.core.model.IntegerType", "field": {"name": "uint16", "term": "unit"}}}}}}}}}}}},
                    {
                      "application": {
                        "function": {
                          "application": {
                            "function": {
                              "typeApplication": {
                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                "type": {"variable": "hydra.core.model.LiteralType"}}},
                            "argument": {
                              "application": {"function": {"variable": "hydra.core.parse.core.typeKeyword"}, "argument": {"literal": {"string": "uint32"}}}}}},
                        "argument": {
                          "lambda": {
                            "parameter": "_",
                            "domain": {"literal": "string"},
                            "body": {
                              "application": {
                                "function": {
                                  "typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"variable": "hydra.core.model.LiteralType"}}},
                                "argument": {
                                  "inject": {
                                    "typeName": "hydra.core.model.LiteralType",
                                    "field": {
                                      "name": "integer",
                                      "term": {"inject": {"typeName": "hydra.core.model.IntegerType", "field": {"name": "uint32", "term": "unit"}}}}}}}}}}}},
                    {
                      "application": {
                        "function": {
                          "application": {
                            "function": {
                              "typeApplication": {
                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                "type": {"variable": "hydra.core.model.LiteralType"}}},
                            "argument": {
                              "application": {"function": {"variable": "hydra.core.parse.core.typeKeyword"}, "argument": {"literal": {"string": "uint64"}}}}}},
                        "argument": {
                          "lambda": {
                            "parameter": "_",
                            "domain": {"literal": "string"},
                            "body": {
                              "application": {
                                "function": {
                                  "typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"variable": "hydra.core.model.LiteralType"}}},
                                "argument": {
                                  "inject": {
                                    "typeName": "hydra.core.model.LiteralType",
                                    "field": {
                                      "name": "integer",
                                      "term": {"inject": {"typeName": "hydra.core.model.IntegerType", "field": {"name": "uint64", "term": "unit"}}}}}}}}}}}},
                    {
                      "application": {
                        "function": {
                          "application": {
                            "function": {
                              "typeApplication": {
                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                "type": {"variable": "hydra.core.model.LiteralType"}}},
                            "argument": {
                              "application": {"function": {"variable": "hydra.core.parse.core.typeKeyword"}, "argument": {"literal": {"string": "float32"}}}}}},
                        "argument": {
                          "lambda": {
                            "parameter": "_",
                            "domain": {"literal": "string"},
                            "body": {
                              "application": {
                                "function": {
                                  "typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"variable": "hydra.core.model.LiteralType"}}},
                                "argument": {
                                  "inject": {
                                    "typeName": "hydra.core.model.LiteralType",
                                    "field": {
                                      "name": "float",
                                      "term": {"inject": {"typeName": "hydra.core.model.FloatType", "field": {"name": "float32", "term": "unit"}}}}}}}}}}}},
                    {
                      "application": {
                        "function": {
                          "application": {
                            "function": {
                              "typeApplication": {
                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                "type": {"variable": "hydra.core.model.LiteralType"}}},
                            "argument": {
                              "application": {"function": {"variable": "hydra.core.parse.core.typeKeyword"}, "argument": {"literal": {"string": "float64"}}}}}},
                        "argument": {
                          "lambda": {
                            "parameter": "_",
                            "domain": {"literal": "string"},
                            "body": {
                              "application": {
                                "function": {
                                  "typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"variable": "hydra.core.model.LiteralType"}}},
                                "argument": {
                                  "inject": {
                                    "typeName": "hydra.core.model.LiteralType",
                                    "field": {
                                      "name": "float",
                                      "term": {"inject": {"typeName": "hydra.core.model.FloatType", "field": {"name": "float64", "term": "unit"}}}}}}}}}}}}]}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {
                    "literal": {"string": "Parse a literal-type keyword: binary, boolean, decimal, string, an integer width, or a float width"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.parse.core.name",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {"function": {"variable": "hydra.core.parsing.Parser"}, "argument": {"variable": "hydra.core.model.Name"}}}}},
        "body": {
          "annotated": {
            "body": {
              "application": {
                "function": {
                  "application": {
                    "function": {
                      "typeApplication": {
                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.map"}, "type": {"literal": "string"}}},
                        "type": {"variable": "hydra.core.model.Name"}}},
                    "argument": {
                      "lambda": {
                        "parameter": "s",
                        "domain": {"literal": "string"},
                        "body": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"variable": "s"}}}}}}},
                "argument": {
                  "application": {
                    "function": {
                      "application": {
                        "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.alt"}, "type": {"literal": "string"}}},
                        "argument": {
                          "application": {
                            "function": {"typeApplication": {"body": {"variable": "hydra.core.parse.core.lexeme"}, "type": {"literal": "string"}}},
                            "argument": {
                              "application": {
                                "function": {
                                  "application": {
                                    "function": {
                                      "typeApplication": {
                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"list": {"literal": "string"}}}},
                                        "type": {"literal": "string"}}},
                                    "argument": {
                                      "application": {
                                        "function": {
                                          "application": {
                                            "function": {
                                              "typeApplication": {
                                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.sepBy1"}, "type": {"literal": "string"}}},
                                                "type": {"literal": {"integer": "int32"}}}},
                                            "argument": {
                                              "application": {
                                                "function": {
                                                  "application": {
                                                    "function": {
                                                      "typeApplication": {
                                                        "body": {
                                                          "typeApplication": {"body": {"variable": "hydra.core.parsers.map"}, "type": {"list": {"literal": {"integer": "int32"}}}}},
                                                        "type": {"literal": "string"}}},
                                                    "argument": {
                                                      "lambda": {
                                                        "parameter": "cs",
                                                        "domain": {"list": {"literal": {"integer": "int32"}}},
                                                        "body": {"application": {"function": {"variable": "hydra.core.lib.strings.fromList"}, "argument": {"variable": "cs"}}}}}}},
                                                "argument": {
                                                  "application": {
                                                    "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.some"}, "type": {"literal": {"integer": "int32"}}}},
                                                    "argument": {
                                                      "application": {
                                                        "function": {"variable": "hydra.core.parsers.satisfy"},
                                                        "argument": {"variable": "hydra.core.parse.core.bareNameSegmentChar"}}}}}}}}},
                                        "argument": {
                                          "application": {"function": {"variable": "hydra.core.parsers.char"}, "argument": {"literal": {"integer": {"int32": 46}}}}}}}}},
                                "argument": {
                                  "lambda": {
                                    "parameter": "segs",
                                    "domain": {"list": {"literal": "string"}},
                                    "body": {
                                      "let": {
                                        "bindings": [
                                          {
                                            "name": "s",
                                            "term": {
                                              "application": {
                                                "function": {"application": {"function": {"variable": "hydra.core.lib.strings.join"}, "argument": {"literal": {"string": "."}}}},
                                                "argument": {"variable": "segs"}}},
                                            "typeScheme": {"variables": [], "body": {"literal": "string"}, "constraints": []}}],
                                        "body": {
                                          "application": {
                                            "function": {
                                              "application": {
                                                "function": {
                                                  "application": {
                                                    "function": {
                                                      "typeApplication": {
                                                        "body": {"variable": "hydra.core.lib.logic.ifElse"},
                                                        "type": {"application": {"function": {"variable": "hydra.core.parsing.Parser"}, "argument": {"literal": "string"}}}}},
                                                    "argument": {"application": {"function": {"variable": "hydra.core.print.model.isReservedWord"}, "argument": {"variable": "s"}}}}},
                                                "argument": {
                                                  "application": {
                                                    "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.fail"}, "type": {"literal": "string"}}},
                                                    "argument": {
                                                      "application": {
                                                        "function": {
                                                          "application": {
                                                            "function": {"variable": "hydra.core.lib.strings.concat2"},
                                                            "argument": {"literal": {"string": "reserved word used bare: "}}}},
                                                        "argument": {"variable": "s"}}}}}}},
                                            "argument": {
                                              "application": {
                                                "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"literal": "string"}}},
                                                "argument": {"variable": "s"}}}}}}}}}}}}}}},
                    "argument": {"variable": "hydra.core.parse.core.backtickedName"}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "Parse a name: a greedily-read bare dotted name, or a backtick-escaped name"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.parse.core.numericLit",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {"function": {"variable": "hydra.core.parsing.Parser"}, "argument": {"variable": "hydra.core.model.Literal"}}}}},
        "body": {
          "annotated": {
            "body": {
              "application": {
                "function": {
                  "application": {
                    "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.alt"}, "type": {"variable": "hydra.core.model.Literal"}}},
                    "argument": {
                      "application": {
                        "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.try"}, "type": {"variable": "hydra.core.model.Literal"}}},
                        "argument": {
                          "application": {
                            "function": {
                              "application": {
                                "function": {
                                  "typeApplication": {
                                    "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                    "type": {"variable": "hydra.core.model.Literal"}}},
                                "argument": {
                                  "application": {
                                    "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.choice"}, "type": {"literal": "string"}}},
                                    "argument": {
                                      "list": [
                                        {
                                          "application": {
                                            "function": {"typeApplication": {"body": {"variable": "hydra.core.parse.core.lexeme"}, "type": {"literal": "string"}}},
                                            "argument": {
                                              "application": {"function": {"variable": "hydra.core.parsers.string"}, "argument": {"literal": {"string": "-Infinity"}}}}}},
                                        {
                                          "application": {
                                            "function": {"typeApplication": {"body": {"variable": "hydra.core.parse.core.lexeme"}, "type": {"literal": "string"}}},
                                            "argument": {
                                              "application": {"function": {"variable": "hydra.core.parsers.string"}, "argument": {"literal": {"string": "Infinity"}}}}}},
                                        {
                                          "application": {
                                            "function": {"typeApplication": {"body": {"variable": "hydra.core.parse.core.lexeme"}, "type": {"literal": "string"}}},
                                            "argument": {"application": {"function": {"variable": "hydra.core.parsers.string"}, "argument": {"literal": {"string": "NaN"}}}}}},
                                        {"variable": "hydra.core.parse.core.decimalDigits"}]}}}}},
                            "argument": {
                              "lambda": {
                                "parameter": "digits",
                                "domain": {"literal": "string"},
                                "body": {
                                  "application": {
                                    "function": {
                                      "application": {
                                        "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.alt"}, "type": {"variable": "hydra.core.model.Literal"}}},
                                        "argument": {
                                          "application": {
                                            "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.try"}, "type": {"variable": "hydra.core.model.Literal"}}},
                                            "argument": {
                                              "application": {
                                                "function": {
                                                  "application": {
                                                    "function": {
                                                      "typeApplication": {
                                                        "body": {
                                                          "typeApplication": {"body": {"variable": "hydra.core.parsers.map"}, "type": {"variable": "hydra.core.model.IntegerValue"}}},
                                                        "type": {"variable": "hydra.core.model.Literal"}}},
                                                    "argument": {
                                                      "lambda": {
                                                        "parameter": "iv",
                                                        "domain": {"variable": "hydra.core.model.IntegerValue"},
                                                        "body": {"inject": {"typeName": "hydra.core.model.Literal", "field": {"name": "integer", "term": {"variable": "iv"}}}}}}}},
                                                "argument": {"application": {"function": {"variable": "hydra.core.parse.core.integerSuffix"}, "argument": {"variable": "digits"}}}}}}}}},
                                    "argument": {
                                      "application": {
                                        "function": {
                                          "application": {
                                            "function": {
                                              "typeApplication": {
                                                "body": {
                                                  "typeApplication": {"body": {"variable": "hydra.core.parsers.map"}, "type": {"variable": "hydra.core.model.FloatValue"}}},
                                                "type": {"variable": "hydra.core.model.Literal"}}},
                                            "argument": {
                                              "lambda": {
                                                "parameter": "fv",
                                                "domain": {"variable": "hydra.core.model.FloatValue"},
                                                "body": {"inject": {"typeName": "hydra.core.model.Literal", "field": {"name": "float", "term": {"variable": "fv"}}}}}}}},
                                        "argument": {"application": {"function": {"variable": "hydra.core.parse.core.floatSuffix"}, "argument": {"variable": "digits"}}}}}}}}}}}}}}},
                "argument": {
                  "application": {
                    "function": {
                      "typeApplication": {"body": {"variable": "hydra.core.parse.core.lexeme"}, "type": {"variable": "hydra.core.model.Literal"}}},
                    "argument": {
                      "application": {
                        "function": {
                          "application": {
                            "function": {
                              "typeApplication": {
                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                "type": {"variable": "hydra.core.model.Literal"}}},
                            "argument": {"variable": "hydra.core.parse.core.decimalDigits"}}},
                        "argument": {
                          "lambda": {
                            "parameter": "ds",
                            "domain": {"literal": "string"},
                            "body": {
                              "application": {
                                "function": {
                                  "application": {
                                    "function": {
                                      "application": {
                                        "function": {
                                          "typeApplication": {
                                            "body": {"typeApplication": {"body": {"variable": "hydra.core.lib.optionals.match"}, "type": {"literal": "decimal"}}},
                                            "type": {
                                              "application": {"function": {"variable": "hydra.core.parsing.Parser"}, "argument": {"variable": "hydra.core.model.Literal"}}}}},
                                        "argument": {"application": {"function": {"variable": "hydra.core.lib.literals.parseDecimal"}, "argument": {"variable": "ds"}}}}},
                                    "argument": {
                                      "application": {
                                        "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.fail"}, "type": {"variable": "hydra.core.model.Literal"}}},
                                        "argument": {
                                          "application": {
                                            "function": {
                                              "application": {
                                                "function": {"variable": "hydra.core.lib.strings.concat2"},
                                                "argument": {"literal": {"string": "invalid decimal literal: "}}}},
                                            "argument": {"variable": "ds"}}}}}}},
                                "argument": {
                                  "lambda": {
                                    "parameter": "v",
                                    "domain": {"literal": "decimal"},
                                    "body": {
                                      "application": {
                                        "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"variable": "hydra.core.model.Literal"}}},
                                        "argument": {"inject": {"typeName": "hydra.core.model.Literal", "field": {"name": "decimal", "term": {"variable": "v"}}}}}}}}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "Parse a numeric literal: integer, float, or (unsuffixed) decimal"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.parse.core.optionalTerm",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {"function": {"variable": "hydra.core.parsing.Parser"}, "argument": {"variable": "hydra.core.model.Term"}}}}},
        "body": {
          "annotated": {
            "body": {
              "application": {
                "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.choice"}, "type": {"variable": "hydra.core.model.Term"}}},
                "argument": {
                  "list": [
                    {
                      "application": {
                        "function": {
                          "application": {
                            "function": {
                              "typeApplication": {
                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                "type": {"variable": "hydra.core.model.Term"}}},
                            "argument": {
                              "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": "none"}}}}}},
                        "argument": {
                          "lambda": {
                            "parameter": "_",
                            "domain": {"literal": "string"},
                            "body": {
                              "application": {
                                "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"variable": "hydra.core.model.Term"}}},
                                "argument": {
                                  "inject": {
                                    "typeName": "hydra.core.model.Term",
                                    "field": {
                                      "name": "optional",
                                      "term": {"typeApplication": {"body": {"optional": null}, "type": {"variable": "hydra.core.model.Term"}}}}}}}}}}}},
                    {
                      "application": {
                        "function": {
                          "application": {
                            "function": {
                              "typeApplication": {
                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                "type": {"variable": "hydra.core.model.Term"}}},
                            "argument": {
                              "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": "given"}}}}}},
                        "argument": {
                          "lambda": {
                            "parameter": "_",
                            "domain": {"literal": "string"},
                            "body": {
                              "application": {
                                "function": {
                                  "application": {
                                    "function": {
                                      "typeApplication": {
                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                        "type": {"variable": "hydra.core.model.Term"}}},
                                    "argument": {
                                      "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": "("}}}}}},
                                "argument": {
                                  "lambda": {
                                    "parameter": "_",
                                    "domain": {"literal": "string"},
                                    "body": {
                                      "application": {
                                        "function": {
                                          "application": {
                                            "function": {
                                              "typeApplication": {
                                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"variable": "hydra.core.model.Term"}}},
                                                "type": {"variable": "hydra.core.model.Term"}}},
                                            "argument": {
                                              "application": {
                                                "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.lazy"}, "type": {"variable": "hydra.core.model.Term"}}},
                                                "argument": {"lambda": {"parameter": "_", "domain": "unit", "body": {"variable": "hydra.core.parse.core.term"}}}}}}},
                                        "argument": {
                                          "lambda": {
                                            "parameter": "t",
                                            "domain": {"variable": "hydra.core.model.Term"},
                                            "body": {
                                              "application": {
                                                "function": {
                                                  "application": {
                                                    "function": {
                                                      "typeApplication": {
                                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                                        "type": {"variable": "hydra.core.model.Term"}}},
                                                    "argument": {
                                                      "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": ")"}}}}}},
                                                "argument": {
                                                  "lambda": {
                                                    "parameter": "_",
                                                    "domain": {"literal": "string"},
                                                    "body": {
                                                      "application": {
                                                        "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"variable": "hydra.core.model.Term"}}},
                                                        "argument": {
                                                          "inject": {"typeName": "hydra.core.model.Term", "field": {"name": "optional", "term": {"optional": {"variable": "t"}}}}}}}}}}}}}}}}}}}}}}}]}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "Parse an optional term: 'given' '(' term ')' or 'none'"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.parse.core.parseTerm",
        "signature": {
          "typeParameters": [],
          "parameters": [{"name": "arg0", "type": {"literal": "string"}, "isLazy": false}],
          "result": {"type": {"either": {"left": {"literal": "string"}, "right": {"variable": "hydra.core.model.Term"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "input",
                "domain": {"literal": "string"},
                "body": {
                  "application": {
                    "function": {
                      "typeApplication": {
                        "body": {
                          "cases": {
                            "typeName": "hydra.core.parsing.ParseResult",
                            "cases": [
                              {
                                "name": "success",
                                "handler": {
                                  "lambda": {
                                    "parameter": "s",
                                    "domain": {
                                      "application": {"function": {"variable": "hydra.core.parsing.ParseSuccess"}, "argument": {"variable": "hydra.core.model.Term"}}},
                                    "body": {
                                      "let": {
                                        "bindings": [
                                          {
                                            "name": "remainder",
                                            "term": {
                                              "application": {
                                                "function": {
                                                  "typeApplication": {
                                                    "body": {"project": {"typeName": "hydra.core.parsing.ParseSuccess", "fieldName": "remainder"}},
                                                    "type": {"variable": "hydra.core.model.Term"}}},
                                                "argument": {"variable": "s"}}},
                                            "typeScheme": {"variables": [], "body": {"variable": "hydra.core.parsing.ParseInput"}, "constraints": []}}],
                                        "body": {
                                          "application": {
                                            "function": {
                                              "application": {
                                                "function": {
                                                  "application": {
                                                    "function": {
                                                      "typeApplication": {
                                                        "body": {"variable": "hydra.core.lib.logic.ifElse"},
                                                        "type": {"either": {"left": {"literal": "string"}, "right": {"variable": "hydra.core.model.Term"}}}}},
                                                    "argument": {
                                                      "application": {
                                                        "function": {"typeApplication": {"body": {"variable": "hydra.core.lib.lists.isEmpty"}, "type": {"literal": {"integer": "int32"}}}},
                                                        "argument": {
                                                          "application": {
                                                            "function": {"project": {"typeName": "hydra.core.parsing.ParseInput", "fieldName": "codepoints"}},
                                                            "argument": {"variable": "remainder"}}}}}}},
                                                "argument": {
                                                  "typeApplication": {
                                                    "body": {
                                                      "typeApplication": {
                                                        "body": {
                                                          "either": {
                                                            "right": {
                                                              "application": {
                                                                "function": {"variable": "hydra.core.positions.stripSpans"},
                                                                "argument": {
                                                                  "application": {
                                                                    "function": {
                                                                      "typeApplication": {
                                                                        "body": {"project": {"typeName": "hydra.core.parsing.ParseSuccess", "fieldName": "value"}},
                                                                        "type": {"variable": "hydra.core.model.Term"}}},
                                                                    "argument": {"variable": "s"}}}}}}},
                                                        "type": {"literal": "string"}}},
                                                    "type": {"variable": "hydra.core.model.Term"}}}}},
                                            "argument": {
                                              "typeApplication": {
                                                "body": {
                                                  "typeApplication": {
                                                    "body": {
                                                      "either": {
                                                        "left": {
                                                          "application": {
                                                            "function": {
                                                              "application": {
                                                                "function": {
                                                                  "application": {"function": {"variable": "hydra.core.positions.formatParseFailure"}, "argument": {"variable": "input"}}},
                                                                "argument": {
                                                                  "application": {
                                                                    "function": {"project": {"typeName": "hydra.core.parsing.ParseInput", "fieldName": "offset"}},
                                                                    "argument": {"variable": "remainder"}}}}},
                                                            "argument": {"literal": {"string": "trailing input after term"}}}}}},
                                                    "type": {"literal": "string"}}},
                                                "type": {"variable": "hydra.core.model.Term"}}}}}}}}}},
                              {
                                "name": "failure",
                                "handler": {
                                  "lambda": {
                                    "parameter": "e",
                                    "domain": {"variable": "hydra.core.parsing.ParseError"},
                                    "body": {
                                      "typeApplication": {
                                        "body": {
                                          "typeApplication": {
                                            "body": {
                                              "either": {
                                                "left": {
                                                  "application": {
                                                    "function": {
                                                      "application": {
                                                        "function": {
                                                          "application": {"function": {"variable": "hydra.core.positions.formatParseFailure"}, "argument": {"variable": "input"}}},
                                                        "argument": {
                                                          "application": {
                                                            "function": {"project": {"typeName": "hydra.core.parsing.ParseInput", "fieldName": "offset"}},
                                                            "argument": {
                                                              "application": {
                                                                "function": {"project": {"typeName": "hydra.core.parsing.ParseError", "fieldName": "remainder"}},
                                                                "argument": {"variable": "e"}}}}}}},
                                                    "argument": {
                                                      "application": {
                                                        "function": {"project": {"typeName": "hydra.core.parsing.ParseError", "fieldName": "message"}},
                                                        "argument": {"variable": "e"}}}}}}},
                                            "type": {"literal": "string"}}},
                                        "type": {"variable": "hydra.core.model.Term"}}}}}}]}},
                        "type": {"variable": "hydra.core.model.Term"}}},
                    "argument": {
                      "application": {
                        "function": {
                          "application": {
                            "function": {
                              "typeApplication": {"body": {"variable": "hydra.core.parsers.runParser"}, "type": {"variable": "hydra.core.model.Term"}}},
                            "argument": {
                              "application": {
                                "function": {
                                  "application": {
                                    "function": {
                                      "typeApplication": {
                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": "unit"}},
                                        "type": {"variable": "hydra.core.model.Term"}}},
                                    "argument": {"variable": "hydra.core.parse.core.whitespace"}}},
                                "argument": {"lambda": {"parameter": "_", "domain": "unit", "body": {"variable": "hydra.core.parse.core.term"}}}}}}},
                        "argument": {"variable": "input"}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "Parse a complete term from a string, requiring the parse to consume all input"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.parse.core.parseTermSignature",
        "signature": {
          "typeParameters": [],
          "parameters": [{"name": "arg0", "type": {"literal": "string"}, "isLazy": false}],
          "result": {"type": {"either": {"left": {"literal": "string"}, "right": {"variable": "hydra.core.typing.TermSignature"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "input",
                "domain": {"literal": "string"},
                "body": {
                  "application": {
                    "function": {
                      "typeApplication": {
                        "body": {
                          "cases": {
                            "typeName": "hydra.core.parsing.ParseResult",
                            "cases": [
                              {
                                "name": "success",
                                "handler": {
                                  "lambda": {
                                    "parameter": "s",
                                    "domain": {
                                      "application": {
                                        "function": {"variable": "hydra.core.parsing.ParseSuccess"},
                                        "argument": {"variable": "hydra.core.typing.TermSignature"}}},
                                    "body": {
                                      "let": {
                                        "bindings": [
                                          {
                                            "name": "remainder",
                                            "term": {
                                              "application": {
                                                "function": {
                                                  "typeApplication": {
                                                    "body": {"project": {"typeName": "hydra.core.parsing.ParseSuccess", "fieldName": "remainder"}},
                                                    "type": {"variable": "hydra.core.typing.TermSignature"}}},
                                                "argument": {"variable": "s"}}},
                                            "typeScheme": {"variables": [], "body": {"variable": "hydra.core.parsing.ParseInput"}, "constraints": []}}],
                                        "body": {
                                          "application": {
                                            "function": {
                                              "application": {
                                                "function": {
                                                  "application": {
                                                    "function": {
                                                      "typeApplication": {
                                                        "body": {"variable": "hydra.core.lib.logic.ifElse"},
                                                        "type": {"either": {"left": {"literal": "string"}, "right": {"variable": "hydra.core.typing.TermSignature"}}}}},
                                                    "argument": {
                                                      "application": {
                                                        "function": {"typeApplication": {"body": {"variable": "hydra.core.lib.lists.isEmpty"}, "type": {"literal": {"integer": "int32"}}}},
                                                        "argument": {
                                                          "application": {
                                                            "function": {"project": {"typeName": "hydra.core.parsing.ParseInput", "fieldName": "codepoints"}},
                                                            "argument": {"variable": "remainder"}}}}}}},
                                                "argument": {
                                                  "typeApplication": {
                                                    "body": {
                                                      "typeApplication": {
                                                        "body": {
                                                          "either": {
                                                            "right": {
                                                              "application": {
                                                                "function": {
                                                                  "typeApplication": {
                                                                    "body": {"project": {"typeName": "hydra.core.parsing.ParseSuccess", "fieldName": "value"}},
                                                                    "type": {"variable": "hydra.core.typing.TermSignature"}}},
                                                                "argument": {"variable": "s"}}}}},
                                                        "type": {"literal": "string"}}},
                                                    "type": {"variable": "hydra.core.typing.TermSignature"}}}}},
                                            "argument": {
                                              "typeApplication": {
                                                "body": {
                                                  "typeApplication": {
                                                    "body": {
                                                      "either": {
                                                        "left": {
                                                          "application": {
                                                            "function": {
                                                              "application": {
                                                                "function": {
                                                                  "application": {"function": {"variable": "hydra.core.positions.formatParseFailure"}, "argument": {"variable": "input"}}},
                                                                "argument": {
                                                                  "application": {
                                                                    "function": {"project": {"typeName": "hydra.core.parsing.ParseInput", "fieldName": "offset"}},
                                                                    "argument": {"variable": "remainder"}}}}},
                                                            "argument": {"literal": {"string": "trailing input after term signature"}}}}}},
                                                    "type": {"literal": "string"}}},
                                                "type": {"variable": "hydra.core.typing.TermSignature"}}}}}}}}}},
                              {
                                "name": "failure",
                                "handler": {
                                  "lambda": {
                                    "parameter": "e",
                                    "domain": {"variable": "hydra.core.parsing.ParseError"},
                                    "body": {
                                      "typeApplication": {
                                        "body": {
                                          "typeApplication": {
                                            "body": {
                                              "either": {
                                                "left": {
                                                  "application": {
                                                    "function": {
                                                      "application": {
                                                        "function": {
                                                          "application": {"function": {"variable": "hydra.core.positions.formatParseFailure"}, "argument": {"variable": "input"}}},
                                                        "argument": {
                                                          "application": {
                                                            "function": {"project": {"typeName": "hydra.core.parsing.ParseInput", "fieldName": "offset"}},
                                                            "argument": {
                                                              "application": {
                                                                "function": {"project": {"typeName": "hydra.core.parsing.ParseError", "fieldName": "remainder"}},
                                                                "argument": {"variable": "e"}}}}}}},
                                                    "argument": {
                                                      "application": {
                                                        "function": {"project": {"typeName": "hydra.core.parsing.ParseError", "fieldName": "message"}},
                                                        "argument": {"variable": "e"}}}}}}},
                                            "type": {"literal": "string"}}},
                                        "type": {"variable": "hydra.core.typing.TermSignature"}}}}}}]}},
                        "type": {"variable": "hydra.core.typing.TermSignature"}}},
                    "argument": {
                      "application": {
                        "function": {
                          "application": {
                            "function": {
                              "typeApplication": {"body": {"variable": "hydra.core.parsers.runParser"}, "type": {"variable": "hydra.core.typing.TermSignature"}}},
                            "argument": {
                              "application": {
                                "function": {
                                  "application": {
                                    "function": {
                                      "typeApplication": {
                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": "unit"}},
                                        "type": {"variable": "hydra.core.typing.TermSignature"}}},
                                    "argument": {"variable": "hydra.core.parse.core.whitespace"}}},
                                "argument": {"lambda": {"parameter": "_", "domain": "unit", "body": {"variable": "hydra.core.parse.core.termSignature"}}}}}}},
                        "argument": {"variable": "input"}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "Parse a complete term signature from a string, requiring the parse to consume all input"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.parse.core.parseTermWithSpans",
        "signature": {
          "typeParameters": [],
          "parameters": [{"name": "arg0", "type": {"literal": "string"}, "isLazy": false}],
          "result": {"type": {"either": {"left": {"literal": "string"}, "right": {"variable": "hydra.core.model.Term"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "input",
                "domain": {"literal": "string"},
                "body": {
                  "application": {
                    "function": {
                      "typeApplication": {
                        "body": {
                          "cases": {
                            "typeName": "hydra.core.parsing.ParseResult",
                            "cases": [
                              {
                                "name": "success",
                                "handler": {
                                  "lambda": {
                                    "parameter": "s",
                                    "domain": {
                                      "application": {"function": {"variable": "hydra.core.parsing.ParseSuccess"}, "argument": {"variable": "hydra.core.model.Term"}}},
                                    "body": {
                                      "let": {
                                        "bindings": [
                                          {
                                            "name": "remainder",
                                            "term": {
                                              "application": {
                                                "function": {
                                                  "typeApplication": {
                                                    "body": {"project": {"typeName": "hydra.core.parsing.ParseSuccess", "fieldName": "remainder"}},
                                                    "type": {"variable": "hydra.core.model.Term"}}},
                                                "argument": {"variable": "s"}}},
                                            "typeScheme": {"variables": [], "body": {"variable": "hydra.core.parsing.ParseInput"}, "constraints": []}}],
                                        "body": {
                                          "application": {
                                            "function": {
                                              "application": {
                                                "function": {
                                                  "application": {
                                                    "function": {
                                                      "typeApplication": {
                                                        "body": {"variable": "hydra.core.lib.logic.ifElse"},
                                                        "type": {"either": {"left": {"literal": "string"}, "right": {"variable": "hydra.core.model.Term"}}}}},
                                                    "argument": {
                                                      "application": {
                                                        "function": {"typeApplication": {"body": {"variable": "hydra.core.lib.lists.isEmpty"}, "type": {"literal": {"integer": "int32"}}}},
                                                        "argument": {
                                                          "application": {
                                                            "function": {"project": {"typeName": "hydra.core.parsing.ParseInput", "fieldName": "codepoints"}},
                                                            "argument": {"variable": "remainder"}}}}}}},
                                                "argument": {
                                                  "typeApplication": {
                                                    "body": {
                                                      "typeApplication": {
                                                        "body": {
                                                          "either": {
                                                            "right": {
                                                              "application": {
                                                                "function": {
                                                                  "typeApplication": {
                                                                    "body": {"project": {"typeName": "hydra.core.parsing.ParseSuccess", "fieldName": "value"}},
                                                                    "type": {"variable": "hydra.core.model.Term"}}},
                                                                "argument": {"variable": "s"}}}}},
                                                        "type": {"literal": "string"}}},
                                                    "type": {"variable": "hydra.core.model.Term"}}}}},
                                            "argument": {
                                              "typeApplication": {
                                                "body": {
                                                  "typeApplication": {
                                                    "body": {
                                                      "either": {
                                                        "left": {
                                                          "application": {
                                                            "function": {
                                                              "application": {
                                                                "function": {
                                                                  "application": {"function": {"variable": "hydra.core.positions.formatParseFailure"}, "argument": {"variable": "input"}}},
                                                                "argument": {
                                                                  "application": {
                                                                    "function": {"project": {"typeName": "hydra.core.parsing.ParseInput", "fieldName": "offset"}},
                                                                    "argument": {"variable": "remainder"}}}}},
                                                            "argument": {"literal": {"string": "trailing input after term"}}}}}},
                                                    "type": {"literal": "string"}}},
                                                "type": {"variable": "hydra.core.model.Term"}}}}}}}}}},
                              {
                                "name": "failure",
                                "handler": {
                                  "lambda": {
                                    "parameter": "e",
                                    "domain": {"variable": "hydra.core.parsing.ParseError"},
                                    "body": {
                                      "typeApplication": {
                                        "body": {
                                          "typeApplication": {
                                            "body": {
                                              "either": {
                                                "left": {
                                                  "application": {
                                                    "function": {
                                                      "application": {
                                                        "function": {
                                                          "application": {"function": {"variable": "hydra.core.positions.formatParseFailure"}, "argument": {"variable": "input"}}},
                                                        "argument": {
                                                          "application": {
                                                            "function": {"project": {"typeName": "hydra.core.parsing.ParseInput", "fieldName": "offset"}},
                                                            "argument": {
                                                              "application": {
                                                                "function": {"project": {"typeName": "hydra.core.parsing.ParseError", "fieldName": "remainder"}},
                                                                "argument": {"variable": "e"}}}}}}},
                                                    "argument": {
                                                      "application": {
                                                        "function": {"project": {"typeName": "hydra.core.parsing.ParseError", "fieldName": "message"}},
                                                        "argument": {"variable": "e"}}}}}}},
                                            "type": {"literal": "string"}}},
                                        "type": {"variable": "hydra.core.model.Term"}}}}}}]}},
                        "type": {"variable": "hydra.core.model.Term"}}},
                    "argument": {
                      "application": {
                        "function": {
                          "application": {
                            "function": {
                              "typeApplication": {"body": {"variable": "hydra.core.parsers.runParser"}, "type": {"variable": "hydra.core.model.Term"}}},
                            "argument": {
                              "application": {
                                "function": {
                                  "application": {
                                    "function": {
                                      "typeApplication": {
                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": "unit"}},
                                        "type": {"variable": "hydra.core.model.Term"}}},
                                    "argument": {"variable": "hydra.core.parse.core.whitespace"}}},
                                "argument": {"lambda": {"parameter": "_", "domain": "unit", "body": {"variable": "hydra.core.parse.core.term"}}}}}}},
                        "argument": {"variable": "input"}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {
                    "literal": {
                      "string": "Parse a complete term from a string, keeping source spans as reserved annotations. Use hydra.core.positions.spanAtPath to resolve a SubtermPath to a span, and hydra.core.positions.stripSpans to recover the span-free term."}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.parse.core.parseType",
        "signature": {
          "typeParameters": [],
          "parameters": [{"name": "arg0", "type": {"literal": "string"}, "isLazy": false}],
          "result": {"type": {"either": {"left": {"literal": "string"}, "right": {"variable": "hydra.core.model.Type"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "input",
                "domain": {"literal": "string"},
                "body": {
                  "application": {
                    "function": {
                      "typeApplication": {
                        "body": {
                          "cases": {
                            "typeName": "hydra.core.parsing.ParseResult",
                            "cases": [
                              {
                                "name": "success",
                                "handler": {
                                  "lambda": {
                                    "parameter": "s",
                                    "domain": {
                                      "application": {"function": {"variable": "hydra.core.parsing.ParseSuccess"}, "argument": {"variable": "hydra.core.model.Type"}}},
                                    "body": {
                                      "let": {
                                        "bindings": [
                                          {
                                            "name": "remainder",
                                            "term": {
                                              "application": {
                                                "function": {
                                                  "typeApplication": {
                                                    "body": {"project": {"typeName": "hydra.core.parsing.ParseSuccess", "fieldName": "remainder"}},
                                                    "type": {"variable": "hydra.core.model.Type"}}},
                                                "argument": {"variable": "s"}}},
                                            "typeScheme": {"variables": [], "body": {"variable": "hydra.core.parsing.ParseInput"}, "constraints": []}}],
                                        "body": {
                                          "application": {
                                            "function": {
                                              "application": {
                                                "function": {
                                                  "application": {
                                                    "function": {
                                                      "typeApplication": {
                                                        "body": {"variable": "hydra.core.lib.logic.ifElse"},
                                                        "type": {"either": {"left": {"literal": "string"}, "right": {"variable": "hydra.core.model.Type"}}}}},
                                                    "argument": {
                                                      "application": {
                                                        "function": {"typeApplication": {"body": {"variable": "hydra.core.lib.lists.isEmpty"}, "type": {"literal": {"integer": "int32"}}}},
                                                        "argument": {
                                                          "application": {
                                                            "function": {"project": {"typeName": "hydra.core.parsing.ParseInput", "fieldName": "codepoints"}},
                                                            "argument": {"variable": "remainder"}}}}}}},
                                                "argument": {
                                                  "typeApplication": {
                                                    "body": {
                                                      "typeApplication": {
                                                        "body": {
                                                          "either": {
                                                            "right": {
                                                              "application": {
                                                                "function": {"variable": "hydra.core.parse.core.stripSpansInType"},
                                                                "argument": {
                                                                  "application": {
                                                                    "function": {
                                                                      "typeApplication": {
                                                                        "body": {"project": {"typeName": "hydra.core.parsing.ParseSuccess", "fieldName": "value"}},
                                                                        "type": {"variable": "hydra.core.model.Type"}}},
                                                                    "argument": {"variable": "s"}}}}}}},
                                                        "type": {"literal": "string"}}},
                                                    "type": {"variable": "hydra.core.model.Type"}}}}},
                                            "argument": {
                                              "typeApplication": {
                                                "body": {
                                                  "typeApplication": {
                                                    "body": {
                                                      "either": {
                                                        "left": {
                                                          "application": {
                                                            "function": {
                                                              "application": {
                                                                "function": {
                                                                  "application": {"function": {"variable": "hydra.core.positions.formatParseFailure"}, "argument": {"variable": "input"}}},
                                                                "argument": {
                                                                  "application": {
                                                                    "function": {"project": {"typeName": "hydra.core.parsing.ParseInput", "fieldName": "offset"}},
                                                                    "argument": {"variable": "remainder"}}}}},
                                                            "argument": {"literal": {"string": "trailing input after type"}}}}}},
                                                    "type": {"literal": "string"}}},
                                                "type": {"variable": "hydra.core.model.Type"}}}}}}}}}},
                              {
                                "name": "failure",
                                "handler": {
                                  "lambda": {
                                    "parameter": "e",
                                    "domain": {"variable": "hydra.core.parsing.ParseError"},
                                    "body": {
                                      "typeApplication": {
                                        "body": {
                                          "typeApplication": {
                                            "body": {
                                              "either": {
                                                "left": {
                                                  "application": {
                                                    "function": {
                                                      "application": {
                                                        "function": {
                                                          "application": {"function": {"variable": "hydra.core.positions.formatParseFailure"}, "argument": {"variable": "input"}}},
                                                        "argument": {
                                                          "application": {
                                                            "function": {"project": {"typeName": "hydra.core.parsing.ParseInput", "fieldName": "offset"}},
                                                            "argument": {
                                                              "application": {
                                                                "function": {"project": {"typeName": "hydra.core.parsing.ParseError", "fieldName": "remainder"}},
                                                                "argument": {"variable": "e"}}}}}}},
                                                    "argument": {
                                                      "application": {
                                                        "function": {"project": {"typeName": "hydra.core.parsing.ParseError", "fieldName": "message"}},
                                                        "argument": {"variable": "e"}}}}}}},
                                            "type": {"literal": "string"}}},
                                        "type": {"variable": "hydra.core.model.Type"}}}}}}]}},
                        "type": {"variable": "hydra.core.model.Type"}}},
                    "argument": {
                      "application": {
                        "function": {
                          "application": {
                            "function": {
                              "typeApplication": {"body": {"variable": "hydra.core.parsers.runParser"}, "type": {"variable": "hydra.core.model.Type"}}},
                            "argument": {
                              "application": {
                                "function": {
                                  "application": {
                                    "function": {
                                      "typeApplication": {
                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": "unit"}},
                                        "type": {"variable": "hydra.core.model.Type"}}},
                                    "argument": {"variable": "hydra.core.parse.core.whitespace"}}},
                                "argument": {"lambda": {"parameter": "_", "domain": "unit", "body": {"variable": "hydra.core.parse.core.type"}}}}}}},
                        "argument": {"variable": "input"}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "Parse a complete type from a string, requiring the parse to consume all input"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.parse.core.parseTypeScheme",
        "signature": {
          "typeParameters": [],
          "parameters": [{"name": "arg0", "type": {"literal": "string"}, "isLazy": false}],
          "result": {"type": {"either": {"left": {"literal": "string"}, "right": {"variable": "hydra.core.model.TypeScheme"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "input",
                "domain": {"literal": "string"},
                "body": {
                  "application": {
                    "function": {
                      "typeApplication": {
                        "body": {
                          "cases": {
                            "typeName": "hydra.core.parsing.ParseResult",
                            "cases": [
                              {
                                "name": "success",
                                "handler": {
                                  "lambda": {
                                    "parameter": "s",
                                    "domain": {
                                      "application": {"function": {"variable": "hydra.core.parsing.ParseSuccess"}, "argument": {"variable": "hydra.core.model.TypeScheme"}}},
                                    "body": {
                                      "let": {
                                        "bindings": [
                                          {
                                            "name": "remainder",
                                            "term": {
                                              "application": {
                                                "function": {
                                                  "typeApplication": {
                                                    "body": {"project": {"typeName": "hydra.core.parsing.ParseSuccess", "fieldName": "remainder"}},
                                                    "type": {"variable": "hydra.core.model.TypeScheme"}}},
                                                "argument": {"variable": "s"}}},
                                            "typeScheme": {"variables": [], "body": {"variable": "hydra.core.parsing.ParseInput"}, "constraints": []}}],
                                        "body": {
                                          "application": {
                                            "function": {
                                              "application": {
                                                "function": {
                                                  "application": {
                                                    "function": {
                                                      "typeApplication": {
                                                        "body": {"variable": "hydra.core.lib.logic.ifElse"},
                                                        "type": {"either": {"left": {"literal": "string"}, "right": {"variable": "hydra.core.model.TypeScheme"}}}}},
                                                    "argument": {
                                                      "application": {
                                                        "function": {"typeApplication": {"body": {"variable": "hydra.core.lib.lists.isEmpty"}, "type": {"literal": {"integer": "int32"}}}},
                                                        "argument": {
                                                          "application": {
                                                            "function": {"project": {"typeName": "hydra.core.parsing.ParseInput", "fieldName": "codepoints"}},
                                                            "argument": {"variable": "remainder"}}}}}}},
                                                "argument": {
                                                  "typeApplication": {
                                                    "body": {
                                                      "typeApplication": {
                                                        "body": {
                                                          "either": {
                                                            "right": {
                                                              "application": {
                                                                "function": {
                                                                  "typeApplication": {
                                                                    "body": {"project": {"typeName": "hydra.core.parsing.ParseSuccess", "fieldName": "value"}},
                                                                    "type": {"variable": "hydra.core.model.TypeScheme"}}},
                                                                "argument": {"variable": "s"}}}}},
                                                        "type": {"literal": "string"}}},
                                                    "type": {"variable": "hydra.core.model.TypeScheme"}}}}},
                                            "argument": {
                                              "typeApplication": {
                                                "body": {
                                                  "typeApplication": {
                                                    "body": {
                                                      "either": {
                                                        "left": {
                                                          "application": {
                                                            "function": {
                                                              "application": {
                                                                "function": {
                                                                  "application": {"function": {"variable": "hydra.core.positions.formatParseFailure"}, "argument": {"variable": "input"}}},
                                                                "argument": {
                                                                  "application": {
                                                                    "function": {"project": {"typeName": "hydra.core.parsing.ParseInput", "fieldName": "offset"}},
                                                                    "argument": {"variable": "remainder"}}}}},
                                                            "argument": {"literal": {"string": "trailing input after type scheme"}}}}}},
                                                    "type": {"literal": "string"}}},
                                                "type": {"variable": "hydra.core.model.TypeScheme"}}}}}}}}}},
                              {
                                "name": "failure",
                                "handler": {
                                  "lambda": {
                                    "parameter": "e",
                                    "domain": {"variable": "hydra.core.parsing.ParseError"},
                                    "body": {
                                      "typeApplication": {
                                        "body": {
                                          "typeApplication": {
                                            "body": {
                                              "either": {
                                                "left": {
                                                  "application": {
                                                    "function": {
                                                      "application": {
                                                        "function": {
                                                          "application": {"function": {"variable": "hydra.core.positions.formatParseFailure"}, "argument": {"variable": "input"}}},
                                                        "argument": {
                                                          "application": {
                                                            "function": {"project": {"typeName": "hydra.core.parsing.ParseInput", "fieldName": "offset"}},
                                                            "argument": {
                                                              "application": {
                                                                "function": {"project": {"typeName": "hydra.core.parsing.ParseError", "fieldName": "remainder"}},
                                                                "argument": {"variable": "e"}}}}}}},
                                                    "argument": {
                                                      "application": {
                                                        "function": {"project": {"typeName": "hydra.core.parsing.ParseError", "fieldName": "message"}},
                                                        "argument": {"variable": "e"}}}}}}},
                                            "type": {"literal": "string"}}},
                                        "type": {"variable": "hydra.core.model.TypeScheme"}}}}}}]}},
                        "type": {"variable": "hydra.core.model.TypeScheme"}}},
                    "argument": {
                      "application": {
                        "function": {
                          "application": {
                            "function": {
                              "typeApplication": {"body": {"variable": "hydra.core.parsers.runParser"}, "type": {"variable": "hydra.core.model.TypeScheme"}}},
                            "argument": {
                              "application": {
                                "function": {
                                  "application": {
                                    "function": {
                                      "typeApplication": {
                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": "unit"}},
                                        "type": {"variable": "hydra.core.model.TypeScheme"}}},
                                    "argument": {"variable": "hydra.core.parse.core.whitespace"}}},
                                "argument": {"lambda": {"parameter": "_", "domain": "unit", "body": {"variable": "hydra.core.parse.core.typeScheme"}}}}}}},
                        "argument": {"variable": "input"}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "Parse a complete type scheme from a string, requiring the parse to consume all input"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.parse.core.postfixTerm",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {"function": {"variable": "hydra.core.parsing.Parser"}, "argument": {"variable": "hydra.core.model.Term"}}}}},
        "body": {
          "annotated": {
            "body": {
              "application": {
                "function": {
                  "application": {
                    "function": {
                      "typeApplication": {
                        "body": {
                          "typeApplication": {
                            "body": {"variable": "hydra.core.parsers.map"},
                            "type": {"pair": {"first": {"variable": "hydra.core.model.Term"}, "second": {"variable": "hydra.core.parsing.SourceSpan"}}}}},
                        "type": {"variable": "hydra.core.model.Term"}}},
                    "argument": {
                      "lambda": {
                        "parameter": "spanned",
                        "domain": {"pair": {"first": {"variable": "hydra.core.model.Term"}, "second": {"variable": "hydra.core.parsing.SourceSpan"}}},
                        "body": {
                          "application": {
                            "function": {
                              "application": {
                                "function": {"variable": "hydra.core.positions.annotateSpan"},
                                "argument": {
                                  "application": {
                                    "function": {
                                      "typeApplication": {
                                        "body": {
                                          "typeApplication": {"body": {"variable": "hydra.core.lib.pairs.second"}, "type": {"variable": "hydra.core.model.Term"}}},
                                        "type": {"variable": "hydra.core.parsing.SourceSpan"}}},
                                    "argument": {"variable": "spanned"}}}}},
                            "argument": {
                              "application": {
                                "function": {
                                  "typeApplication": {
                                    "body": {"typeApplication": {"body": {"variable": "hydra.core.lib.pairs.first"}, "type": {"variable": "hydra.core.model.Term"}}},
                                    "type": {"variable": "hydra.core.parsing.SourceSpan"}}},
                                "argument": {"variable": "spanned"}}}}}}}}},
                "argument": {
                  "application": {
                    "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.spanned"}, "type": {"variable": "hydra.core.model.Term"}}},
                    "argument": {
                      "application": {
                        "function": {
                          "application": {
                            "function": {
                              "typeApplication": {
                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"variable": "hydra.core.model.Term"}}},
                                "type": {"variable": "hydra.core.model.Term"}}},
                            "argument": {"variable": "hydra.core.parse.core.atomicTerm"}}},
                        "argument": {
                          "lambda": {
                            "parameter": "t0",
                            "domain": {"variable": "hydra.core.model.Term"},
                            "body": {
                              "application": {
                                "function": {
                                  "application": {
                                    "function": {
                                      "typeApplication": {
                                        "body": {
                                          "typeApplication": {
                                            "body": {"variable": "hydra.core.parsers.map"},
                                            "type": {"list": {"either": {"left": {"variable": "hydra.core.model.Term"}, "right": {"variable": "hydra.core.model.Type"}}}}}},
                                        "type": {"variable": "hydra.core.model.Term"}}},
                                    "argument": {
                                      "lambda": {
                                        "parameter": "sufs",
                                        "domain": {"list": {"either": {"left": {"variable": "hydra.core.model.Term"}, "right": {"variable": "hydra.core.model.Type"}}}},
                                        "body": {
                                          "application": {
                                            "function": {
                                              "application": {
                                                "function": {
                                                  "application": {
                                                    "function": {
                                                      "typeApplication": {
                                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.lib.lists.foldl"}, "type": {"variable": "hydra.core.model.Term"}}},
                                                        "type": {"either": {"left": {"variable": "hydra.core.model.Term"}, "right": {"variable": "hydra.core.model.Type"}}}}},
                                                    "argument": {
                                                      "lambda": {
                                                        "parameter": "t",
                                                        "domain": {"variable": "hydra.core.model.Term"},
                                                        "body": {
                                                          "lambda": {
                                                            "parameter": "suf",
                                                            "domain": {"either": {"left": {"variable": "hydra.core.model.Term"}, "right": {"variable": "hydra.core.model.Type"}}},
                                                            "body": {
                                                              "application": {
                                                                "function": {
                                                                  "application": {
                                                                    "function": {
                                                                      "application": {
                                                                        "function": {
                                                                          "typeApplication": {
                                                                            "body": {
                                                                              "typeApplication": {
                                                                                "body": {
                                                                                  "typeApplication": {"body": {"variable": "hydra.core.lib.eithers.either"}, "type": {"variable": "hydra.core.model.Term"}}},
                                                                                "type": {"variable": "hydra.core.model.Type"}}},
                                                                            "type": {"variable": "hydra.core.model.Term"}}},
                                                                        "argument": {
                                                                          "lambda": {
                                                                            "parameter": "ann",
                                                                            "domain": {"variable": "hydra.core.model.Term"},
                                                                            "body": {
                                                                              "inject": {
                                                                                "typeName": "hydra.core.model.Term",
                                                                                "field": {
                                                                                  "name": "annotated",
                                                                                  "term": {
                                                                                    "record": {
                                                                                      "typeName": "hydra.core.model.AnnotatedTerm",
                                                                                      "fields": [{"name": "body", "term": {"variable": "t"}}, {"name": "annotation", "term": {"variable": "ann"}}]}}}}}}}}},
                                                                    "argument": {
                                                                      "lambda": {
                                                                        "parameter": "typ",
                                                                        "domain": {"variable": "hydra.core.model.Type"},
                                                                        "body": {
                                                                          "inject": {
                                                                            "typeName": "hydra.core.model.Term",
                                                                            "field": {
                                                                              "name": "typeApplication",
                                                                              "term": {
                                                                                "record": {
                                                                                  "typeName": "hydra.core.model.TypeApplicationTerm",
                                                                                  "fields": [{"name": "body", "term": {"variable": "t"}}, {"name": "type", "term": {"variable": "typ"}}]}}}}}}}}},
                                                                "argument": {"variable": "suf"}}}}}}}}},
                                                "argument": {"variable": "t0"}}},
                                            "argument": {"variable": "sufs"}}}}}}},
                                "argument": {
                                  "application": {
                                    "function": {
                                      "typeApplication": {
                                        "body": {"variable": "hydra.core.parsers.many"},
                                        "type": {"either": {"left": {"variable": "hydra.core.model.Term"}, "right": {"variable": "hydra.core.model.Type"}}}}},
                                    "argument": {
                                      "application": {
                                        "function": {
                                          "application": {
                                            "function": {
                                              "typeApplication": {
                                                "body": {"variable": "hydra.core.parsers.alt"},
                                                "type": {"either": {"left": {"variable": "hydra.core.model.Term"}, "right": {"variable": "hydra.core.model.Type"}}}}},
                                            "argument": {
                                              "application": {
                                                "function": {
                                                  "application": {
                                                    "function": {
                                                      "typeApplication": {
                                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.map"}, "type": {"variable": "hydra.core.model.Term"}}},
                                                        "type": {"either": {"left": {"variable": "hydra.core.model.Term"}, "right": {"variable": "hydra.core.model.Type"}}}}},
                                                    "argument": {
                                                      "lambda": {
                                                        "parameter": "left_",
                                                        "domain": {"variable": "hydra.core.model.Term"},
                                                        "body": {
                                                          "typeApplication": {
                                                            "body": {
                                                              "typeApplication": {"body": {"either": {"left": {"variable": "left_"}}}, "type": {"variable": "hydra.core.model.Term"}}},
                                                            "type": {"variable": "hydra.core.model.Type"}}}}}}},
                                                "argument": {"variable": "hydra.core.parse.core.annot"}}}}},
                                        "argument": {
                                          "application": {
                                            "function": {
                                              "application": {
                                                "function": {
                                                  "typeApplication": {
                                                    "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.map"}, "type": {"variable": "hydra.core.model.Type"}}},
                                                    "type": {"either": {"left": {"variable": "hydra.core.model.Term"}, "right": {"variable": "hydra.core.model.Type"}}}}},
                                                "argument": {
                                                  "lambda": {
                                                    "parameter": "right_",
                                                    "domain": {"variable": "hydra.core.model.Type"},
                                                    "body": {
                                                      "typeApplication": {
                                                        "body": {
                                                          "typeApplication": {"body": {"either": {"right": {"variable": "right_"}}}, "type": {"variable": "hydra.core.model.Term"}}},
                                                        "type": {"variable": "hydra.core.model.Type"}}}}}}},
                                            "argument": {"variable": "hydra.core.parse.core.typeApplicationSuffix"}}}}}}}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {
                    "literal": {"string": "Parse an atomic term followed by zero or more postfix '@annotation'/'⟨type⟩' suffixes, left-chaining"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.parse.core.postfixType",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {"function": {"variable": "hydra.core.parsing.Parser"}, "argument": {"variable": "hydra.core.model.Type"}}}}},
        "body": {
          "annotated": {
            "body": {
              "application": {
                "function": {
                  "application": {
                    "function": {
                      "typeApplication": {
                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"variable": "hydra.core.model.Type"}}},
                        "type": {"variable": "hydra.core.model.Type"}}},
                    "argument": {"variable": "hydra.core.parse.core.typeAtom"}}},
                "argument": {
                  "lambda": {
                    "parameter": "t0",
                    "domain": {"variable": "hydra.core.model.Type"},
                    "body": {
                      "application": {
                        "function": {
                          "application": {
                            "function": {
                              "typeApplication": {
                                "body": {
                                  "typeApplication": {"body": {"variable": "hydra.core.parsers.map"}, "type": {"list": {"variable": "hydra.core.model.Term"}}}},
                                "type": {"variable": "hydra.core.model.Type"}}},
                            "argument": {
                              "lambda": {
                                "parameter": "anns",
                                "domain": {"list": {"variable": "hydra.core.model.Term"}},
                                "body": {
                                  "application": {
                                    "function": {
                                      "application": {
                                        "function": {
                                          "application": {
                                            "function": {
                                              "typeApplication": {
                                                "body": {"typeApplication": {"body": {"variable": "hydra.core.lib.lists.foldl"}, "type": {"variable": "hydra.core.model.Type"}}},
                                                "type": {"variable": "hydra.core.model.Term"}}},
                                            "argument": {
                                              "lambda": {
                                                "parameter": "t",
                                                "domain": {"variable": "hydra.core.model.Type"},
                                                "body": {
                                                  "lambda": {
                                                    "parameter": "ann",
                                                    "domain": {"variable": "hydra.core.model.Term"},
                                                    "body": {
                                                      "inject": {
                                                        "typeName": "hydra.core.model.Type",
                                                        "field": {
                                                          "name": "annotated",
                                                          "term": {
                                                            "record": {
                                                              "typeName": "hydra.core.model.AnnotatedType",
                                                              "fields": [{"name": "body", "term": {"variable": "t"}}, {"name": "annotation", "term": {"variable": "ann"}}]}}}}}}}}}}},
                                        "argument": {"variable": "t0"}}},
                                    "argument": {"variable": "anns"}}}}}}},
                        "argument": {
                          "application": {
                            "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.many"}, "type": {"variable": "hydra.core.model.Term"}}},
                            "argument": {"variable": "hydra.core.parse.core.annot"}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "Parse an atomic type followed by zero or more trailing '@annotation' suffixes"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.parse.core.primitiveSignature",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {"function": {"variable": "hydra.core.parsing.Parser"}, "argument": {"variable": "hydra.core.typing.TermSignature"}}}}},
        "body": {
          "annotated": {
            "body": {
              "application": {
                "function": {
                  "application": {
                    "function": {
                      "typeApplication": {"body": {"variable": "hydra.core.parsers.alt"}, "type": {"variable": "hydra.core.typing.TermSignature"}}},
                    "argument": {
                      "application": {
                        "function": {
                          "application": {
                            "function": {
                              "typeApplication": {
                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": {"integer": "int32"}}}},
                                "type": {"variable": "hydra.core.typing.TermSignature"}}},
                            "argument": {
                              "application": {
                                "function": {"typeApplication": {"body": {"variable": "hydra.core.parse.core.lexeme"}, "type": {"literal": {"integer": "int32"}}}},
                                "argument": {
                                  "application": {"function": {"variable": "hydra.core.parsers.char"}, "argument": {"literal": {"integer": {"int32": 8704}}}}}}}}},
                        "argument": {
                          "lambda": {
                            "parameter": "_",
                            "domain": {"literal": {"integer": "int32"}},
                            "body": {
                              "application": {
                                "function": {
                                  "application": {
                                    "function": {
                                      "typeApplication": {
                                        "body": {
                                          "typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"list": {"variable": "hydra.core.model.Name"}}}},
                                        "type": {"variable": "hydra.core.typing.TermSignature"}}},
                                    "argument": {
                                      "application": {
                                        "function": {
                                          "application": {
                                            "function": {
                                              "typeApplication": {
                                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.sepBy"}, "type": {"variable": "hydra.core.model.Name"}}},
                                                "type": {"literal": {"integer": "int32"}}}},
                                            "argument": {"variable": "hydra.core.parse.core.binderName"}}},
                                        "argument": {
                                          "application": {
                                            "function": {"typeApplication": {"body": {"variable": "hydra.core.parse.core.lexeme"}, "type": {"literal": {"integer": "int32"}}}},
                                            "argument": {
                                              "application": {"function": {"variable": "hydra.core.parsers.char"}, "argument": {"literal": {"integer": {"int32": 44}}}}}}}}}}},
                                "argument": {
                                  "lambda": {
                                    "parameter": "vars",
                                    "domain": {"list": {"variable": "hydra.core.model.Name"}},
                                    "body": {
                                      "application": {
                                        "function": {
                                          "application": {
                                            "function": {
                                              "typeApplication": {
                                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": {"integer": "int32"}}}},
                                                "type": {"variable": "hydra.core.typing.TermSignature"}}},
                                            "argument": {
                                              "application": {
                                                "function": {"typeApplication": {"body": {"variable": "hydra.core.parse.core.lexeme"}, "type": {"literal": {"integer": "int32"}}}},
                                                "argument": {
                                                  "application": {"function": {"variable": "hydra.core.parsers.char"}, "argument": {"literal": {"integer": {"int32": 46}}}}}}}}},
                                        "argument": {
                                          "lambda": {
                                            "parameter": "_",
                                            "domain": {"literal": {"integer": "int32"}},
                                            "body": {
                                              "application": {
                                                "function": {
                                                  "application": {
                                                    "function": {
                                                      "typeApplication": {
                                                        "body": {
                                                          "typeApplication": {
                                                            "body": {"variable": "hydra.core.parsers.bind"},
                                                            "type": {
                                                              "optional": {"list": {"pair": {"first": {"variable": "hydra.core.model.Name"}, "second": {"variable": "hydra.core.model.Name"}}}}}}},
                                                        "type": {"variable": "hydra.core.typing.TermSignature"}}},
                                                    "argument": {
                                                      "application": {
                                                        "function": {
                                                          "typeApplication": {
                                                            "body": {"variable": "hydra.core.parsers.optional"},
                                                            "type": {"list": {"pair": {"first": {"variable": "hydra.core.model.Name"}, "second": {"variable": "hydra.core.model.Name"}}}}}},
                                                        "argument": {
                                                          "application": {
                                                            "function": {
                                                              "typeApplication": {
                                                                "body": {"variable": "hydra.core.parsers.try"},
                                                                "type": {"list": {"pair": {"first": {"variable": "hydra.core.model.Name"}, "second": {"variable": "hydra.core.model.Name"}}}}}},
                                                            "argument": {
                                                              "application": {
                                                                "function": {
                                                                  "application": {
                                                                    "function": {
                                                                      "typeApplication": {
                                                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                                                        "type": {"list": {"pair": {"first": {"variable": "hydra.core.model.Name"}, "second": {"variable": "hydra.core.model.Name"}}}}}},
                                                                    "argument": {
                                                                      "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": "("}}}}}},
                                                                "argument": {
                                                                  "lambda": {
                                                                    "parameter": "_",
                                                                    "domain": {"literal": "string"},
                                                                    "body": {
                                                                      "application": {
                                                                        "function": {
                                                                          "application": {
                                                                            "function": {
                                                                              "typeApplication": {
                                                                                "body": {
                                                                                  "typeApplication": {
                                                                                    "body": {"variable": "hydra.core.parsers.bind"},
                                                                                    "type": {"list": {"pair": {"first": {"variable": "hydra.core.model.Name"}, "second": {"variable": "hydra.core.model.Name"}}}}}},
                                                                                "type": {"list": {"pair": {"first": {"variable": "hydra.core.model.Name"}, "second": {"variable": "hydra.core.model.Name"}}}}}},
                                                                            "argument": {
                                                                              "application": {
                                                                                "function": {
                                                                                  "application": {
                                                                                    "function": {
                                                                                      "typeApplication": {
                                                                                        "body": {
                                                                                          "typeApplication": {
                                                                                            "body": {"variable": "hydra.core.parsers.sepBy1"},
                                                                                            "type": {"pair": {"first": {"variable": "hydra.core.model.Name"}, "second": {"variable": "hydra.core.model.Name"}}}}},
                                                                                        "type": {"literal": "string"}}},
                                                                                    "argument": {"variable": "hydra.core.parse.core.constraint"}}},
                                                                                "argument": {
                                                                                  "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": ","}}}}}}}},
                                                                        "argument": {
                                                                          "lambda": {
                                                                            "parameter": "cs",
                                                                            "domain": {"list": {"pair": {"first": {"variable": "hydra.core.model.Name"}, "second": {"variable": "hydra.core.model.Name"}}}},
                                                                            "body": {
                                                                              "application": {
                                                                                "function": {
                                                                                  "application": {
                                                                                    "function": {
                                                                                      "typeApplication": {
                                                                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                                                                        "type": {"list": {"pair": {"first": {"variable": "hydra.core.model.Name"}, "second": {"variable": "hydra.core.model.Name"}}}}}},
                                                                                    "argument": {
                                                                                      "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": ")"}}}}}},
                                                                                "argument": {
                                                                                  "lambda": {
                                                                                    "parameter": "_",
                                                                                    "domain": {"literal": "string"},
                                                                                    "body": {
                                                                                      "application": {
                                                                                        "function": {
                                                                                          "application": {
                                                                                            "function": {
                                                                                              "typeApplication": {
                                                                                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": {"integer": "int32"}}}},
                                                                                                "type": {"list": {"pair": {"first": {"variable": "hydra.core.model.Name"}, "second": {"variable": "hydra.core.model.Name"}}}}}},
                                                                                            "argument": {
                                                                                              "application": {
                                                                                                "function": {"typeApplication": {"body": {"variable": "hydra.core.parse.core.lexeme"}, "type": {"literal": {"integer": "int32"}}}},
                                                                                                "argument": {
                                                                                                  "application": {"function": {"variable": "hydra.core.parsers.char"}, "argument": {"literal": {"integer": {"int32": 8658}}}}}}}}},
                                                                                        "argument": {
                                                                                          "lambda": {
                                                                                            "parameter": "_",
                                                                                            "domain": {"literal": {"integer": "int32"}},
                                                                                            "body": {
                                                                                              "application": {
                                                                                                "function": {
                                                                                                  "typeApplication": {
                                                                                                    "body": {"variable": "hydra.core.parsers.pure"},
                                                                                                    "type": {"list": {"pair": {"first": {"variable": "hydra.core.model.Name"}, "second": {"variable": "hydra.core.model.Name"}}}}}},
                                                                                                "argument": {"variable": "cs"}}}}}}}}}}}}}}}}}}}}}}}}},
                                                "argument": {
                                                  "lambda": {
                                                    "parameter": "mcs",
                                                    "domain": {
                                                      "optional": {"list": {"pair": {"first": {"variable": "hydra.core.model.Name"}, "second": {"variable": "hydra.core.model.Name"}}}}},
                                                    "body": {
                                                      "application": {
                                                        "function": {
                                                          "application": {
                                                            "function": {
                                                              "lambda": {
                                                                "parameter": "vars",
                                                                "domain": {"list": {"variable": "hydra.core.model.Name"}},
                                                                "body": {
                                                                  "lambda": {
                                                                    "parameter": "mcs",
                                                                    "domain": {
                                                                      "optional": {"list": {"pair": {"first": {"variable": "hydra.core.model.Name"}, "second": {"variable": "hydra.core.model.Name"}}}}},
                                                                    "body": {
                                                                      "let": {
                                                                        "bindings": [
                                                                          {
                                                                            "name": "typeParams",
                                                                            "term": {
                                                                              "application": {
                                                                                "function": {
                                                                                  "application": {
                                                                                    "function": {
                                                                                      "typeApplication": {
                                                                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.lib.lists.map"}, "type": {"variable": "hydra.core.model.Name"}}},
                                                                                        "type": {"variable": "hydra.core.typing.TypeParameter"}}},
                                                                                    "argument": {
                                                                                      "lambda": {
                                                                                        "parameter": "v",
                                                                                        "domain": {"variable": "hydra.core.model.Name"},
                                                                                        "body": {
                                                                                          "record": {
                                                                                            "typeName": "hydra.core.typing.TypeParameter",
                                                                                            "fields": [
                                                                                              {"name": "name", "term": {"variable": "v"}},
                                                                                              {
                                                                                                "name": "constraints",
                                                                                                "term": {
                                                                                                  "application": {
                                                                                                    "function": {
                                                                                                      "application": {
                                                                                                        "function": {
                                                                                                          "typeApplication": {
                                                                                                            "body": {"variable": "hydra.core.lib.optionals.withDefault"},
                                                                                                            "type": {"list": {"variable": "hydra.core.model.TypeClassConstraint"}}}},
                                                                                                        "argument": {"typeApplication": {"body": {"list": []}, "type": {"variable": "hydra.core.model.TypeClassConstraint"}}}}},
                                                                                                    "argument": {
                                                                                                      "application": {
                                                                                                        "function": {
                                                                                                          "application": {
                                                                                                            "function": {
                                                                                                              "typeApplication": {
                                                                                                                "body": {"typeApplication": {"body": {"variable": "hydra.core.lib.maps.lookup"}, "type": {"variable": "hydra.core.model.Name"}}},
                                                                                                                "type": {"list": {"variable": "hydra.core.model.TypeClassConstraint"}}}},
                                                                                                            "argument": {"variable": "v"}}},
                                                                                                        "argument": {
                                                                                                          "application": {
                                                                                                            "function": {
                                                                                                              "typeApplication": {
                                                                                                                "body": {
                                                                                                                  "typeApplication": {"body": {"variable": "hydra.core.lib.maps.fromList"}, "type": {"variable": "hydra.core.model.Name"}}},
                                                                                                                "type": {"list": {"variable": "hydra.core.model.TypeClassConstraint"}}}},
                                                                                                            "argument": {
                                                                                                              "application": {
                                                                                                                "function": {
                                                                                                                  "application": {
                                                                                                                    "function": {
                                                                                                                      "typeApplication": {
                                                                                                                        "body": {
                                                                                                                          "typeApplication": {
                                                                                                                            "body": {"variable": "hydra.core.lib.lists.map"},
                                                                                                                            "type": {"pair": {"first": {"variable": "hydra.core.model.Name"}, "second": {"variable": "hydra.core.model.Name"}}}}},
                                                                                                                        "type": {
                                                                                                                          "pair": {
                                                                                                                            "first": {"variable": "hydra.core.model.Name"},
                                                                                                                            "second": {"list": {"variable": "hydra.core.model.TypeClassConstraint"}}}}}},
                                                                                                                    "argument": {
                                                                                                                      "lambda": {
                                                                                                                        "parameter": "p",
                                                                                                                        "domain": {"pair": {"first": {"variable": "hydra.core.model.Name"}, "second": {"variable": "hydra.core.model.Name"}}},
                                                                                                                        "body": {
                                                                                                                          "typeApplication": {
                                                                                                                            "body": {
                                                                                                                              "typeApplication": {
                                                                                                                                "body": {
                                                                                                                                  "pair": {
                                                                                                                                    "first": {
                                                                                                                                      "application": {
                                                                                                                                        "function": {
                                                                                                                                          "typeApplication": {
                                                                                                                                            "body": {
                                                                                                                                              "typeApplication": {"body": {"variable": "hydra.core.lib.pairs.second"}, "type": {"variable": "hydra.core.model.Name"}}},
                                                                                                                                            "type": {"variable": "hydra.core.model.Name"}}},
                                                                                                                                        "argument": {"variable": "p"}}},
                                                                                                                                    "second": {
                                                                                                                                      "list": [
                                                                                                                                        {
                                                                                                                                          "inject": {
                                                                                                                                            "typeName": "hydra.core.model.TypeClassConstraint",
                                                                                                                                            "field": {
                                                                                                                                              "name": "simple",
                                                                                                                                              "term": {
                                                                                                                                                "application": {
                                                                                                                                                  "function": {
                                                                                                                                                    "typeApplication": {
                                                                                                                                                      "body": {"typeApplication": {"body": {"variable": "hydra.core.lib.pairs.first"}, "type": {"variable": "hydra.core.model.Name"}}},
                                                                                                                                                      "type": {"variable": "hydra.core.model.Name"}}},
                                                                                                                                                  "argument": {"variable": "p"}}}}}}]}}},
                                                                                                                                "type": {"variable": "hydra.core.model.Name"}}},
                                                                                                                            "type": {"list": {"variable": "hydra.core.model.TypeClassConstraint"}}}}}}}},
                                                                                                                "argument": {
                                                                                                                  "application": {
                                                                                                                    "function": {
                                                                                                                      "application": {
                                                                                                                        "function": {
                                                                                                                          "typeApplication": {
                                                                                                                            "body": {"variable": "hydra.core.lib.optionals.withDefault"},
                                                                                                                            "type": {"list": {"pair": {"first": {"variable": "hydra.core.model.Name"}, "second": {"variable": "hydra.core.model.Name"}}}}}},
                                                                                                                        "argument": {
                                                                                                                          "typeApplication": {
                                                                                                                            "body": {"list": []},
                                                                                                                            "type": {"pair": {"first": {"variable": "hydra.core.model.Name"}, "second": {"variable": "hydra.core.model.Name"}}}}}}},
                                                                                                                    "argument": {"variable": "mcs"}}}}}}}}}}}}]}}}}}},
                                                                                "argument": {"variable": "vars"}}},
                                                                            "typeScheme": {"variables": [], "body": {"list": {"variable": "hydra.core.typing.TypeParameter"}}, "constraints": []}}],
                                                                        "body": {
                                                                          "application": {
                                                                            "function": {
                                                                              "application": {
                                                                                "function": {
                                                                                  "typeApplication": {
                                                                                    "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                                                                    "type": {"variable": "hydra.core.typing.TermSignature"}}},
                                                                                "argument": {
                                                                                  "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": "("}}}}}},
                                                                            "argument": {
                                                                              "lambda": {
                                                                                "parameter": "_",
                                                                                "domain": {"literal": "string"},
                                                                                "body": {
                                                                                  "application": {
                                                                                    "function": {
                                                                                      "application": {
                                                                                        "function": {
                                                                                          "typeApplication": {
                                                                                            "body": {
                                                                                              "typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"list": {"variable": "hydra.core.typing.Parameter"}}}},
                                                                                            "type": {"variable": "hydra.core.typing.TermSignature"}}},
                                                                                        "argument": {
                                                                                          "application": {
                                                                                            "function": {
                                                                                              "application": {
                                                                                                "function": {
                                                                                                  "typeApplication": {
                                                                                                    "body": {
                                                                                                      "typeApplication": {"body": {"variable": "hydra.core.parsers.sepBy"}, "type": {"variable": "hydra.core.typing.Parameter"}}},
                                                                                                    "type": {"literal": "string"}}},
                                                                                                "argument": {
                                                                                                  "application": {
                                                                                                    "function": {
                                                                                                      "application": {
                                                                                                        "function": {
                                                                                                          "typeApplication": {
                                                                                                            "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"variable": "hydra.core.model.Name"}}},
                                                                                                            "type": {"variable": "hydra.core.typing.Parameter"}}},
                                                                                                        "argument": {"variable": "hydra.core.parse.core.binderName"}}},
                                                                                                    "argument": {
                                                                                                      "lambda": {
                                                                                                        "parameter": "pname",
                                                                                                        "domain": {"variable": "hydra.core.model.Name"},
                                                                                                        "body": {
                                                                                                          "application": {
                                                                                                            "function": {
                                                                                                              "application": {
                                                                                                                "function": {
                                                                                                                  "typeApplication": {
                                                                                                                    "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                                                                                                    "type": {"variable": "hydra.core.typing.Parameter"}}},
                                                                                                                "argument": {
                                                                                                                  "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": ":"}}}}}},
                                                                                                            "argument": {
                                                                                                              "lambda": {
                                                                                                                "parameter": "_",
                                                                                                                "domain": {"literal": "string"},
                                                                                                                "body": {
                                                                                                                  "application": {
                                                                                                                    "function": {
                                                                                                                      "application": {
                                                                                                                        "function": {
                                                                                                                          "typeApplication": {
                                                                                                                            "body": {
                                                                                                                              "typeApplication": {
                                                                                                                                "body": {"variable": "hydra.core.parsers.map"},
                                                                                                                                "type": {"pair": {"first": {"literal": "boolean"}, "second": {"variable": "hydra.core.model.Type"}}}}},
                                                                                                                            "type": {"variable": "hydra.core.typing.Parameter"}}},
                                                                                                                        "argument": {
                                                                                                                          "lambda": {
                                                                                                                            "parameter": "lt",
                                                                                                                            "domain": {"pair": {"first": {"literal": "boolean"}, "second": {"variable": "hydra.core.model.Type"}}},
                                                                                                                            "body": {
                                                                                                                              "record": {
                                                                                                                                "typeName": "hydra.core.typing.Parameter",
                                                                                                                                "fields": [
                                                                                                                                  {"name": "name", "term": {"variable": "pname"}},
                                                                                                                                  {"name": "description", "term": {"typeApplication": {"body": {"optional": null}, "type": {"literal": "string"}}}},
                                                                                                                                  {
                                                                                                                                    "name": "type",
                                                                                                                                    "term": {
                                                                                                                                      "application": {
                                                                                                                                        "function": {
                                                                                                                                          "typeApplication": {
                                                                                                                                            "body": {"typeApplication": {"body": {"variable": "hydra.core.lib.pairs.second"}, "type": {"literal": "boolean"}}},
                                                                                                                                            "type": {"variable": "hydra.core.model.Type"}}},
                                                                                                                                        "argument": {"variable": "lt"}}}},
                                                                                                                                  {
                                                                                                                                    "name": "isLazy",
                                                                                                                                    "term": {
                                                                                                                                      "application": {
                                                                                                                                        "function": {
                                                                                                                                          "typeApplication": {
                                                                                                                                            "body": {"typeApplication": {"body": {"variable": "hydra.core.lib.pairs.first"}, "type": {"literal": "boolean"}}},
                                                                                                                                            "type": {"variable": "hydra.core.model.Type"}}},
                                                                                                                                        "argument": {"variable": "lt"}}}}]}}}}}},
                                                                                                                    "argument": {
                                                                                                                      "application": {
                                                                                                                        "function": {
                                                                                                                          "application": {
                                                                                                                            "function": {
                                                                                                                              "typeApplication": {
                                                                                                                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"optional": {"literal": "string"}}}},
                                                                                                                                "type": {"pair": {"first": {"literal": "boolean"}, "second": {"variable": "hydra.core.model.Type"}}}}},
                                                                                                                            "argument": {
                                                                                                                              "application": {
                                                                                                                                "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.optional"}, "type": {"literal": "string"}}},
                                                                                                                                "argument": {
                                                                                                                                  "application": {"function": {"variable": "hydra.core.parse.core.typeKeyword"}, "argument": {"literal": {"string": "lazy"}}}}}}}},
                                                                                                                        "argument": {
                                                                                                                          "lambda": {
                                                                                                                            "parameter": "mlazy",
                                                                                                                            "domain": {"optional": {"literal": "string"}},
                                                                                                                            "body": {
                                                                                                                              "application": {
                                                                                                                                "function": {
                                                                                                                                  "application": {
                                                                                                                                    "function": {
                                                                                                                                      "typeApplication": {
                                                                                                                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.map"}, "type": {"variable": "hydra.core.model.Type"}}},
                                                                                                                                        "type": {"pair": {"first": {"literal": "boolean"}, "second": {"variable": "hydra.core.model.Type"}}}}},
                                                                                                                                    "argument": {
                                                                                                                                      "lambda": {
                                                                                                                                        "parameter": "t",
                                                                                                                                        "domain": {"variable": "hydra.core.model.Type"},
                                                                                                                                        "body": {
                                                                                                                                          "typeApplication": {
                                                                                                                                            "body": {
                                                                                                                                              "typeApplication": {
                                                                                                                                                "body": {
                                                                                                                                                  "pair": {
                                                                                                                                                    "first": {
                                                                                                                                                      "application": {
                                                                                                                                                        "function": {"typeApplication": {"body": {"variable": "hydra.core.lib.optionals.isGiven"}, "type": {"literal": "string"}}},
                                                                                                                                                        "argument": {"variable": "mlazy"}}},
                                                                                                                                                    "second": {"variable": "t"}}},
                                                                                                                                                "type": {"literal": "boolean"}}},
                                                                                                                                            "type": {"variable": "hydra.core.model.Type"}}}}}}},
                                                                                                                                "argument": {
                                                                                                                                  "application": {
                                                                                                                                    "function": {
                                                                                                                                      "application": {
                                                                                                                                        "function": {
                                                                                                                                          "typeApplication": {
                                                                                                                                            "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"variable": "hydra.core.model.Type"}}},
                                                                                                                                            "type": {"variable": "hydra.core.model.Type"}}},
                                                                                                                                        "argument": {"variable": "hydra.core.parse.core.postfixType"}}},
                                                                                                                                    "argument": {
                                                                                                                                      "lambda": {
                                                                                                                                        "parameter": "t0",
                                                                                                                                        "domain": {"variable": "hydra.core.model.Type"},
                                                                                                                                        "body": {
                                                                                                                                          "application": {
                                                                                                                                            "function": {
                                                                                                                                              "application": {
                                                                                                                                                "function": {
                                                                                                                                                  "typeApplication": {
                                                                                                                                                    "body": {
                                                                                                                                                      "typeApplication": {"body": {"variable": "hydra.core.parsers.map"}, "type": {"list": {"variable": "hydra.core.model.Type"}}}},
                                                                                                                                                    "type": {"variable": "hydra.core.model.Type"}}},
                                                                                                                                                "argument": {
                                                                                                                                                  "lambda": {
                                                                                                                                                    "parameter": "rest",
                                                                                                                                                    "domain": {"list": {"variable": "hydra.core.model.Type"}},
                                                                                                                                                    "body": {
                                                                                                                                                      "application": {
                                                                                                                                                        "function": {
                                                                                                                                                          "application": {
                                                                                                                                                            "function": {
                                                                                                                                                              "application": {
                                                                                                                                                                "function": {
                                                                                                                                                                  "typeApplication": {
                                                                                                                                                                    "body": {"typeApplication": {"body": {"variable": "hydra.core.lib.lists.foldl"}, "type": {"variable": "hydra.core.model.Type"}}},
                                                                                                                                                                    "type": {"variable": "hydra.core.model.Type"}}},
                                                                                                                                                                "argument": {
                                                                                                                                                                  "lambda": {
                                                                                                                                                                    "parameter": "f",
                                                                                                                                                                    "domain": {"variable": "hydra.core.model.Type"},
                                                                                                                                                                    "body": {
                                                                                                                                                                      "lambda": {
                                                                                                                                                                        "parameter": "a",
                                                                                                                                                                        "domain": {"variable": "hydra.core.model.Type"},
                                                                                                                                                                        "body": {
                                                                                                                                                                          "inject": {
                                                                                                                                                                            "typeName": "hydra.core.model.Type",
                                                                                                                                                                            "field": {
                                                                                                                                                                              "name": "application",
                                                                                                                                                                              "term": {
                                                                                                                                                                                "record": {
                                                                                                                                                                                  "typeName": "hydra.core.model.ApplicationType",
                                                                                                                                                                                  "fields": [{"name": "function", "term": {"variable": "f"}}, {"name": "argument", "term": {"variable": "a"}}]}}}}}}}}}}},
                                                                                                                                                            "argument": {"variable": "t0"}}},
                                                                                                                                                        "argument": {"variable": "rest"}}}}}}},
                                                                                                                                            "argument": {
                                                                                                                                              "application": {
                                                                                                                                                "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.many"}, "type": {"variable": "hydra.core.model.Type"}}},
                                                                                                                                                "argument": {"variable": "hydra.core.parse.core.postfixType"}}}}}}}}}}}}}}}}}}}}}}}}}}},
                                                                                            "argument": {
                                                                                              "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": ","}}}}}}}},
                                                                                    "argument": {
                                                                                      "lambda": {
                                                                                        "parameter": "params",
                                                                                        "domain": {"list": {"variable": "hydra.core.typing.Parameter"}},
                                                                                        "body": {
                                                                                          "application": {
                                                                                            "function": {
                                                                                              "application": {
                                                                                                "function": {
                                                                                                  "typeApplication": {
                                                                                                    "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                                                                                    "type": {"variable": "hydra.core.typing.TermSignature"}}},
                                                                                                "argument": {
                                                                                                  "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": ")"}}}}}},
                                                                                            "argument": {
                                                                                              "lambda": {
                                                                                                "parameter": "_",
                                                                                                "domain": {"literal": "string"},
                                                                                                "body": {
                                                                                                  "application": {
                                                                                                    "function": {
                                                                                                      "application": {
                                                                                                        "function": {
                                                                                                          "typeApplication": {
                                                                                                            "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                                                                                            "type": {"variable": "hydra.core.typing.TermSignature"}}},
                                                                                                        "argument": {
                                                                                                          "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": ":"}}}}}},
                                                                                                    "argument": {
                                                                                                      "lambda": {
                                                                                                        "parameter": "_",
                                                                                                        "domain": {"literal": "string"},
                                                                                                        "body": {
                                                                                                          "application": {
                                                                                                            "function": {
                                                                                                              "application": {
                                                                                                                "function": {
                                                                                                                  "typeApplication": {
                                                                                                                    "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.map"}, "type": {"variable": "hydra.core.model.Type"}}},
                                                                                                                    "type": {"variable": "hydra.core.typing.TermSignature"}}},
                                                                                                                "argument": {
                                                                                                                  "lambda": {
                                                                                                                    "parameter": "resultType",
                                                                                                                    "domain": {"variable": "hydra.core.model.Type"},
                                                                                                                    "body": {
                                                                                                                      "let": {
                                                                                                                        "bindings": [
                                                                                                                          {
                                                                                                                            "name": "result",
                                                                                                                            "term": {
                                                                                                                              "record": {
                                                                                                                                "typeName": "hydra.core.typing.Result",
                                                                                                                                "fields": [
                                                                                                                                  {"name": "description", "term": {"typeApplication": {"body": {"optional": null}, "type": {"literal": "string"}}}},
                                                                                                                                  {"name": "type", "term": {"variable": "resultType"}}]}},
                                                                                                                            "typeScheme": {"variables": [], "body": {"variable": "hydra.core.typing.Result"}, "constraints": []}}],
                                                                                                                        "body": {
                                                                                                                          "record": {
                                                                                                                            "typeName": "hydra.core.typing.TermSignature",
                                                                                                                            "fields": [
                                                                                                                              {"name": "typeParameters", "term": {"variable": "typeParams"}},
                                                                                                                              {"name": "parameters", "term": {"variable": "params"}},
                                                                                                                              {"name": "result", "term": {"variable": "result"}}]}}}}}}}},
                                                                                                            "argument": {"variable": "hydra.core.parse.core.topType"}}}}}}}}}}}}}}}}}}}}}}}}},
                                                            "argument": {"variable": "vars"}}},
                                                        "argument": {"variable": "mcs"}}}}}}}}}}}}}}}}}}}}},
                "argument": {
                  "application": {
                    "function": {
                      "application": {
                        "function": {
                          "lambda": {
                            "parameter": "vars",
                            "domain": {"list": {"variable": "hydra.core.model.Name"}},
                            "body": {
                              "lambda": {
                                "parameter": "mcs",
                                "domain": {
                                  "optional": {"list": {"pair": {"first": {"variable": "hydra.core.model.Name"}, "second": {"variable": "hydra.core.model.Name"}}}}},
                                "body": {
                                  "let": {
                                    "bindings": [
                                      {
                                        "name": "typeParams",
                                        "term": {
                                          "application": {
                                            "function": {
                                              "application": {
                                                "function": {
                                                  "typeApplication": {
                                                    "body": {"typeApplication": {"body": {"variable": "hydra.core.lib.lists.map"}, "type": {"variable": "hydra.core.model.Name"}}},
                                                    "type": {"variable": "hydra.core.typing.TypeParameter"}}},
                                                "argument": {
                                                  "lambda": {
                                                    "parameter": "v",
                                                    "domain": {"variable": "hydra.core.model.Name"},
                                                    "body": {
                                                      "record": {
                                                        "typeName": "hydra.core.typing.TypeParameter",
                                                        "fields": [
                                                          {"name": "name", "term": {"variable": "v"}},
                                                          {
                                                            "name": "constraints",
                                                            "term": {
                                                              "application": {
                                                                "function": {
                                                                  "application": {
                                                                    "function": {
                                                                      "typeApplication": {
                                                                        "body": {"variable": "hydra.core.lib.optionals.withDefault"},
                                                                        "type": {"list": {"variable": "hydra.core.model.TypeClassConstraint"}}}},
                                                                    "argument": {"typeApplication": {"body": {"list": []}, "type": {"variable": "hydra.core.model.TypeClassConstraint"}}}}},
                                                                "argument": {
                                                                  "application": {
                                                                    "function": {
                                                                      "application": {
                                                                        "function": {
                                                                          "typeApplication": {
                                                                            "body": {"typeApplication": {"body": {"variable": "hydra.core.lib.maps.lookup"}, "type": {"variable": "hydra.core.model.Name"}}},
                                                                            "type": {"list": {"variable": "hydra.core.model.TypeClassConstraint"}}}},
                                                                        "argument": {"variable": "v"}}},
                                                                    "argument": {
                                                                      "application": {
                                                                        "function": {
                                                                          "typeApplication": {
                                                                            "body": {
                                                                              "typeApplication": {"body": {"variable": "hydra.core.lib.maps.fromList"}, "type": {"variable": "hydra.core.model.Name"}}},
                                                                            "type": {"list": {"variable": "hydra.core.model.TypeClassConstraint"}}}},
                                                                        "argument": {
                                                                          "application": {
                                                                            "function": {
                                                                              "application": {
                                                                                "function": {
                                                                                  "typeApplication": {
                                                                                    "body": {
                                                                                      "typeApplication": {
                                                                                        "body": {"variable": "hydra.core.lib.lists.map"},
                                                                                        "type": {"pair": {"first": {"variable": "hydra.core.model.Name"}, "second": {"variable": "hydra.core.model.Name"}}}}},
                                                                                    "type": {
                                                                                      "pair": {
                                                                                        "first": {"variable": "hydra.core.model.Name"},
                                                                                        "second": {"list": {"variable": "hydra.core.model.TypeClassConstraint"}}}}}},
                                                                                "argument": {
                                                                                  "lambda": {
                                                                                    "parameter": "p",
                                                                                    "domain": {"pair": {"first": {"variable": "hydra.core.model.Name"}, "second": {"variable": "hydra.core.model.Name"}}},
                                                                                    "body": {
                                                                                      "typeApplication": {
                                                                                        "body": {
                                                                                          "typeApplication": {
                                                                                            "body": {
                                                                                              "pair": {
                                                                                                "first": {
                                                                                                  "application": {
                                                                                                    "function": {
                                                                                                      "typeApplication": {
                                                                                                        "body": {
                                                                                                          "typeApplication": {"body": {"variable": "hydra.core.lib.pairs.second"}, "type": {"variable": "hydra.core.model.Name"}}},
                                                                                                        "type": {"variable": "hydra.core.model.Name"}}},
                                                                                                    "argument": {"variable": "p"}}},
                                                                                                "second": {
                                                                                                  "list": [
                                                                                                    {
                                                                                                      "inject": {
                                                                                                        "typeName": "hydra.core.model.TypeClassConstraint",
                                                                                                        "field": {
                                                                                                          "name": "simple",
                                                                                                          "term": {
                                                                                                            "application": {
                                                                                                              "function": {
                                                                                                                "typeApplication": {
                                                                                                                  "body": {"typeApplication": {"body": {"variable": "hydra.core.lib.pairs.first"}, "type": {"variable": "hydra.core.model.Name"}}},
                                                                                                                  "type": {"variable": "hydra.core.model.Name"}}},
                                                                                                              "argument": {"variable": "p"}}}}}}]}}},
                                                                                            "type": {"variable": "hydra.core.model.Name"}}},
                                                                                        "type": {"list": {"variable": "hydra.core.model.TypeClassConstraint"}}}}}}}},
                                                                            "argument": {
                                                                              "application": {
                                                                                "function": {
                                                                                  "application": {
                                                                                    "function": {
                                                                                      "typeApplication": {
                                                                                        "body": {"variable": "hydra.core.lib.optionals.withDefault"},
                                                                                        "type": {"list": {"pair": {"first": {"variable": "hydra.core.model.Name"}, "second": {"variable": "hydra.core.model.Name"}}}}}},
                                                                                    "argument": {
                                                                                      "typeApplication": {
                                                                                        "body": {"list": []},
                                                                                        "type": {"pair": {"first": {"variable": "hydra.core.model.Name"}, "second": {"variable": "hydra.core.model.Name"}}}}}}},
                                                                                "argument": {"variable": "mcs"}}}}}}}}}}}}]}}}}}},
                                            "argument": {"variable": "vars"}}},
                                        "typeScheme": {"variables": [], "body": {"list": {"variable": "hydra.core.typing.TypeParameter"}}, "constraints": []}}],
                                    "body": {
                                      "application": {
                                        "function": {
                                          "application": {
                                            "function": {
                                              "typeApplication": {
                                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                                "type": {"variable": "hydra.core.typing.TermSignature"}}},
                                            "argument": {
                                              "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": "("}}}}}},
                                        "argument": {
                                          "lambda": {
                                            "parameter": "_",
                                            "domain": {"literal": "string"},
                                            "body": {
                                              "application": {
                                                "function": {
                                                  "application": {
                                                    "function": {
                                                      "typeApplication": {
                                                        "body": {
                                                          "typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"list": {"variable": "hydra.core.typing.Parameter"}}}},
                                                        "type": {"variable": "hydra.core.typing.TermSignature"}}},
                                                    "argument": {
                                                      "application": {
                                                        "function": {
                                                          "application": {
                                                            "function": {
                                                              "typeApplication": {
                                                                "body": {
                                                                  "typeApplication": {"body": {"variable": "hydra.core.parsers.sepBy"}, "type": {"variable": "hydra.core.typing.Parameter"}}},
                                                                "type": {"literal": "string"}}},
                                                            "argument": {
                                                              "application": {
                                                                "function": {
                                                                  "application": {
                                                                    "function": {
                                                                      "typeApplication": {
                                                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"variable": "hydra.core.model.Name"}}},
                                                                        "type": {"variable": "hydra.core.typing.Parameter"}}},
                                                                    "argument": {"variable": "hydra.core.parse.core.binderName"}}},
                                                                "argument": {
                                                                  "lambda": {
                                                                    "parameter": "pname",
                                                                    "domain": {"variable": "hydra.core.model.Name"},
                                                                    "body": {
                                                                      "application": {
                                                                        "function": {
                                                                          "application": {
                                                                            "function": {
                                                                              "typeApplication": {
                                                                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                                                                "type": {"variable": "hydra.core.typing.Parameter"}}},
                                                                            "argument": {
                                                                              "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": ":"}}}}}},
                                                                        "argument": {
                                                                          "lambda": {
                                                                            "parameter": "_",
                                                                            "domain": {"literal": "string"},
                                                                            "body": {
                                                                              "application": {
                                                                                "function": {
                                                                                  "application": {
                                                                                    "function": {
                                                                                      "typeApplication": {
                                                                                        "body": {
                                                                                          "typeApplication": {
                                                                                            "body": {"variable": "hydra.core.parsers.map"},
                                                                                            "type": {"pair": {"first": {"literal": "boolean"}, "second": {"variable": "hydra.core.model.Type"}}}}},
                                                                                        "type": {"variable": "hydra.core.typing.Parameter"}}},
                                                                                    "argument": {
                                                                                      "lambda": {
                                                                                        "parameter": "lt",
                                                                                        "domain": {"pair": {"first": {"literal": "boolean"}, "second": {"variable": "hydra.core.model.Type"}}},
                                                                                        "body": {
                                                                                          "record": {
                                                                                            "typeName": "hydra.core.typing.Parameter",
                                                                                            "fields": [
                                                                                              {"name": "name", "term": {"variable": "pname"}},
                                                                                              {"name": "description", "term": {"typeApplication": {"body": {"optional": null}, "type": {"literal": "string"}}}},
                                                                                              {
                                                                                                "name": "type",
                                                                                                "term": {
                                                                                                  "application": {
                                                                                                    "function": {
                                                                                                      "typeApplication": {
                                                                                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.lib.pairs.second"}, "type": {"literal": "boolean"}}},
                                                                                                        "type": {"variable": "hydra.core.model.Type"}}},
                                                                                                    "argument": {"variable": "lt"}}}},
                                                                                              {
                                                                                                "name": "isLazy",
                                                                                                "term": {
                                                                                                  "application": {
                                                                                                    "function": {
                                                                                                      "typeApplication": {
                                                                                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.lib.pairs.first"}, "type": {"literal": "boolean"}}},
                                                                                                        "type": {"variable": "hydra.core.model.Type"}}},
                                                                                                    "argument": {"variable": "lt"}}}}]}}}}}},
                                                                                "argument": {
                                                                                  "application": {
                                                                                    "function": {
                                                                                      "application": {
                                                                                        "function": {
                                                                                          "typeApplication": {
                                                                                            "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"optional": {"literal": "string"}}}},
                                                                                            "type": {"pair": {"first": {"literal": "boolean"}, "second": {"variable": "hydra.core.model.Type"}}}}},
                                                                                        "argument": {
                                                                                          "application": {
                                                                                            "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.optional"}, "type": {"literal": "string"}}},
                                                                                            "argument": {
                                                                                              "application": {"function": {"variable": "hydra.core.parse.core.typeKeyword"}, "argument": {"literal": {"string": "lazy"}}}}}}}},
                                                                                    "argument": {
                                                                                      "lambda": {
                                                                                        "parameter": "mlazy",
                                                                                        "domain": {"optional": {"literal": "string"}},
                                                                                        "body": {
                                                                                          "application": {
                                                                                            "function": {
                                                                                              "application": {
                                                                                                "function": {
                                                                                                  "typeApplication": {
                                                                                                    "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.map"}, "type": {"variable": "hydra.core.model.Type"}}},
                                                                                                    "type": {"pair": {"first": {"literal": "boolean"}, "second": {"variable": "hydra.core.model.Type"}}}}},
                                                                                                "argument": {
                                                                                                  "lambda": {
                                                                                                    "parameter": "t",
                                                                                                    "domain": {"variable": "hydra.core.model.Type"},
                                                                                                    "body": {
                                                                                                      "typeApplication": {
                                                                                                        "body": {
                                                                                                          "typeApplication": {
                                                                                                            "body": {
                                                                                                              "pair": {
                                                                                                                "first": {
                                                                                                                  "application": {
                                                                                                                    "function": {"typeApplication": {"body": {"variable": "hydra.core.lib.optionals.isGiven"}, "type": {"literal": "string"}}},
                                                                                                                    "argument": {"variable": "mlazy"}}},
                                                                                                                "second": {"variable": "t"}}},
                                                                                                            "type": {"literal": "boolean"}}},
                                                                                                        "type": {"variable": "hydra.core.model.Type"}}}}}}},
                                                                                            "argument": {
                                                                                              "application": {
                                                                                                "function": {
                                                                                                  "application": {
                                                                                                    "function": {
                                                                                                      "typeApplication": {
                                                                                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"variable": "hydra.core.model.Type"}}},
                                                                                                        "type": {"variable": "hydra.core.model.Type"}}},
                                                                                                    "argument": {"variable": "hydra.core.parse.core.postfixType"}}},
                                                                                                "argument": {
                                                                                                  "lambda": {
                                                                                                    "parameter": "t0",
                                                                                                    "domain": {"variable": "hydra.core.model.Type"},
                                                                                                    "body": {
                                                                                                      "application": {
                                                                                                        "function": {
                                                                                                          "application": {
                                                                                                            "function": {
                                                                                                              "typeApplication": {
                                                                                                                "body": {
                                                                                                                  "typeApplication": {"body": {"variable": "hydra.core.parsers.map"}, "type": {"list": {"variable": "hydra.core.model.Type"}}}},
                                                                                                                "type": {"variable": "hydra.core.model.Type"}}},
                                                                                                            "argument": {
                                                                                                              "lambda": {
                                                                                                                "parameter": "rest",
                                                                                                                "domain": {"list": {"variable": "hydra.core.model.Type"}},
                                                                                                                "body": {
                                                                                                                  "application": {
                                                                                                                    "function": {
                                                                                                                      "application": {
                                                                                                                        "function": {
                                                                                                                          "application": {
                                                                                                                            "function": {
                                                                                                                              "typeApplication": {
                                                                                                                                "body": {"typeApplication": {"body": {"variable": "hydra.core.lib.lists.foldl"}, "type": {"variable": "hydra.core.model.Type"}}},
                                                                                                                                "type": {"variable": "hydra.core.model.Type"}}},
                                                                                                                            "argument": {
                                                                                                                              "lambda": {
                                                                                                                                "parameter": "f",
                                                                                                                                "domain": {"variable": "hydra.core.model.Type"},
                                                                                                                                "body": {
                                                                                                                                  "lambda": {
                                                                                                                                    "parameter": "a",
                                                                                                                                    "domain": {"variable": "hydra.core.model.Type"},
                                                                                                                                    "body": {
                                                                                                                                      "inject": {
                                                                                                                                        "typeName": "hydra.core.model.Type",
                                                                                                                                        "field": {
                                                                                                                                          "name": "application",
                                                                                                                                          "term": {
                                                                                                                                            "record": {
                                                                                                                                              "typeName": "hydra.core.model.ApplicationType",
                                                                                                                                              "fields": [{"name": "function", "term": {"variable": "f"}}, {"name": "argument", "term": {"variable": "a"}}]}}}}}}}}}}},
                                                                                                                        "argument": {"variable": "t0"}}},
                                                                                                                    "argument": {"variable": "rest"}}}}}}},
                                                                                                        "argument": {
                                                                                                          "application": {
                                                                                                            "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.many"}, "type": {"variable": "hydra.core.model.Type"}}},
                                                                                                            "argument": {"variable": "hydra.core.parse.core.postfixType"}}}}}}}}}}}}}}}}}}}}}}}}}}},
                                                        "argument": {
                                                          "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": ","}}}}}}}},
                                                "argument": {
                                                  "lambda": {
                                                    "parameter": "params",
                                                    "domain": {"list": {"variable": "hydra.core.typing.Parameter"}},
                                                    "body": {
                                                      "application": {
                                                        "function": {
                                                          "application": {
                                                            "function": {
                                                              "typeApplication": {
                                                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                                                "type": {"variable": "hydra.core.typing.TermSignature"}}},
                                                            "argument": {
                                                              "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": ")"}}}}}},
                                                        "argument": {
                                                          "lambda": {
                                                            "parameter": "_",
                                                            "domain": {"literal": "string"},
                                                            "body": {
                                                              "application": {
                                                                "function": {
                                                                  "application": {
                                                                    "function": {
                                                                      "typeApplication": {
                                                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                                                        "type": {"variable": "hydra.core.typing.TermSignature"}}},
                                                                    "argument": {
                                                                      "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": ":"}}}}}},
                                                                "argument": {
                                                                  "lambda": {
                                                                    "parameter": "_",
                                                                    "domain": {"literal": "string"},
                                                                    "body": {
                                                                      "application": {
                                                                        "function": {
                                                                          "application": {
                                                                            "function": {
                                                                              "typeApplication": {
                                                                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.map"}, "type": {"variable": "hydra.core.model.Type"}}},
                                                                                "type": {"variable": "hydra.core.typing.TermSignature"}}},
                                                                            "argument": {
                                                                              "lambda": {
                                                                                "parameter": "resultType",
                                                                                "domain": {"variable": "hydra.core.model.Type"},
                                                                                "body": {
                                                                                  "let": {
                                                                                    "bindings": [
                                                                                      {
                                                                                        "name": "result",
                                                                                        "term": {
                                                                                          "record": {
                                                                                            "typeName": "hydra.core.typing.Result",
                                                                                            "fields": [
                                                                                              {"name": "description", "term": {"typeApplication": {"body": {"optional": null}, "type": {"literal": "string"}}}},
                                                                                              {"name": "type", "term": {"variable": "resultType"}}]}},
                                                                                        "typeScheme": {"variables": [], "body": {"variable": "hydra.core.typing.Result"}, "constraints": []}}],
                                                                                    "body": {
                                                                                      "record": {
                                                                                        "typeName": "hydra.core.typing.TermSignature",
                                                                                        "fields": [
                                                                                          {"name": "typeParameters", "term": {"variable": "typeParams"}},
                                                                                          {"name": "parameters", "term": {"variable": "params"}},
                                                                                          {"name": "result", "term": {"variable": "result"}}]}}}}}}}},
                                                                        "argument": {"variable": "hydra.core.parse.core.topType"}}}}}}}}}}}}}}}}}}}}}}}}},
                        "argument": {"typeApplication": {"body": {"list": []}, "type": {"variable": "hydra.core.model.Name"}}}}},
                    "argument": {
                      "typeApplication": {
                        "body": {"optional": null},
                        "type": {"list": {"pair": {"first": {"variable": "hydra.core.model.Name"}, "second": {"variable": "hydra.core.model.Name"}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {
                    "literal": {
                      "string": "Parse a primitive signature: ['∀' vars '.' [constraints '⇒']] '(' [name ':' ['lazy'] type (',' ...)] ')' ':' resultType (#837)"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.parse.core.projectTerm",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {"function": {"variable": "hydra.core.parsing.Parser"}, "argument": {"variable": "hydra.core.model.Term"}}}}},
        "body": {
          "annotated": {
            "body": {
              "application": {
                "function": {
                  "application": {
                    "function": {
                      "typeApplication": {
                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"variable": "hydra.core.model.Name"}}},
                        "type": {"variable": "hydra.core.model.Term"}}},
                    "argument": {
                      "application": {
                        "function": {
                          "application": {
                            "function": {
                              "typeApplication": {
                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                "type": {"variable": "hydra.core.model.Name"}}},
                            "argument": {
                              "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": "project"}}}}}},
                        "argument": {
                          "lambda": {
                            "parameter": "_",
                            "domain": {"literal": "string"},
                            "body": {
                              "application": {
                                "function": {
                                  "application": {
                                    "function": {
                                      "typeApplication": {
                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                        "type": {"variable": "hydra.core.model.Name"}}},
                                    "argument": {
                                      "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": "("}}}}}},
                                "argument": {
                                  "lambda": {
                                    "parameter": "_",
                                    "domain": {"literal": "string"},
                                    "body": {
                                      "application": {
                                        "function": {
                                          "application": {
                                            "function": {
                                              "typeApplication": {
                                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"variable": "hydra.core.model.Name"}}},
                                                "type": {"variable": "hydra.core.model.Name"}}},
                                            "argument": {"variable": "hydra.core.parse.core.name"}}},
                                        "argument": {
                                          "lambda": {
                                            "parameter": "n",
                                            "domain": {"variable": "hydra.core.model.Name"},
                                            "body": {
                                              "application": {
                                                "function": {
                                                  "application": {
                                                    "function": {
                                                      "typeApplication": {
                                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                                        "type": {"variable": "hydra.core.model.Name"}}},
                                                    "argument": {
                                                      "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": ")"}}}}}},
                                                "argument": {
                                                  "lambda": {
                                                    "parameter": "_",
                                                    "domain": {"literal": "string"},
                                                    "body": {
                                                      "application": {
                                                        "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"variable": "hydra.core.model.Name"}}},
                                                        "argument": {"variable": "n"}}}}}}}}}}}}}}}}}}}}},
                "argument": {
                  "lambda": {
                    "parameter": "tname",
                    "domain": {"variable": "hydra.core.model.Name"},
                    "body": {
                      "application": {
                        "function": {
                          "application": {
                            "function": {
                              "typeApplication": {
                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                "type": {"variable": "hydra.core.model.Term"}}},
                            "argument": {
                              "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": "{"}}}}}},
                        "argument": {
                          "lambda": {
                            "parameter": "_",
                            "domain": {"literal": "string"},
                            "body": {
                              "application": {
                                "function": {
                                  "application": {
                                    "function": {
                                      "typeApplication": {
                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"variable": "hydra.core.model.Name"}}},
                                        "type": {"variable": "hydra.core.model.Term"}}},
                                    "argument": {"variable": "hydra.core.parse.core.name"}}},
                                "argument": {
                                  "lambda": {
                                    "parameter": "fname",
                                    "domain": {"variable": "hydra.core.model.Name"},
                                    "body": {
                                      "application": {
                                        "function": {
                                          "application": {
                                            "function": {
                                              "typeApplication": {
                                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                                "type": {"variable": "hydra.core.model.Term"}}},
                                            "argument": {
                                              "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": "}"}}}}}},
                                        "argument": {
                                          "lambda": {
                                            "parameter": "_",
                                            "domain": {"literal": "string"},
                                            "body": {
                                              "application": {
                                                "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"variable": "hydra.core.model.Term"}}},
                                                "argument": {
                                                  "inject": {
                                                    "typeName": "hydra.core.model.Term",
                                                    "field": {
                                                      "name": "project",
                                                      "term": {
                                                        "record": {
                                                          "typeName": "hydra.core.model.Projection",
                                                          "fields": [{"name": "typeName", "term": {"variable": "tname"}}, {"name": "fieldName", "term": {"variable": "fname"}}]}}}}}}}}}}}}}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "Parse a project term: 'project' '(' name ')' '{' name '}'"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.parse.core.rawName",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {"function": {"variable": "hydra.core.parsing.Parser"}, "argument": {"variable": "hydra.core.model.Name"}}}}},
        "body": {
          "annotated": {
            "body": {
              "application": {
                "function": {
                  "application": {
                    "function": {
                      "typeApplication": {
                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.map"}, "type": {"literal": "string"}}},
                        "type": {"variable": "hydra.core.model.Name"}}},
                    "argument": {
                      "lambda": {
                        "parameter": "s",
                        "domain": {"literal": "string"},
                        "body": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"variable": "s"}}}}}}},
                "argument": {
                  "application": {
                    "function": {
                      "application": {
                        "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.alt"}, "type": {"literal": "string"}}},
                        "argument": {
                          "application": {
                            "function": {
                              "application": {
                                "function": {
                                  "typeApplication": {
                                    "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"list": {"literal": "string"}}}},
                                    "type": {"literal": "string"}}},
                                "argument": {
                                  "application": {
                                    "function": {
                                      "application": {
                                        "function": {
                                          "typeApplication": {
                                            "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.sepBy1"}, "type": {"literal": "string"}}},
                                            "type": {"literal": {"integer": "int32"}}}},
                                        "argument": {
                                          "application": {
                                            "function": {
                                              "application": {
                                                "function": {
                                                  "typeApplication": {
                                                    "body": {
                                                      "typeApplication": {"body": {"variable": "hydra.core.parsers.map"}, "type": {"list": {"literal": {"integer": "int32"}}}}},
                                                    "type": {"literal": "string"}}},
                                                "argument": {
                                                  "lambda": {
                                                    "parameter": "cs",
                                                    "domain": {"list": {"literal": {"integer": "int32"}}},
                                                    "body": {"application": {"function": {"variable": "hydra.core.lib.strings.fromList"}, "argument": {"variable": "cs"}}}}}}},
                                            "argument": {
                                              "application": {
                                                "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.some"}, "type": {"literal": {"integer": "int32"}}}},
                                                "argument": {
                                                  "application": {
                                                    "function": {"variable": "hydra.core.parsers.satisfy"},
                                                    "argument": {"variable": "hydra.core.parse.core.bareNameSegmentChar"}}}}}}}}},
                                    "argument": {
                                      "application": {"function": {"variable": "hydra.core.parsers.char"}, "argument": {"literal": {"integer": {"int32": 46}}}}}}}}},
                            "argument": {
                              "lambda": {
                                "parameter": "segs",
                                "domain": {"list": {"literal": "string"}},
                                "body": {
                                  "let": {
                                    "bindings": [
                                      {
                                        "name": "s",
                                        "term": {
                                          "application": {
                                            "function": {"application": {"function": {"variable": "hydra.core.lib.strings.join"}, "argument": {"literal": {"string": "."}}}},
                                            "argument": {"variable": "segs"}}},
                                        "typeScheme": {"variables": [], "body": {"literal": "string"}, "constraints": []}}],
                                    "body": {
                                      "application": {
                                        "function": {
                                          "application": {
                                            "function": {
                                              "application": {
                                                "function": {
                                                  "typeApplication": {
                                                    "body": {"variable": "hydra.core.lib.logic.ifElse"},
                                                    "type": {"application": {"function": {"variable": "hydra.core.parsing.Parser"}, "argument": {"literal": "string"}}}}},
                                                "argument": {"application": {"function": {"variable": "hydra.core.print.model.isReservedWord"}, "argument": {"variable": "s"}}}}},
                                            "argument": {
                                              "application": {
                                                "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.fail"}, "type": {"literal": "string"}}},
                                                "argument": {
                                                  "application": {
                                                    "function": {
                                                      "application": {
                                                        "function": {"variable": "hydra.core.lib.strings.concat2"},
                                                        "argument": {"literal": {"string": "reserved word used bare: "}}}},
                                                    "argument": {"variable": "s"}}}}}}},
                                        "argument": {
                                          "application": {
                                            "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"literal": "string"}}},
                                            "argument": {"variable": "s"}}}}}}}}}}}}},
                    "argument": {
                      "application": {
                        "function": {
                          "application": {
                            "function": {
                              "typeApplication": {
                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": {"integer": "int32"}}}},
                                "type": {"literal": "string"}}},
                            "argument": {
                              "application": {"function": {"variable": "hydra.core.parsers.char"}, "argument": {"literal": {"integer": {"int32": 96}}}}}}},
                        "argument": {
                          "lambda": {
                            "parameter": "_",
                            "domain": {"literal": {"integer": "int32"}},
                            "body": {
                              "application": {
                                "function": {
                                  "application": {
                                    "function": {
                                      "typeApplication": {
                                        "body": {
                                          "typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"list": {"literal": {"integer": "int32"}}}}},
                                        "type": {"literal": "string"}}},
                                    "argument": {
                                      "application": {
                                        "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.many"}, "type": {"literal": {"integer": "int32"}}}},
                                        "argument": {
                                          "application": {
                                            "function": {
                                              "application": {
                                                "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.alt"}, "type": {"literal": {"integer": "int32"}}}},
                                                "argument": {
                                                  "application": {
                                                    "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.try"}, "type": {"literal": {"integer": "int32"}}}},
                                                    "argument": {"variable": "hydra.core.parse.core.escapedChar"}}}}},
                                            "argument": {
                                              "application": {
                                                "function": {"variable": "hydra.core.parsers.satisfy"},
                                                "argument": {
                                                  "lambda": {
                                                    "parameter": "c",
                                                    "domain": {"literal": {"integer": "int32"}},
                                                    "body": {
                                                      "application": {
                                                        "function": {
                                                          "application": {
                                                            "function": {"variable": "hydra.core.lib.logic.and"},
                                                            "argument": {
                                                              "application": {
                                                                "function": {"variable": "hydra.core.lib.logic.not"},
                                                                "argument": {
                                                                  "application": {
                                                                    "function": {
                                                                      "application": {
                                                                        "function": {"typeApplication": {"body": {"variable": "hydra.core.lib.equality.equal"}, "type": {"literal": {"integer": "int32"}}}},
                                                                        "argument": {"variable": "c"}}},
                                                                    "argument": {"literal": {"integer": {"int32": 96}}}}}}}}},
                                                        "argument": {
                                                          "application": {
                                                            "function": {"variable": "hydra.core.lib.logic.not"},
                                                            "argument": {
                                                              "application": {
                                                                "function": {
                                                                  "application": {
                                                                    "function": {"typeApplication": {"body": {"variable": "hydra.core.lib.equality.equal"}, "type": {"literal": {"integer": "int32"}}}},
                                                                    "argument": {"variable": "c"}}},
                                                                "argument": {"literal": {"integer": {"int32": 92}}}}}}}}}}}}}}}}}}},
                                "argument": {
                                  "lambda": {
                                    "parameter": "cs",
                                    "domain": {"list": {"literal": {"integer": "int32"}}},
                                    "body": {
                                      "application": {
                                        "function": {
                                          "application": {
                                            "function": {
                                              "typeApplication": {
                                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": {"integer": "int32"}}}},
                                                "type": {"literal": "string"}}},
                                            "argument": {
                                              "application": {"function": {"variable": "hydra.core.parsers.char"}, "argument": {"literal": {"integer": {"int32": 96}}}}}}},
                                        "argument": {
                                          "lambda": {
                                            "parameter": "_",
                                            "domain": {"literal": {"integer": "int32"}},
                                            "body": {
                                              "application": {
                                                "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"literal": "string"}}},
                                                "argument": {"application": {"function": {"variable": "hydra.core.lib.strings.fromList"}, "argument": {"variable": "cs"}}}}}}}}}}}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {
                    "literal": {"string": "Parse a name without consuming trailing whitespace, for nominal-sugar delimiter adjacency (#809)"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.parse.core.recordTerm",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {"function": {"variable": "hydra.core.parsing.Parser"}, "argument": {"variable": "hydra.core.model.Term"}}}}},
        "body": {
          "annotated": {
            "body": {
              "application": {
                "function": {
                  "application": {
                    "function": {
                      "typeApplication": {
                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"variable": "hydra.core.model.Name"}}},
                        "type": {"variable": "hydra.core.model.Term"}}},
                    "argument": {
                      "application": {
                        "function": {
                          "application": {
                            "function": {
                              "typeApplication": {
                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                "type": {"variable": "hydra.core.model.Name"}}},
                            "argument": {
                              "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": "record"}}}}}},
                        "argument": {
                          "lambda": {
                            "parameter": "_",
                            "domain": {"literal": "string"},
                            "body": {
                              "application": {
                                "function": {
                                  "application": {
                                    "function": {
                                      "typeApplication": {
                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                        "type": {"variable": "hydra.core.model.Name"}}},
                                    "argument": {
                                      "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": "("}}}}}},
                                "argument": {
                                  "lambda": {
                                    "parameter": "_",
                                    "domain": {"literal": "string"},
                                    "body": {
                                      "application": {
                                        "function": {
                                          "application": {
                                            "function": {
                                              "typeApplication": {
                                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"variable": "hydra.core.model.Name"}}},
                                                "type": {"variable": "hydra.core.model.Name"}}},
                                            "argument": {"variable": "hydra.core.parse.core.name"}}},
                                        "argument": {
                                          "lambda": {
                                            "parameter": "n",
                                            "domain": {"variable": "hydra.core.model.Name"},
                                            "body": {
                                              "application": {
                                                "function": {
                                                  "application": {
                                                    "function": {
                                                      "typeApplication": {
                                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                                        "type": {"variable": "hydra.core.model.Name"}}},
                                                    "argument": {
                                                      "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": ")"}}}}}},
                                                "argument": {
                                                  "lambda": {
                                                    "parameter": "_",
                                                    "domain": {"literal": "string"},
                                                    "body": {
                                                      "application": {
                                                        "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"variable": "hydra.core.model.Name"}}},
                                                        "argument": {"variable": "n"}}}}}}}}}}}}}}}}}}}}},
                "argument": {
                  "lambda": {
                    "parameter": "tname",
                    "domain": {"variable": "hydra.core.model.Name"},
                    "body": {
                      "application": {
                        "function": {
                          "application": {
                            "function": {
                              "typeApplication": {
                                "body": {
                                  "typeApplication": {"body": {"variable": "hydra.core.parsers.map"}, "type": {"list": {"variable": "hydra.core.model.Field"}}}},
                                "type": {"variable": "hydra.core.model.Term"}}},
                            "argument": {
                              "lambda": {
                                "parameter": "flds",
                                "domain": {"list": {"variable": "hydra.core.model.Field"}},
                                "body": {
                                  "inject": {
                                    "typeName": "hydra.core.model.Term",
                                    "field": {
                                      "name": "record",
                                      "term": {
                                        "record": {
                                          "typeName": "hydra.core.model.Record",
                                          "fields": [{"name": "typeName", "term": {"variable": "tname"}}, {"name": "fields", "term": {"variable": "flds"}}]}}}}}}}}},
                        "argument": {"variable": "hydra.core.parse.core.termFields"}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "Parse a record term: 'record' '(' name ')' '{' [termField (',' termField)*] '}'"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.parse.core.signedDigits",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {"type": {"application": {"function": {"variable": "hydra.core.parsing.Parser"}, "argument": {"literal": "string"}}}}},
        "body": {
          "annotated": {
            "body": {
              "application": {
                "function": {
                  "application": {
                    "function": {
                      "typeApplication": {
                        "body": {
                          "typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"optional": {"literal": {"integer": "int32"}}}}},
                        "type": {"literal": "string"}}},
                    "argument": {
                      "application": {
                        "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.optional"}, "type": {"literal": {"integer": "int32"}}}},
                        "argument": {
                          "application": {"function": {"variable": "hydra.core.parsers.char"}, "argument": {"literal": {"integer": {"int32": 45}}}}}}}}},
                "argument": {
                  "lambda": {
                    "parameter": "msign",
                    "domain": {"optional": {"literal": {"integer": "int32"}}},
                    "body": {
                      "application": {
                        "function": {
                          "application": {
                            "function": {
                              "typeApplication": {
                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.map"}, "type": {"literal": "string"}}},
                                "type": {"literal": "string"}}},
                            "argument": {
                              "lambda": {
                                "parameter": "ds",
                                "domain": {"literal": "string"},
                                "body": {
                                  "application": {
                                    "function": {
                                      "application": {
                                        "function": {
                                          "application": {
                                            "function": {
                                              "typeApplication": {
                                                "body": {"typeApplication": {"body": {"variable": "hydra.core.lib.optionals.match"}, "type": {"literal": {"integer": "int32"}}}},
                                                "type": {"literal": "string"}}},
                                            "argument": {"variable": "msign"}}},
                                        "argument": {"variable": "ds"}}},
                                    "argument": {
                                      "lambda": {
                                        "parameter": "_",
                                        "domain": {"literal": {"integer": "int32"}},
                                        "body": {
                                          "application": {
                                            "function": {"application": {"function": {"variable": "hydra.core.lib.strings.concat2"}, "argument": {"literal": {"string": "-"}}}},
                                            "argument": {"variable": "ds"}}}}}}}}}}},
                        "argument": {"variable": "hydra.core.parse.core.unsignedDigits"}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "Parse an optional leading '-' followed by one or more decimal digits"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.parse.core.stringLit",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {"type": {"application": {"function": {"variable": "hydra.core.parsing.Parser"}, "argument": {"literal": "string"}}}}},
        "body": {
          "annotated": {
            "body": {
              "application": {
                "function": {"typeApplication": {"body": {"variable": "hydra.core.parse.core.lexeme"}, "type": {"literal": "string"}}},
                "argument": {
                  "application": {
                    "function": {
                      "application": {
                        "function": {
                          "typeApplication": {
                            "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": {"integer": "int32"}}}},
                            "type": {"literal": "string"}}},
                        "argument": {
                          "application": {"function": {"variable": "hydra.core.parsers.char"}, "argument": {"literal": {"integer": {"int32": 34}}}}}}},
                    "argument": {
                      "lambda": {
                        "parameter": "_",
                        "domain": {"literal": {"integer": "int32"}},
                        "body": {
                          "application": {
                            "function": {
                              "application": {
                                "function": {
                                  "typeApplication": {
                                    "body": {
                                      "typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"list": {"literal": {"integer": "int32"}}}}},
                                    "type": {"literal": "string"}}},
                                "argument": {
                                  "application": {
                                    "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.many"}, "type": {"literal": {"integer": "int32"}}}},
                                    "argument": {
                                      "application": {
                                        "function": {
                                          "application": {
                                            "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.alt"}, "type": {"literal": {"integer": "int32"}}}},
                                            "argument": {
                                              "application": {
                                                "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.try"}, "type": {"literal": {"integer": "int32"}}}},
                                                "argument": {"variable": "hydra.core.parse.core.escapedChar"}}}}},
                                        "argument": {
                                          "application": {
                                            "function": {"variable": "hydra.core.parsers.satisfy"},
                                            "argument": {
                                              "lambda": {
                                                "parameter": "c",
                                                "domain": {"literal": {"integer": "int32"}},
                                                "body": {
                                                  "application": {
                                                    "function": {
                                                      "application": {
                                                        "function": {"variable": "hydra.core.lib.logic.and"},
                                                        "argument": {
                                                          "application": {
                                                            "function": {"variable": "hydra.core.lib.logic.not"},
                                                            "argument": {
                                                              "application": {
                                                                "function": {
                                                                  "application": {
                                                                    "function": {"typeApplication": {"body": {"variable": "hydra.core.lib.equality.equal"}, "type": {"literal": {"integer": "int32"}}}},
                                                                    "argument": {"variable": "c"}}},
                                                                "argument": {"literal": {"integer": {"int32": 34}}}}}}}}},
                                                    "argument": {
                                                      "application": {
                                                        "function": {"variable": "hydra.core.lib.logic.not"},
                                                        "argument": {
                                                          "application": {
                                                            "function": {
                                                              "application": {
                                                                "function": {"typeApplication": {"body": {"variable": "hydra.core.lib.equality.equal"}, "type": {"literal": {"integer": "int32"}}}},
                                                                "argument": {"variable": "c"}}},
                                                            "argument": {"literal": {"integer": {"int32": 92}}}}}}}}}}}}}}}}}}},
                            "argument": {
                              "lambda": {
                                "parameter": "cs",
                                "domain": {"list": {"literal": {"integer": "int32"}}},
                                "body": {
                                  "application": {
                                    "function": {
                                      "application": {
                                        "function": {
                                          "typeApplication": {
                                            "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": {"integer": "int32"}}}},
                                            "type": {"literal": "string"}}},
                                        "argument": {
                                          "application": {"function": {"variable": "hydra.core.parsers.char"}, "argument": {"literal": {"integer": {"int32": 34}}}}}}},
                                    "argument": {
                                      "lambda": {
                                        "parameter": "_",
                                        "domain": {"literal": {"integer": "int32"}},
                                        "body": {
                                          "application": {
                                            "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"literal": "string"}}},
                                            "argument": {"application": {"function": {"variable": "hydra.core.lib.strings.fromList"}, "argument": {"variable": "cs"}}}}}}}}}}}}}}}}}}},
            "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "Parse a JSON-syntax string literal"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.parse.core.stripSpansInType",
        "signature": {
          "typeParameters": [],
          "parameters": [{"name": "arg0", "type": {"variable": "hydra.core.model.Type"}, "isLazy": false}],
          "result": {"type": {"variable": "hydra.core.model.Type"}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "typ",
                "domain": {"variable": "hydra.core.model.Type"},
                "body": {
                  "let": {
                    "bindings": [
                      {
                        "name": "remove",
                        "term": {
                          "typeLambda": {
                            "parameter": "t0",
                            "body": {
                              "lambda": {
                                "parameter": "recurse",
                                "domain": {"function": {"domain": {"variable": "t0"}, "codomain": {"variable": "hydra.core.model.Type"}}},
                                "body": {
                                  "lambda": {
                                    "parameter": "typ",
                                    "domain": {"variable": "t0"},
                                    "body": {
                                      "let": {
                                        "bindings": [
                                          {
                                            "name": "rewritten",
                                            "term": {"application": {"function": {"variable": "recurse"}, "argument": {"variable": "typ"}}},
                                            "typeScheme": {"variables": [], "body": {"variable": "hydra.core.model.Type"}, "constraints": []}}],
                                        "body": {
                                          "application": {
                                            "function": {
                                              "cases": {
                                                "typeName": "hydra.core.model.Type",
                                                "default": {"variable": "rewritten"},
                                                "cases": [
                                                  {
                                                    "name": "annotated",
                                                    "handler": {
                                                      "lambda": {
                                                        "parameter": "at",
                                                        "domain": {"variable": "hydra.core.model.AnnotatedType"},
                                                        "body": {
                                                          "inject": {
                                                            "typeName": "hydra.core.model.Type",
                                                            "field": {
                                                              "name": "annotated",
                                                              "term": {
                                                                "record": {
                                                                  "typeName": "hydra.core.model.AnnotatedType",
                                                                  "fields": [
                                                                    {
                                                                      "name": "body",
                                                                      "term": {
                                                                        "application": {
                                                                          "function": {"project": {"typeName": "hydra.core.model.AnnotatedType", "fieldName": "body"}},
                                                                          "argument": {"variable": "at"}}}},
                                                                    {
                                                                      "name": "annotation",
                                                                      "term": {
                                                                        "application": {
                                                                          "function": {"variable": "hydra.core.positions.stripSpans"},
                                                                          "argument": {
                                                                            "application": {
                                                                              "function": {"project": {"typeName": "hydra.core.model.AnnotatedType", "fieldName": "annotation"}},
                                                                              "argument": {"variable": "at"}}}}}}]}}}}}}}}]}},
                                            "argument": {"variable": "rewritten"}}}}}}}}}}},
                        "typeScheme": {
                          "variables": ["t0"],
                          "body": {
                            "function": {
                              "domain": {"function": {"domain": {"variable": "t0"}, "codomain": {"variable": "hydra.core.model.Type"}}},
                              "codomain": {"function": {"domain": {"variable": "t0"}, "codomain": {"variable": "hydra.core.model.Type"}}}}},
                          "constraints": []}}],
                    "body": {
                      "application": {
                        "function": {
                          "application": {
                            "function": {"variable": "hydra.core.rewriting.rewriteType"},
                            "argument": {"typeApplication": {"body": {"variable": "remove"}, "type": {"variable": "hydra.core.model.Type"}}}}},
                        "argument": {"variable": "typ"}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "Remove every span annotation from a type's own annotation payloads"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.parse.core.sugarField",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {"function": {"variable": "hydra.core.parsing.Parser"}, "argument": {"variable": "hydra.core.model.Field"}}}}},
        "body": {
          "annotated": {
            "body": {
              "application": {
                "function": {
                  "application": {
                    "function": {
                      "typeApplication": {
                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"variable": "hydra.core.model.Name"}}},
                        "type": {"variable": "hydra.core.model.Field"}}},
                    "argument": {"variable": "hydra.core.parse.core.name"}}},
                "argument": {
                  "lambda": {
                    "parameter": "fname",
                    "domain": {"variable": "hydra.core.model.Name"},
                    "body": {
                      "application": {
                        "function": {
                          "application": {
                            "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.alt"}, "type": {"variable": "hydra.core.model.Field"}}},
                            "argument": {
                              "application": {
                                "function": {
                                  "application": {
                                    "function": {
                                      "typeApplication": {
                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                        "type": {"variable": "hydra.core.model.Field"}}},
                                    "argument": {
                                      "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": "="}}}}}},
                                "argument": {
                                  "lambda": {
                                    "parameter": "_",
                                    "domain": {"literal": "string"},
                                    "body": {
                                      "application": {
                                        "function": {
                                          "application": {
                                            "function": {
                                              "typeApplication": {
                                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.map"}, "type": {"variable": "hydra.core.model.Term"}}},
                                                "type": {"variable": "hydra.core.model.Field"}}},
                                            "argument": {
                                              "lambda": {
                                                "parameter": "t",
                                                "domain": {"variable": "hydra.core.model.Term"},
                                                "body": {
                                                  "record": {
                                                    "typeName": "hydra.core.model.Field",
                                                    "fields": [{"name": "name", "term": {"variable": "fname"}}, {"name": "term", "term": {"variable": "t"}}]}}}}}},
                                        "argument": {
                                          "application": {
                                            "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.lazy"}, "type": {"variable": "hydra.core.model.Term"}}},
                                            "argument": {"lambda": {"parameter": "_", "domain": "unit", "body": {"variable": "hydra.core.parse.core.term"}}}}}}}}}}}}},
                        "argument": {
                          "application": {
                            "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"variable": "hydra.core.model.Field"}}},
                            "argument": {
                              "record": {
                                "typeName": "hydra.core.model.Field",
                                "fields": [
                                  {"name": "name", "term": {"variable": "fname"}},
                                  {"name": "term", "term": {"inject": {"typeName": "hydra.core.model.Term", "field": {"name": "unit", "term": "unit"}}}}]}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "Parse a sugar field: 'name = term', or a bare 'name' abbreviating 'name = unit' (#809)"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.parse.core.term",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {"function": {"variable": "hydra.core.parsing.Parser"}, "argument": {"variable": "hydra.core.model.Term"}}}}},
        "body": {
          "annotated": {
            "body": {
              "application": {
                "function": {
                  "application": {
                    "function": {
                      "typeApplication": {
                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"variable": "hydra.core.model.Term"}}},
                        "type": {"variable": "hydra.core.model.Term"}}},
                    "argument": {"variable": "hydra.core.parse.core.postfixTerm"}}},
                "argument": {
                  "lambda": {
                    "parameter": "t0",
                    "domain": {"variable": "hydra.core.model.Term"},
                    "body": {
                      "application": {
                        "function": {
                          "application": {
                            "function": {
                              "typeApplication": {
                                "body": {
                                  "typeApplication": {"body": {"variable": "hydra.core.parsers.map"}, "type": {"list": {"variable": "hydra.core.model.Term"}}}},
                                "type": {"variable": "hydra.core.model.Term"}}},
                            "argument": {
                              "lambda": {
                                "parameter": "rest",
                                "domain": {"list": {"variable": "hydra.core.model.Term"}},
                                "body": {
                                  "application": {
                                    "function": {
                                      "application": {
                                        "function": {
                                          "application": {
                                            "function": {
                                              "typeApplication": {
                                                "body": {"typeApplication": {"body": {"variable": "hydra.core.lib.lists.foldl"}, "type": {"variable": "hydra.core.model.Term"}}},
                                                "type": {"variable": "hydra.core.model.Term"}}},
                                            "argument": {
                                              "lambda": {
                                                "parameter": "f",
                                                "domain": {"variable": "hydra.core.model.Term"},
                                                "body": {
                                                  "lambda": {
                                                    "parameter": "a",
                                                    "domain": {"variable": "hydra.core.model.Term"},
                                                    "body": {
                                                      "application": {
                                                        "function": {
                                                          "application": {
                                                            "function": {
                                                              "application": {"function": {"variable": "hydra.core.positions.annotateApplicationSpan"}, "argument": {"variable": "f"}}},
                                                            "argument": {"variable": "a"}}},
                                                        "argument": {
                                                          "inject": {
                                                            "typeName": "hydra.core.model.Term",
                                                            "field": {
                                                              "name": "application",
                                                              "term": {
                                                                "record": {
                                                                  "typeName": "hydra.core.model.Application",
                                                                  "fields": [{"name": "function", "term": {"variable": "f"}}, {"name": "argument", "term": {"variable": "a"}}]}}}}}}}}}}}}},
                                        "argument": {"variable": "t0"}}},
                                    "argument": {"variable": "rest"}}}}}}},
                        "argument": {
                          "application": {
                            "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.many"}, "type": {"variable": "hydra.core.model.Term"}}},
                            "argument": {"variable": "hydra.core.parse.core.postfixTerm"}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "Parse a full term: application of postfix-level terms"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.parse.core.termField",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {"function": {"variable": "hydra.core.parsing.Parser"}, "argument": {"variable": "hydra.core.model.Field"}}}}},
        "body": {
          "annotated": {
            "body": {
              "application": {
                "function": {
                  "application": {
                    "function": {
                      "typeApplication": {
                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"variable": "hydra.core.model.Name"}}},
                        "type": {"variable": "hydra.core.model.Field"}}},
                    "argument": {"variable": "hydra.core.parse.core.name"}}},
                "argument": {
                  "lambda": {
                    "parameter": "fname",
                    "domain": {"variable": "hydra.core.model.Name"},
                    "body": {
                      "application": {
                        "function": {
                          "application": {
                            "function": {
                              "typeApplication": {
                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                "type": {"variable": "hydra.core.model.Field"}}},
                            "argument": {
                              "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": "="}}}}}},
                        "argument": {
                          "lambda": {
                            "parameter": "_",
                            "domain": {"literal": "string"},
                            "body": {
                              "application": {
                                "function": {
                                  "application": {
                                    "function": {
                                      "typeApplication": {
                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.map"}, "type": {"variable": "hydra.core.model.Term"}}},
                                        "type": {"variable": "hydra.core.model.Field"}}},
                                    "argument": {
                                      "lambda": {
                                        "parameter": "t",
                                        "domain": {"variable": "hydra.core.model.Term"},
                                        "body": {
                                          "record": {
                                            "typeName": "hydra.core.model.Field",
                                            "fields": [{"name": "name", "term": {"variable": "fname"}}, {"name": "term", "term": {"variable": "t"}}]}}}}}},
                                "argument": {
                                  "application": {
                                    "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.lazy"}, "type": {"variable": "hydra.core.model.Term"}}},
                                    "argument": {"lambda": {"parameter": "_", "domain": "unit", "body": {"variable": "hydra.core.parse.core.term"}}}}}}}}}}}}}}},
            "annotation": {
              "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "Parse a single term field: name '=' term"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.parse.core.termFields",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {"function": {"variable": "hydra.core.parsing.Parser"}, "argument": {"list": {"variable": "hydra.core.model.Field"}}}}}},
        "body": {
          "annotated": {
            "body": {
              "application": {
                "function": {
                  "application": {
                    "function": {
                      "typeApplication": {
                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                        "type": {"list": {"variable": "hydra.core.model.Field"}}}},
                    "argument": {
                      "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": "{"}}}}}},
                "argument": {
                  "lambda": {
                    "parameter": "_",
                    "domain": {"literal": "string"},
                    "body": {
                      "application": {
                        "function": {
                          "application": {
                            "function": {
                              "typeApplication": {
                                "body": {
                                  "typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"list": {"variable": "hydra.core.model.Field"}}}},
                                "type": {"list": {"variable": "hydra.core.model.Field"}}}},
                            "argument": {
                              "application": {
                                "function": {
                                  "application": {
                                    "function": {
                                      "typeApplication": {
                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.sepBy"}, "type": {"variable": "hydra.core.model.Field"}}},
                                        "type": {"literal": "string"}}},
                                    "argument": {"variable": "hydra.core.parse.core.termField"}}},
                                "argument": {
                                  "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": ","}}}}}}}},
                        "argument": {
                          "lambda": {
                            "parameter": "flds",
                            "domain": {"list": {"variable": "hydra.core.model.Field"}},
                            "body": {
                              "application": {
                                "function": {
                                  "application": {
                                    "function": {
                                      "typeApplication": {
                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                        "type": {"list": {"variable": "hydra.core.model.Field"}}}},
                                    "argument": {
                                      "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": "}"}}}}}},
                                "argument": {
                                  "lambda": {
                                    "parameter": "_",
                                    "domain": {"literal": "string"},
                                    "body": {
                                      "application": {
                                        "function": {
                                          "typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"list": {"variable": "hydra.core.model.Field"}}}},
                                        "argument": {"variable": "flds"}}}}}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "Parse a brace-delimited, comma-separated list of term fields (possibly empty)"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.parse.core.termKeyword",
        "signature": {
          "typeParameters": [],
          "parameters": [{"name": "arg0", "type": {"literal": "string"}, "isLazy": false}],
          "result": {"type": {"application": {"function": {"variable": "hydra.core.parsing.Parser"}, "argument": {"literal": "string"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "kw",
                "domain": {"literal": "string"},
                "body": {
                  "application": {
                    "function": {"typeApplication": {"body": {"variable": "hydra.core.parse.core.lexeme"}, "type": {"literal": "string"}}},
                    "argument": {
                      "application": {
                        "function": {
                          "application": {
                            "function": {
                              "typeApplication": {
                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                "type": {"literal": "string"}}},
                            "argument": {"application": {"function": {"variable": "hydra.core.parsers.string"}, "argument": {"variable": "kw"}}}}},
                        "argument": {
                          "lambda": {
                            "parameter": "s",
                            "domain": {"literal": "string"},
                            "body": {
                              "let": {
                                "bindings": [
                                  {
                                    "name": "kwIsWordShaped",
                                    "term": {
                                      "application": {
                                        "function": {
                                          "application": {
                                            "function": {
                                              "application": {
                                                "function": {
                                                  "typeApplication": {
                                                    "body": {"typeApplication": {"body": {"variable": "hydra.core.lib.optionals.match"}, "type": {"literal": {"integer": "int32"}}}},
                                                    "type": {"literal": "boolean"}}},
                                                "argument": {
                                                  "application": {
                                                    "function": {"typeApplication": {"body": {"variable": "hydra.core.lib.lists.last"}, "type": {"literal": {"integer": "int32"}}}},
                                                    "argument": {"application": {"function": {"variable": "hydra.core.lib.strings.toList"}, "argument": {"variable": "kw"}}}}}}},
                                            "argument": {"literal": {"boolean": false}}}},
                                        "argument": {"variable": "hydra.core.parse.core.bareNameSegmentChar"}}},
                                    "typeScheme": {"variables": [], "body": {"literal": "boolean"}, "constraints": []}}],
                                "body": {
                                  "application": {
                                    "function": {
                                      "application": {
                                        "function": {
                                          "application": {
                                            "function": {
                                              "typeApplication": {
                                                "body": {"variable": "hydra.core.lib.logic.ifElse"},
                                                "type": {"application": {"function": {"variable": "hydra.core.parsing.Parser"}, "argument": {"literal": "string"}}}}},
                                            "argument": {"application": {"function": {"variable": "hydra.core.lib.logic.not"}, "argument": {"variable": "kwIsWordShaped"}}}}},
                                        "argument": {
                                          "application": {
                                            "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"literal": "string"}}},
                                            "argument": {"variable": "s"}}}}},
                                    "argument": {
                                      "application": {
                                        "function": {
                                          "application": {
                                            "function": {
                                              "typeApplication": {
                                                "body": {
                                                  "typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"optional": {"literal": {"integer": "int32"}}}}},
                                                "type": {"literal": "string"}}},
                                            "argument": {
                                              "application": {
                                                "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.optional"}, "type": {"literal": {"integer": "int32"}}}},
                                                "argument": {
                                                  "application": {
                                                    "function": {"variable": "hydra.core.parsers.satisfy"},
                                                    "argument": {"variable": "hydra.core.parse.core.bareNameSegmentChar"}}}}}}},
                                        "argument": {
                                          "lambda": {
                                            "parameter": "mc",
                                            "domain": {"optional": {"literal": {"integer": "int32"}}},
                                            "body": {
                                              "application": {
                                                "function": {
                                                  "application": {
                                                    "function": {
                                                      "application": {
                                                        "function": {
                                                          "typeApplication": {
                                                            "body": {"typeApplication": {"body": {"variable": "hydra.core.lib.optionals.match"}, "type": {"literal": {"integer": "int32"}}}},
                                                            "type": {"application": {"function": {"variable": "hydra.core.parsing.Parser"}, "argument": {"literal": "string"}}}}},
                                                        "argument": {"variable": "mc"}}},
                                                    "argument": {
                                                      "application": {
                                                        "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"literal": "string"}}},
                                                        "argument": {"variable": "s"}}}}},
                                                "argument": {
                                                  "lambda": {
                                                    "parameter": "_",
                                                    "domain": {"literal": {"integer": "int32"}},
                                                    "body": {
                                                      "application": {
                                                        "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.fail"}, "type": {"literal": "string"}}},
                                                        "argument": {
                                                          "application": {
                                                            "function": {
                                                              "application": {
                                                                "function": {"variable": "hydra.core.lib.strings.concat2"},
                                                                "argument": {"literal": {"string": "keyword not at a word boundary: "}}}},
                                                            "argument": {"variable": "kw"}}}}}}}}}}}}}}}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {
                    "literal": {
                      "string": "Parse a specific keyword, followed by optional trailing whitespace/comments, requiring a word boundary for word-shaped keywords (#5/#837)"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.parse.core.termSignature",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {"function": {"variable": "hydra.core.parsing.Parser"}, "argument": {"variable": "hydra.core.typing.TermSignature"}}}}},
        "body": {
          "annotated": {
            "body": {
              "application": {
                "function": {
                  "application": {
                    "function": {
                      "typeApplication": {"body": {"variable": "hydra.core.parsers.alt"}, "type": {"variable": "hydra.core.typing.TermSignature"}}},
                    "argument": {
                      "application": {
                        "function": {
                          "application": {
                            "function": {
                              "typeApplication": {
                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": {"integer": "int32"}}}},
                                "type": {"variable": "hydra.core.typing.TermSignature"}}},
                            "argument": {
                              "application": {
                                "function": {"typeApplication": {"body": {"variable": "hydra.core.parse.core.lexeme"}, "type": {"literal": {"integer": "int32"}}}},
                                "argument": {
                                  "application": {"function": {"variable": "hydra.core.parsers.char"}, "argument": {"literal": {"integer": {"int32": 8704}}}}}}}}},
                        "argument": {
                          "lambda": {
                            "parameter": "_",
                            "domain": {"literal": {"integer": "int32"}},
                            "body": {
                              "application": {
                                "function": {
                                  "application": {
                                    "function": {
                                      "typeApplication": {
                                        "body": {
                                          "typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"list": {"variable": "hydra.core.model.Name"}}}},
                                        "type": {"variable": "hydra.core.typing.TermSignature"}}},
                                    "argument": {
                                      "application": {
                                        "function": {
                                          "application": {
                                            "function": {
                                              "typeApplication": {
                                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.sepBy"}, "type": {"variable": "hydra.core.model.Name"}}},
                                                "type": {"literal": {"integer": "int32"}}}},
                                            "argument": {"variable": "hydra.core.parse.core.binderName"}}},
                                        "argument": {
                                          "application": {
                                            "function": {"typeApplication": {"body": {"variable": "hydra.core.parse.core.lexeme"}, "type": {"literal": {"integer": "int32"}}}},
                                            "argument": {
                                              "application": {"function": {"variable": "hydra.core.parsers.char"}, "argument": {"literal": {"integer": {"int32": 44}}}}}}}}}}},
                                "argument": {
                                  "lambda": {
                                    "parameter": "vars",
                                    "domain": {"list": {"variable": "hydra.core.model.Name"}},
                                    "body": {
                                      "application": {
                                        "function": {
                                          "application": {
                                            "function": {
                                              "typeApplication": {
                                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": {"integer": "int32"}}}},
                                                "type": {"variable": "hydra.core.typing.TermSignature"}}},
                                            "argument": {
                                              "application": {
                                                "function": {"typeApplication": {"body": {"variable": "hydra.core.parse.core.lexeme"}, "type": {"literal": {"integer": "int32"}}}},
                                                "argument": {
                                                  "application": {"function": {"variable": "hydra.core.parsers.char"}, "argument": {"literal": {"integer": {"int32": 46}}}}}}}}},
                                        "argument": {
                                          "lambda": {
                                            "parameter": "_",
                                            "domain": {"literal": {"integer": "int32"}},
                                            "body": {
                                              "application": {
                                                "function": {
                                                  "application": {
                                                    "function": {
                                                      "typeApplication": {
                                                        "body": {
                                                          "typeApplication": {
                                                            "body": {"variable": "hydra.core.parsers.bind"},
                                                            "type": {
                                                              "optional": {"list": {"pair": {"first": {"variable": "hydra.core.model.Name"}, "second": {"variable": "hydra.core.model.Name"}}}}}}},
                                                        "type": {"variable": "hydra.core.typing.TermSignature"}}},
                                                    "argument": {
                                                      "application": {
                                                        "function": {
                                                          "typeApplication": {
                                                            "body": {"variable": "hydra.core.parsers.optional"},
                                                            "type": {"list": {"pair": {"first": {"variable": "hydra.core.model.Name"}, "second": {"variable": "hydra.core.model.Name"}}}}}},
                                                        "argument": {
                                                          "application": {
                                                            "function": {
                                                              "typeApplication": {
                                                                "body": {"variable": "hydra.core.parsers.try"},
                                                                "type": {"list": {"pair": {"first": {"variable": "hydra.core.model.Name"}, "second": {"variable": "hydra.core.model.Name"}}}}}},
                                                            "argument": {
                                                              "application": {
                                                                "function": {
                                                                  "application": {
                                                                    "function": {
                                                                      "typeApplication": {
                                                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                                                        "type": {"list": {"pair": {"first": {"variable": "hydra.core.model.Name"}, "second": {"variable": "hydra.core.model.Name"}}}}}},
                                                                    "argument": {
                                                                      "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": "("}}}}}},
                                                                "argument": {
                                                                  "lambda": {
                                                                    "parameter": "_",
                                                                    "domain": {"literal": "string"},
                                                                    "body": {
                                                                      "application": {
                                                                        "function": {
                                                                          "application": {
                                                                            "function": {
                                                                              "typeApplication": {
                                                                                "body": {
                                                                                  "typeApplication": {
                                                                                    "body": {"variable": "hydra.core.parsers.bind"},
                                                                                    "type": {"list": {"pair": {"first": {"variable": "hydra.core.model.Name"}, "second": {"variable": "hydra.core.model.Name"}}}}}},
                                                                                "type": {"list": {"pair": {"first": {"variable": "hydra.core.model.Name"}, "second": {"variable": "hydra.core.model.Name"}}}}}},
                                                                            "argument": {
                                                                              "application": {
                                                                                "function": {
                                                                                  "application": {
                                                                                    "function": {
                                                                                      "typeApplication": {
                                                                                        "body": {
                                                                                          "typeApplication": {
                                                                                            "body": {"variable": "hydra.core.parsers.sepBy1"},
                                                                                            "type": {"pair": {"first": {"variable": "hydra.core.model.Name"}, "second": {"variable": "hydra.core.model.Name"}}}}},
                                                                                        "type": {"literal": "string"}}},
                                                                                    "argument": {"variable": "hydra.core.parse.core.constraint"}}},
                                                                                "argument": {
                                                                                  "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": ","}}}}}}}},
                                                                        "argument": {
                                                                          "lambda": {
                                                                            "parameter": "cs",
                                                                            "domain": {"list": {"pair": {"first": {"variable": "hydra.core.model.Name"}, "second": {"variable": "hydra.core.model.Name"}}}},
                                                                            "body": {
                                                                              "application": {
                                                                                "function": {
                                                                                  "application": {
                                                                                    "function": {
                                                                                      "typeApplication": {
                                                                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                                                                        "type": {"list": {"pair": {"first": {"variable": "hydra.core.model.Name"}, "second": {"variable": "hydra.core.model.Name"}}}}}},
                                                                                    "argument": {
                                                                                      "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": ")"}}}}}},
                                                                                "argument": {
                                                                                  "lambda": {
                                                                                    "parameter": "_",
                                                                                    "domain": {"literal": "string"},
                                                                                    "body": {
                                                                                      "application": {
                                                                                        "function": {
                                                                                          "application": {
                                                                                            "function": {
                                                                                              "typeApplication": {
                                                                                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": {"integer": "int32"}}}},
                                                                                                "type": {"list": {"pair": {"first": {"variable": "hydra.core.model.Name"}, "second": {"variable": "hydra.core.model.Name"}}}}}},
                                                                                            "argument": {
                                                                                              "application": {
                                                                                                "function": {"typeApplication": {"body": {"variable": "hydra.core.parse.core.lexeme"}, "type": {"literal": {"integer": "int32"}}}},
                                                                                                "argument": {
                                                                                                  "application": {"function": {"variable": "hydra.core.parsers.char"}, "argument": {"literal": {"integer": {"int32": 8658}}}}}}}}},
                                                                                        "argument": {
                                                                                          "lambda": {
                                                                                            "parameter": "_",
                                                                                            "domain": {"literal": {"integer": "int32"}},
                                                                                            "body": {
                                                                                              "application": {
                                                                                                "function": {
                                                                                                  "typeApplication": {
                                                                                                    "body": {"variable": "hydra.core.parsers.pure"},
                                                                                                    "type": {"list": {"pair": {"first": {"variable": "hydra.core.model.Name"}, "second": {"variable": "hydra.core.model.Name"}}}}}},
                                                                                                "argument": {"variable": "cs"}}}}}}}}}}}}}}}}}}}}}}}}},
                                                "argument": {
                                                  "lambda": {
                                                    "parameter": "mcs",
                                                    "domain": {
                                                      "optional": {"list": {"pair": {"first": {"variable": "hydra.core.model.Name"}, "second": {"variable": "hydra.core.model.Name"}}}}},
                                                    "body": {
                                                      "application": {
                                                        "function": {
                                                          "application": {
                                                            "function": {
                                                              "lambda": {
                                                                "parameter": "vars",
                                                                "domain": {"list": {"variable": "hydra.core.model.Name"}},
                                                                "body": {
                                                                  "lambda": {
                                                                    "parameter": "mcs",
                                                                    "domain": {
                                                                      "optional": {"list": {"pair": {"first": {"variable": "hydra.core.model.Name"}, "second": {"variable": "hydra.core.model.Name"}}}}},
                                                                    "body": {
                                                                      "let": {
                                                                        "bindings": [
                                                                          {
                                                                            "name": "typeParams",
                                                                            "term": {
                                                                              "application": {
                                                                                "function": {
                                                                                  "application": {
                                                                                    "function": {
                                                                                      "typeApplication": {
                                                                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.lib.lists.map"}, "type": {"variable": "hydra.core.model.Name"}}},
                                                                                        "type": {"variable": "hydra.core.typing.TypeParameter"}}},
                                                                                    "argument": {
                                                                                      "lambda": {
                                                                                        "parameter": "v",
                                                                                        "domain": {"variable": "hydra.core.model.Name"},
                                                                                        "body": {
                                                                                          "record": {
                                                                                            "typeName": "hydra.core.typing.TypeParameter",
                                                                                            "fields": [
                                                                                              {"name": "name", "term": {"variable": "v"}},
                                                                                              {
                                                                                                "name": "constraints",
                                                                                                "term": {
                                                                                                  "application": {
                                                                                                    "function": {
                                                                                                      "application": {
                                                                                                        "function": {
                                                                                                          "typeApplication": {
                                                                                                            "body": {"variable": "hydra.core.lib.optionals.withDefault"},
                                                                                                            "type": {"list": {"variable": "hydra.core.model.TypeClassConstraint"}}}},
                                                                                                        "argument": {"typeApplication": {"body": {"list": []}, "type": {"variable": "hydra.core.model.TypeClassConstraint"}}}}},
                                                                                                    "argument": {
                                                                                                      "application": {
                                                                                                        "function": {
                                                                                                          "application": {
                                                                                                            "function": {
                                                                                                              "typeApplication": {
                                                                                                                "body": {"typeApplication": {"body": {"variable": "hydra.core.lib.maps.lookup"}, "type": {"variable": "hydra.core.model.Name"}}},
                                                                                                                "type": {"list": {"variable": "hydra.core.model.TypeClassConstraint"}}}},
                                                                                                            "argument": {"variable": "v"}}},
                                                                                                        "argument": {
                                                                                                          "application": {
                                                                                                            "function": {
                                                                                                              "typeApplication": {
                                                                                                                "body": {
                                                                                                                  "typeApplication": {"body": {"variable": "hydra.core.lib.maps.fromList"}, "type": {"variable": "hydra.core.model.Name"}}},
                                                                                                                "type": {"list": {"variable": "hydra.core.model.TypeClassConstraint"}}}},
                                                                                                            "argument": {
                                                                                                              "application": {
                                                                                                                "function": {
                                                                                                                  "application": {
                                                                                                                    "function": {
                                                                                                                      "typeApplication": {
                                                                                                                        "body": {
                                                                                                                          "typeApplication": {
                                                                                                                            "body": {"variable": "hydra.core.lib.lists.map"},
                                                                                                                            "type": {"pair": {"first": {"variable": "hydra.core.model.Name"}, "second": {"variable": "hydra.core.model.Name"}}}}},
                                                                                                                        "type": {
                                                                                                                          "pair": {
                                                                                                                            "first": {"variable": "hydra.core.model.Name"},
                                                                                                                            "second": {"list": {"variable": "hydra.core.model.TypeClassConstraint"}}}}}},
                                                                                                                    "argument": {
                                                                                                                      "lambda": {
                                                                                                                        "parameter": "p",
                                                                                                                        "domain": {"pair": {"first": {"variable": "hydra.core.model.Name"}, "second": {"variable": "hydra.core.model.Name"}}},
                                                                                                                        "body": {
                                                                                                                          "typeApplication": {
                                                                                                                            "body": {
                                                                                                                              "typeApplication": {
                                                                                                                                "body": {
                                                                                                                                  "pair": {
                                                                                                                                    "first": {
                                                                                                                                      "application": {
                                                                                                                                        "function": {
                                                                                                                                          "typeApplication": {
                                                                                                                                            "body": {
                                                                                                                                              "typeApplication": {"body": {"variable": "hydra.core.lib.pairs.second"}, "type": {"variable": "hydra.core.model.Name"}}},
                                                                                                                                            "type": {"variable": "hydra.core.model.Name"}}},
                                                                                                                                        "argument": {"variable": "p"}}},
                                                                                                                                    "second": {
                                                                                                                                      "list": [
                                                                                                                                        {
                                                                                                                                          "inject": {
                                                                                                                                            "typeName": "hydra.core.model.TypeClassConstraint",
                                                                                                                                            "field": {
                                                                                                                                              "name": "simple",
                                                                                                                                              "term": {
                                                                                                                                                "application": {
                                                                                                                                                  "function": {
                                                                                                                                                    "typeApplication": {
                                                                                                                                                      "body": {"typeApplication": {"body": {"variable": "hydra.core.lib.pairs.first"}, "type": {"variable": "hydra.core.model.Name"}}},
                                                                                                                                                      "type": {"variable": "hydra.core.model.Name"}}},
                                                                                                                                                  "argument": {"variable": "p"}}}}}}]}}},
                                                                                                                                "type": {"variable": "hydra.core.model.Name"}}},
                                                                                                                            "type": {"list": {"variable": "hydra.core.model.TypeClassConstraint"}}}}}}}},
                                                                                                                "argument": {
                                                                                                                  "application": {
                                                                                                                    "function": {
                                                                                                                      "application": {
                                                                                                                        "function": {
                                                                                                                          "typeApplication": {
                                                                                                                            "body": {"variable": "hydra.core.lib.optionals.withDefault"},
                                                                                                                            "type": {"list": {"pair": {"first": {"variable": "hydra.core.model.Name"}, "second": {"variable": "hydra.core.model.Name"}}}}}},
                                                                                                                        "argument": {
                                                                                                                          "typeApplication": {
                                                                                                                            "body": {"list": []},
                                                                                                                            "type": {"pair": {"first": {"variable": "hydra.core.model.Name"}, "second": {"variable": "hydra.core.model.Name"}}}}}}},
                                                                                                                    "argument": {"variable": "mcs"}}}}}}}}}}}}]}}}}}},
                                                                                "argument": {"variable": "vars"}}},
                                                                            "typeScheme": {"variables": [], "body": {"list": {"variable": "hydra.core.typing.TypeParameter"}}, "constraints": []}}],
                                                                        "body": {
                                                                          "application": {
                                                                            "function": {
                                                                              "application": {
                                                                                "function": {
                                                                                  "typeApplication": {
                                                                                    "body": {
                                                                                      "typeApplication": {
                                                                                        "body": {"variable": "hydra.core.parsers.map"},
                                                                                        "type": {
                                                                                          "pair": {
                                                                                            "first": {"list": {"pair": {"first": {"literal": "boolean"}, "second": {"variable": "hydra.core.model.Type"}}}},
                                                                                            "second": {"variable": "hydra.core.model.Type"}}}}},
                                                                                    "type": {"variable": "hydra.core.typing.TermSignature"}}},
                                                                                "argument": {
                                                                                  "lambda": {
                                                                                    "parameter": "chain",
                                                                                    "domain": {
                                                                                      "pair": {
                                                                                        "first": {"list": {"pair": {"first": {"literal": "boolean"}, "second": {"variable": "hydra.core.model.Type"}}}},
                                                                                        "second": {"variable": "hydra.core.model.Type"}}},
                                                                                    "body": {
                                                                                      "let": {
                                                                                        "bindings": [
                                                                                          {
                                                                                            "name": "fwdParams",
                                                                                            "term": {
                                                                                              "application": {
                                                                                                "function": {
                                                                                                  "typeApplication": {
                                                                                                    "body": {
                                                                                                      "typeApplication": {
                                                                                                        "body": {"variable": "hydra.core.lib.pairs.first"},
                                                                                                        "type": {"list": {"pair": {"first": {"literal": "boolean"}, "second": {"variable": "hydra.core.model.Type"}}}}}},
                                                                                                    "type": {"variable": "hydra.core.model.Type"}}},
                                                                                                "argument": {"variable": "chain"}}},
                                                                                            "typeScheme": {
                                                                                              "variables": [],
                                                                                              "body": {"list": {"pair": {"first": {"literal": "boolean"}, "second": {"variable": "hydra.core.model.Type"}}}},
                                                                                              "constraints": []}}],
                                                                                        "body": {
                                                                                          "let": {
                                                                                            "bindings": [
                                                                                              {
                                                                                                "name": "resultType",
                                                                                                "term": {
                                                                                                  "application": {
                                                                                                    "function": {
                                                                                                      "typeApplication": {
                                                                                                        "body": {
                                                                                                          "typeApplication": {
                                                                                                            "body": {"variable": "hydra.core.lib.pairs.second"},
                                                                                                            "type": {"list": {"pair": {"first": {"literal": "boolean"}, "second": {"variable": "hydra.core.model.Type"}}}}}},
                                                                                                        "type": {"variable": "hydra.core.model.Type"}}},
                                                                                                    "argument": {"variable": "chain"}}},
                                                                                                "typeScheme": {"variables": [], "body": {"variable": "hydra.core.model.Type"}, "constraints": []}}],
                                                                                            "body": {
                                                                                              "let": {
                                                                                                "bindings": [
                                                                                                  {
                                                                                                    "name": "params",
                                                                                                    "term": {
                                                                                                      "application": {
                                                                                                        "function": {
                                                                                                          "typeApplication": {"body": {"variable": "hydra.core.lib.lists.reverse"}, "type": {"variable": "hydra.core.typing.Parameter"}}},
                                                                                                        "argument": {
                                                                                                          "application": {
                                                                                                            "function": {
                                                                                                              "typeApplication": {
                                                                                                                "body": {
                                                                                                                  "typeApplication": {"body": {"variable": "hydra.core.lib.pairs.first"}, "type": {"list": {"variable": "hydra.core.typing.Parameter"}}}},
                                                                                                                "type": {"literal": {"integer": "int32"}}}},
                                                                                                            "argument": {
                                                                                                              "application": {
                                                                                                                "function": {
                                                                                                                  "application": {
                                                                                                                    "function": {
                                                                                                                      "application": {
                                                                                                                        "function": {
                                                                                                                          "typeApplication": {
                                                                                                                            "body": {
                                                                                                                              "typeApplication": {
                                                                                                                                "body": {"variable": "hydra.core.lib.lists.foldl"},
                                                                                                                                "type": {"pair": {"first": {"list": {"variable": "hydra.core.typing.Parameter"}}, "second": {"literal": {"integer": "int32"}}}}}},
                                                                                                                            "type": {"pair": {"first": {"literal": "boolean"}, "second": {"variable": "hydra.core.model.Type"}}}}},
                                                                                                                        "argument": {
                                                                                                                          "lambda": {
                                                                                                                            "parameter": "acc",
                                                                                                                            "domain": {"pair": {"first": {"list": {"variable": "hydra.core.typing.Parameter"}}, "second": {"literal": {"integer": "int32"}}}},
                                                                                                                            "body": {
                                                                                                                              "lambda": {
                                                                                                                                "parameter": "item",
                                                                                                                                "domain": {"pair": {"first": {"literal": "boolean"}, "second": {"variable": "hydra.core.model.Type"}}},
                                                                                                                                "body": {
                                                                                                                                  "let": {
                                                                                                                                    "bindings": [
                                                                                                                                      {
                                                                                                                                        "name": "pairAcc",
                                                                                                                                        "term": {
                                                                                                                                          "application": {
                                                                                                                                            "function": {
                                                                                                                                              "typeApplication": {
                                                                                                                                                "body": {
                                                                                                                                                  "typeApplication": {"body": {"variable": "hydra.core.lib.pairs.first"}, "type": {"list": {"variable": "hydra.core.typing.Parameter"}}}},
                                                                                                                                                "type": {"literal": {"integer": "int32"}}}},
                                                                                                                                            "argument": {"variable": "acc"}}},
                                                                                                                                        "typeScheme": {"variables": [], "body": {"list": {"variable": "hydra.core.typing.Parameter"}}, "constraints": []}}],
                                                                                                                                    "body": {
                                                                                                                                      "let": {
                                                                                                                                        "bindings": [
                                                                                                                                          {
                                                                                                                                            "name": "i",
                                                                                                                                            "term": {
                                                                                                                                              "application": {
                                                                                                                                                "function": {
                                                                                                                                                  "typeApplication": {
                                                                                                                                                    "body": {
                                                                                                                                                      "typeApplication": {"body": {"variable": "hydra.core.lib.pairs.second"}, "type": {"list": {"variable": "hydra.core.typing.Parameter"}}}},
                                                                                                                                                    "type": {"literal": {"integer": "int32"}}}},
                                                                                                                                                "argument": {"variable": "acc"}}},
                                                                                                                                            "typeScheme": {"variables": [], "body": {"literal": {"integer": "int32"}}, "constraints": []}}],
                                                                                                                                        "body": {
                                                                                                                                          "typeApplication": {
                                                                                                                                            "body": {
                                                                                                                                              "typeApplication": {
                                                                                                                                                "body": {
                                                                                                                                                  "pair": {
                                                                                                                                                    "first": {
                                                                                                                                                      "application": {
                                                                                                                                                        "function": {
                                                                                                                                                          "application": {
                                                                                                                                                            "function": {
                                                                                                                                                              "typeApplication": {"body": {"variable": "hydra.core.lib.lists.cons"}, "type": {"variable": "hydra.core.typing.Parameter"}}},
                                                                                                                                                            "argument": {
                                                                                                                                                              "record": {
                                                                                                                                                                "typeName": "hydra.core.typing.Parameter",
                                                                                                                                                                "fields": [
                                                                                                                                                                  {
                                                                                                                                                                    "name": "name",
                                                                                                                                                                    "term": {
                                                                                                                                                                      "wrap": {
                                                                                                                                                                        "typeName": "hydra.core.model.Name",
                                                                                                                                                                        "body": {
                                                                                                                                                                          "application": {
                                                                                                                                                                            "function": {"variable": "hydra.core.lib.strings.concat"},
                                                                                                                                                                            "argument": {
                                                                                                                                                                              "list": [
                                                                                                                                                                                {"literal": {"string": "arg"}},
                                                                                                                                                                                {"application": {"function": {"variable": "hydra.core.lib.literals.printInt32"}, "argument": {"variable": "i"}}}]}}}}}},
                                                                                                                                                                  {"name": "description", "term": {"typeApplication": {"body": {"optional": null}, "type": {"literal": "string"}}}},
                                                                                                                                                                  {
                                                                                                                                                                    "name": "type",
                                                                                                                                                                    "term": {
                                                                                                                                                                      "application": {
                                                                                                                                                                        "function": {
                                                                                                                                                                          "typeApplication": {
                                                                                                                                                                            "body": {"typeApplication": {"body": {"variable": "hydra.core.lib.pairs.second"}, "type": {"literal": "boolean"}}},
                                                                                                                                                                            "type": {"variable": "hydra.core.model.Type"}}},
                                                                                                                                                                        "argument": {"variable": "item"}}}},
                                                                                                                                                                  {
                                                                                                                                                                    "name": "isLazy",
                                                                                                                                                                    "term": {
                                                                                                                                                                      "application": {
                                                                                                                                                                        "function": {
                                                                                                                                                                          "typeApplication": {
                                                                                                                                                                            "body": {"typeApplication": {"body": {"variable": "hydra.core.lib.pairs.first"}, "type": {"literal": "boolean"}}},
                                                                                                                                                                            "type": {"variable": "hydra.core.model.Type"}}},
                                                                                                                                                                        "argument": {"variable": "item"}}}}]}}}},
                                                                                                                                                        "argument": {"variable": "pairAcc"}}},
                                                                                                                                                    "second": {
                                                                                                                                                      "application": {
                                                                                                                                                        "function": {
                                                                                                                                                          "application": {
                                                                                                                                                            "function": {"typeApplication": {"body": {"variable": "hydra.core.lib.math.add"}, "type": {"literal": {"integer": "int32"}}}},
                                                                                                                                                            "argument": {"variable": "i"}}},
                                                                                                                                                        "argument": {"literal": {"integer": {"int32": 1}}}}}}},
                                                                                                                                                "type": {"list": {"variable": "hydra.core.typing.Parameter"}}}},
                                                                                                                                            "type": {"literal": {"integer": "int32"}}}}}}}}}}}}}},
                                                                                                                    "argument": {
                                                                                                                      "typeApplication": {
                                                                                                                        "body": {
                                                                                                                          "typeApplication": {
                                                                                                                            "body": {
                                                                                                                              "pair": {
                                                                                                                                "first": {"typeApplication": {"body": {"list": []}, "type": {"variable": "hydra.core.typing.Parameter"}}},
                                                                                                                                "second": {"literal": {"integer": {"int32": 0}}}}},
                                                                                                                            "type": {"list": {"variable": "hydra.core.typing.Parameter"}}}},
                                                                                                                        "type": {"literal": {"integer": "int32"}}}}}},
                                                                                                                "argument": {"variable": "fwdParams"}}}}}}},
                                                                                                    "typeScheme": {"variables": [], "body": {"list": {"variable": "hydra.core.typing.Parameter"}}, "constraints": []}}],
                                                                                                "body": {
                                                                                                  "let": {
                                                                                                    "bindings": [
                                                                                                      {
                                                                                                        "name": "result",
                                                                                                        "term": {
                                                                                                          "record": {
                                                                                                            "typeName": "hydra.core.typing.Result",
                                                                                                            "fields": [
                                                                                                              {"name": "description", "term": {"typeApplication": {"body": {"optional": null}, "type": {"literal": "string"}}}},
                                                                                                              {"name": "type", "term": {"variable": "resultType"}}]}},
                                                                                                        "typeScheme": {"variables": [], "body": {"variable": "hydra.core.typing.Result"}, "constraints": []}}],
                                                                                                    "body": {
                                                                                                      "record": {
                                                                                                        "typeName": "hydra.core.typing.TermSignature",
                                                                                                        "fields": [
                                                                                                          {"name": "typeParameters", "term": {"variable": "typeParams"}},
                                                                                                          {"name": "parameters", "term": {"variable": "params"}},
                                                                                                          {"name": "result", "term": {"variable": "result"}}]}}}}}}}}}}}}}},
                                                                            "argument": {"variable": "hydra.core.parse.core.termSignatureArrowChain"}}}}}}}}},
                                                            "argument": {"variable": "vars"}}},
                                                        "argument": {"variable": "mcs"}}}}}}}}}}}}}}}}}}}}},
                "argument": {
                  "application": {
                    "function": {
                      "application": {
                        "function": {
                          "lambda": {
                            "parameter": "vars",
                            "domain": {"list": {"variable": "hydra.core.model.Name"}},
                            "body": {
                              "lambda": {
                                "parameter": "mcs",
                                "domain": {
                                  "optional": {"list": {"pair": {"first": {"variable": "hydra.core.model.Name"}, "second": {"variable": "hydra.core.model.Name"}}}}},
                                "body": {
                                  "let": {
                                    "bindings": [
                                      {
                                        "name": "typeParams",
                                        "term": {
                                          "application": {
                                            "function": {
                                              "application": {
                                                "function": {
                                                  "typeApplication": {
                                                    "body": {"typeApplication": {"body": {"variable": "hydra.core.lib.lists.map"}, "type": {"variable": "hydra.core.model.Name"}}},
                                                    "type": {"variable": "hydra.core.typing.TypeParameter"}}},
                                                "argument": {
                                                  "lambda": {
                                                    "parameter": "v",
                                                    "domain": {"variable": "hydra.core.model.Name"},
                                                    "body": {
                                                      "record": {
                                                        "typeName": "hydra.core.typing.TypeParameter",
                                                        "fields": [
                                                          {"name": "name", "term": {"variable": "v"}},
                                                          {
                                                            "name": "constraints",
                                                            "term": {
                                                              "application": {
                                                                "function": {
                                                                  "application": {
                                                                    "function": {
                                                                      "typeApplication": {
                                                                        "body": {"variable": "hydra.core.lib.optionals.withDefault"},
                                                                        "type": {"list": {"variable": "hydra.core.model.TypeClassConstraint"}}}},
                                                                    "argument": {"typeApplication": {"body": {"list": []}, "type": {"variable": "hydra.core.model.TypeClassConstraint"}}}}},
                                                                "argument": {
                                                                  "application": {
                                                                    "function": {
                                                                      "application": {
                                                                        "function": {
                                                                          "typeApplication": {
                                                                            "body": {"typeApplication": {"body": {"variable": "hydra.core.lib.maps.lookup"}, "type": {"variable": "hydra.core.model.Name"}}},
                                                                            "type": {"list": {"variable": "hydra.core.model.TypeClassConstraint"}}}},
                                                                        "argument": {"variable": "v"}}},
                                                                    "argument": {
                                                                      "application": {
                                                                        "function": {
                                                                          "typeApplication": {
                                                                            "body": {
                                                                              "typeApplication": {"body": {"variable": "hydra.core.lib.maps.fromList"}, "type": {"variable": "hydra.core.model.Name"}}},
                                                                            "type": {"list": {"variable": "hydra.core.model.TypeClassConstraint"}}}},
                                                                        "argument": {
                                                                          "application": {
                                                                            "function": {
                                                                              "application": {
                                                                                "function": {
                                                                                  "typeApplication": {
                                                                                    "body": {
                                                                                      "typeApplication": {
                                                                                        "body": {"variable": "hydra.core.lib.lists.map"},
                                                                                        "type": {"pair": {"first": {"variable": "hydra.core.model.Name"}, "second": {"variable": "hydra.core.model.Name"}}}}},
                                                                                    "type": {
                                                                                      "pair": {
                                                                                        "first": {"variable": "hydra.core.model.Name"},
                                                                                        "second": {"list": {"variable": "hydra.core.model.TypeClassConstraint"}}}}}},
                                                                                "argument": {
                                                                                  "lambda": {
                                                                                    "parameter": "p",
                                                                                    "domain": {"pair": {"first": {"variable": "hydra.core.model.Name"}, "second": {"variable": "hydra.core.model.Name"}}},
                                                                                    "body": {
                                                                                      "typeApplication": {
                                                                                        "body": {
                                                                                          "typeApplication": {
                                                                                            "body": {
                                                                                              "pair": {
                                                                                                "first": {
                                                                                                  "application": {
                                                                                                    "function": {
                                                                                                      "typeApplication": {
                                                                                                        "body": {
                                                                                                          "typeApplication": {"body": {"variable": "hydra.core.lib.pairs.second"}, "type": {"variable": "hydra.core.model.Name"}}},
                                                                                                        "type": {"variable": "hydra.core.model.Name"}}},
                                                                                                    "argument": {"variable": "p"}}},
                                                                                                "second": {
                                                                                                  "list": [
                                                                                                    {
                                                                                                      "inject": {
                                                                                                        "typeName": "hydra.core.model.TypeClassConstraint",
                                                                                                        "field": {
                                                                                                          "name": "simple",
                                                                                                          "term": {
                                                                                                            "application": {
                                                                                                              "function": {
                                                                                                                "typeApplication": {
                                                                                                                  "body": {"typeApplication": {"body": {"variable": "hydra.core.lib.pairs.first"}, "type": {"variable": "hydra.core.model.Name"}}},
                                                                                                                  "type": {"variable": "hydra.core.model.Name"}}},
                                                                                                              "argument": {"variable": "p"}}}}}}]}}},
                                                                                            "type": {"variable": "hydra.core.model.Name"}}},
                                                                                        "type": {"list": {"variable": "hydra.core.model.TypeClassConstraint"}}}}}}}},
                                                                            "argument": {
                                                                              "application": {
                                                                                "function": {
                                                                                  "application": {
                                                                                    "function": {
                                                                                      "typeApplication": {
                                                                                        "body": {"variable": "hydra.core.lib.optionals.withDefault"},
                                                                                        "type": {"list": {"pair": {"first": {"variable": "hydra.core.model.Name"}, "second": {"variable": "hydra.core.model.Name"}}}}}},
                                                                                    "argument": {
                                                                                      "typeApplication": {
                                                                                        "body": {"list": []},
                                                                                        "type": {"pair": {"first": {"variable": "hydra.core.model.Name"}, "second": {"variable": "hydra.core.model.Name"}}}}}}},
                                                                                "argument": {"variable": "mcs"}}}}}}}}}}}}]}}}}}},
                                            "argument": {"variable": "vars"}}},
                                        "typeScheme": {"variables": [], "body": {"list": {"variable": "hydra.core.typing.TypeParameter"}}, "constraints": []}}],
                                    "body": {
                                      "application": {
                                        "function": {
                                          "application": {
                                            "function": {
                                              "typeApplication": {
                                                "body": {
                                                  "typeApplication": {
                                                    "body": {"variable": "hydra.core.parsers.map"},
                                                    "type": {
                                                      "pair": {
                                                        "first": {"list": {"pair": {"first": {"literal": "boolean"}, "second": {"variable": "hydra.core.model.Type"}}}},
                                                        "second": {"variable": "hydra.core.model.Type"}}}}},
                                                "type": {"variable": "hydra.core.typing.TermSignature"}}},
                                            "argument": {
                                              "lambda": {
                                                "parameter": "chain",
                                                "domain": {
                                                  "pair": {
                                                    "first": {"list": {"pair": {"first": {"literal": "boolean"}, "second": {"variable": "hydra.core.model.Type"}}}},
                                                    "second": {"variable": "hydra.core.model.Type"}}},
                                                "body": {
                                                  "let": {
                                                    "bindings": [
                                                      {
                                                        "name": "fwdParams",
                                                        "term": {
                                                          "application": {
                                                            "function": {
                                                              "typeApplication": {
                                                                "body": {
                                                                  "typeApplication": {
                                                                    "body": {"variable": "hydra.core.lib.pairs.first"},
                                                                    "type": {"list": {"pair": {"first": {"literal": "boolean"}, "second": {"variable": "hydra.core.model.Type"}}}}}},
                                                                "type": {"variable": "hydra.core.model.Type"}}},
                                                            "argument": {"variable": "chain"}}},
                                                        "typeScheme": {
                                                          "variables": [],
                                                          "body": {"list": {"pair": {"first": {"literal": "boolean"}, "second": {"variable": "hydra.core.model.Type"}}}},
                                                          "constraints": []}}],
                                                    "body": {
                                                      "let": {
                                                        "bindings": [
                                                          {
                                                            "name": "resultType",
                                                            "term": {
                                                              "application": {
                                                                "function": {
                                                                  "typeApplication": {
                                                                    "body": {
                                                                      "typeApplication": {
                                                                        "body": {"variable": "hydra.core.lib.pairs.second"},
                                                                        "type": {"list": {"pair": {"first": {"literal": "boolean"}, "second": {"variable": "hydra.core.model.Type"}}}}}},
                                                                    "type": {"variable": "hydra.core.model.Type"}}},
                                                                "argument": {"variable": "chain"}}},
                                                            "typeScheme": {"variables": [], "body": {"variable": "hydra.core.model.Type"}, "constraints": []}}],
                                                        "body": {
                                                          "let": {
                                                            "bindings": [
                                                              {
                                                                "name": "params",
                                                                "term": {
                                                                  "application": {
                                                                    "function": {
                                                                      "typeApplication": {"body": {"variable": "hydra.core.lib.lists.reverse"}, "type": {"variable": "hydra.core.typing.Parameter"}}},
                                                                    "argument": {
                                                                      "application": {
                                                                        "function": {
                                                                          "typeApplication": {
                                                                            "body": {
                                                                              "typeApplication": {"body": {"variable": "hydra.core.lib.pairs.first"}, "type": {"list": {"variable": "hydra.core.typing.Parameter"}}}},
                                                                            "type": {"literal": {"integer": "int32"}}}},
                                                                        "argument": {
                                                                          "application": {
                                                                            "function": {
                                                                              "application": {
                                                                                "function": {
                                                                                  "application": {
                                                                                    "function": {
                                                                                      "typeApplication": {
                                                                                        "body": {
                                                                                          "typeApplication": {
                                                                                            "body": {"variable": "hydra.core.lib.lists.foldl"},
                                                                                            "type": {"pair": {"first": {"list": {"variable": "hydra.core.typing.Parameter"}}, "second": {"literal": {"integer": "int32"}}}}}},
                                                                                        "type": {"pair": {"first": {"literal": "boolean"}, "second": {"variable": "hydra.core.model.Type"}}}}},
                                                                                    "argument": {
                                                                                      "lambda": {
                                                                                        "parameter": "acc",
                                                                                        "domain": {"pair": {"first": {"list": {"variable": "hydra.core.typing.Parameter"}}, "second": {"literal": {"integer": "int32"}}}},
                                                                                        "body": {
                                                                                          "lambda": {
                                                                                            "parameter": "item",
                                                                                            "domain": {"pair": {"first": {"literal": "boolean"}, "second": {"variable": "hydra.core.model.Type"}}},
                                                                                            "body": {
                                                                                              "let": {
                                                                                                "bindings": [
                                                                                                  {
                                                                                                    "name": "pairAcc",
                                                                                                    "term": {
                                                                                                      "application": {
                                                                                                        "function": {
                                                                                                          "typeApplication": {
                                                                                                            "body": {
                                                                                                              "typeApplication": {"body": {"variable": "hydra.core.lib.pairs.first"}, "type": {"list": {"variable": "hydra.core.typing.Parameter"}}}},
                                                                                                            "type": {"literal": {"integer": "int32"}}}},
                                                                                                        "argument": {"variable": "acc"}}},
                                                                                                    "typeScheme": {"variables": [], "body": {"list": {"variable": "hydra.core.typing.Parameter"}}, "constraints": []}}],
                                                                                                "body": {
                                                                                                  "let": {
                                                                                                    "bindings": [
                                                                                                      {
                                                                                                        "name": "i",
                                                                                                        "term": {
                                                                                                          "application": {
                                                                                                            "function": {
                                                                                                              "typeApplication": {
                                                                                                                "body": {
                                                                                                                  "typeApplication": {"body": {"variable": "hydra.core.lib.pairs.second"}, "type": {"list": {"variable": "hydra.core.typing.Parameter"}}}},
                                                                                                                "type": {"literal": {"integer": "int32"}}}},
                                                                                                            "argument": {"variable": "acc"}}},
                                                                                                        "typeScheme": {"variables": [], "body": {"literal": {"integer": "int32"}}, "constraints": []}}],
                                                                                                    "body": {
                                                                                                      "typeApplication": {
                                                                                                        "body": {
                                                                                                          "typeApplication": {
                                                                                                            "body": {
                                                                                                              "pair": {
                                                                                                                "first": {
                                                                                                                  "application": {
                                                                                                                    "function": {
                                                                                                                      "application": {
                                                                                                                        "function": {
                                                                                                                          "typeApplication": {"body": {"variable": "hydra.core.lib.lists.cons"}, "type": {"variable": "hydra.core.typing.Parameter"}}},
                                                                                                                        "argument": {
                                                                                                                          "record": {
                                                                                                                            "typeName": "hydra.core.typing.Parameter",
                                                                                                                            "fields": [
                                                                                                                              {
                                                                                                                                "name": "name",
                                                                                                                                "term": {
                                                                                                                                  "wrap": {
                                                                                                                                    "typeName": "hydra.core.model.Name",
                                                                                                                                    "body": {
                                                                                                                                      "application": {
                                                                                                                                        "function": {"variable": "hydra.core.lib.strings.concat"},
                                                                                                                                        "argument": {
                                                                                                                                          "list": [
                                                                                                                                            {"literal": {"string": "arg"}},
                                                                                                                                            {"application": {"function": {"variable": "hydra.core.lib.literals.printInt32"}, "argument": {"variable": "i"}}}]}}}}}},
                                                                                                                              {"name": "description", "term": {"typeApplication": {"body": {"optional": null}, "type": {"literal": "string"}}}},
                                                                                                                              {
                                                                                                                                "name": "type",
                                                                                                                                "term": {
                                                                                                                                  "application": {
                                                                                                                                    "function": {
                                                                                                                                      "typeApplication": {
                                                                                                                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.lib.pairs.second"}, "type": {"literal": "boolean"}}},
                                                                                                                                        "type": {"variable": "hydra.core.model.Type"}}},
                                                                                                                                    "argument": {"variable": "item"}}}},
                                                                                                                              {
                                                                                                                                "name": "isLazy",
                                                                                                                                "term": {
                                                                                                                                  "application": {
                                                                                                                                    "function": {
                                                                                                                                      "typeApplication": {
                                                                                                                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.lib.pairs.first"}, "type": {"literal": "boolean"}}},
                                                                                                                                        "type": {"variable": "hydra.core.model.Type"}}},
                                                                                                                                    "argument": {"variable": "item"}}}}]}}}},
                                                                                                                    "argument": {"variable": "pairAcc"}}},
                                                                                                                "second": {
                                                                                                                  "application": {
                                                                                                                    "function": {
                                                                                                                      "application": {
                                                                                                                        "function": {"typeApplication": {"body": {"variable": "hydra.core.lib.math.add"}, "type": {"literal": {"integer": "int32"}}}},
                                                                                                                        "argument": {"variable": "i"}}},
                                                                                                                    "argument": {"literal": {"integer": {"int32": 1}}}}}}},
                                                                                                            "type": {"list": {"variable": "hydra.core.typing.Parameter"}}}},
                                                                                                        "type": {"literal": {"integer": "int32"}}}}}}}}}}}}}},
                                                                                "argument": {
                                                                                  "typeApplication": {
                                                                                    "body": {
                                                                                      "typeApplication": {
                                                                                        "body": {
                                                                                          "pair": {
                                                                                            "first": {"typeApplication": {"body": {"list": []}, "type": {"variable": "hydra.core.typing.Parameter"}}},
                                                                                            "second": {"literal": {"integer": {"int32": 0}}}}},
                                                                                        "type": {"list": {"variable": "hydra.core.typing.Parameter"}}}},
                                                                                    "type": {"literal": {"integer": "int32"}}}}}},
                                                                            "argument": {"variable": "fwdParams"}}}}}}},
                                                                "typeScheme": {"variables": [], "body": {"list": {"variable": "hydra.core.typing.Parameter"}}, "constraints": []}}],
                                                            "body": {
                                                              "let": {
                                                                "bindings": [
                                                                  {
                                                                    "name": "result",
                                                                    "term": {
                                                                      "record": {
                                                                        "typeName": "hydra.core.typing.Result",
                                                                        "fields": [
                                                                          {"name": "description", "term": {"typeApplication": {"body": {"optional": null}, "type": {"literal": "string"}}}},
                                                                          {"name": "type", "term": {"variable": "resultType"}}]}},
                                                                    "typeScheme": {"variables": [], "body": {"variable": "hydra.core.typing.Result"}, "constraints": []}}],
                                                                "body": {
                                                                  "record": {
                                                                    "typeName": "hydra.core.typing.TermSignature",
                                                                    "fields": [
                                                                      {"name": "typeParameters", "term": {"variable": "typeParams"}},
                                                                      {"name": "parameters", "term": {"variable": "params"}},
                                                                      {"name": "result", "term": {"variable": "result"}}]}}}}}}}}}}}}}},
                                        "argument": {"variable": "hydra.core.parse.core.termSignatureArrowChain"}}}}}}}}},
                        "argument": {"typeApplication": {"body": {"list": []}, "type": {"variable": "hydra.core.model.Name"}}}}},
                    "argument": {
                      "typeApplication": {
                        "body": {"optional": null},
                        "type": {"list": {"pair": {"first": {"variable": "hydra.core.model.Name"}, "second": {"variable": "hydra.core.model.Name"}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {
                    "literal": {
                      "string": "Parse a term signature: either '∀' [binderName (',' binderName)*] '.' [constraints '⇒'] arrow chain, or (when there are no type variables) a bare arrow chain with no '∀.' header at all"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.parse.core.termSignatureArrowChain",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.parsing.Parser"},
                "argument": {
                  "pair": {
                    "first": {"list": {"pair": {"first": {"literal": "boolean"}, "second": {"variable": "hydra.core.model.Type"}}}},
                    "second": {"variable": "hydra.core.model.Type"}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "application": {
                "function": {
                  "application": {
                    "function": {
                      "typeApplication": {
                        "body": {
                          "typeApplication": {
                            "body": {"variable": "hydra.core.parsers.bind"},
                            "type": {"pair": {"first": {"literal": "boolean"}, "second": {"variable": "hydra.core.model.Type"}}}}},
                        "type": {
                          "pair": {
                            "first": {"list": {"pair": {"first": {"literal": "boolean"}, "second": {"variable": "hydra.core.model.Type"}}}},
                            "second": {"variable": "hydra.core.model.Type"}}}}},
                    "argument": {
                      "application": {
                        "function": {
                          "application": {
                            "function": {
                              "typeApplication": {
                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"optional": {"literal": "string"}}}},
                                "type": {"pair": {"first": {"literal": "boolean"}, "second": {"variable": "hydra.core.model.Type"}}}}},
                            "argument": {
                              "application": {
                                "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.optional"}, "type": {"literal": "string"}}},
                                "argument": {
                                  "application": {"function": {"variable": "hydra.core.parse.core.typeKeyword"}, "argument": {"literal": {"string": "lazy"}}}}}}}},
                        "argument": {
                          "lambda": {
                            "parameter": "mlazy",
                            "domain": {"optional": {"literal": "string"}},
                            "body": {
                              "application": {
                                "function": {
                                  "application": {
                                    "function": {
                                      "typeApplication": {
                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.map"}, "type": {"variable": "hydra.core.model.Type"}}},
                                        "type": {"pair": {"first": {"literal": "boolean"}, "second": {"variable": "hydra.core.model.Type"}}}}},
                                    "argument": {
                                      "lambda": {
                                        "parameter": "t",
                                        "domain": {"variable": "hydra.core.model.Type"},
                                        "body": {
                                          "typeApplication": {
                                            "body": {
                                              "typeApplication": {
                                                "body": {
                                                  "pair": {
                                                    "first": {
                                                      "application": {
                                                        "function": {"typeApplication": {"body": {"variable": "hydra.core.lib.optionals.isGiven"}, "type": {"literal": "string"}}},
                                                        "argument": {"variable": "mlazy"}}},
                                                    "second": {"variable": "t"}}},
                                                "type": {"literal": "boolean"}}},
                                            "type": {"variable": "hydra.core.model.Type"}}}}}}},
                                "argument": {
                                  "application": {
                                    "function": {
                                      "application": {
                                        "function": {
                                          "typeApplication": {
                                            "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"variable": "hydra.core.model.Type"}}},
                                            "type": {"variable": "hydra.core.model.Type"}}},
                                        "argument": {"variable": "hydra.core.parse.core.postfixType"}}},
                                    "argument": {
                                      "lambda": {
                                        "parameter": "t0",
                                        "domain": {"variable": "hydra.core.model.Type"},
                                        "body": {
                                          "application": {
                                            "function": {
                                              "application": {
                                                "function": {
                                                  "typeApplication": {
                                                    "body": {
                                                      "typeApplication": {"body": {"variable": "hydra.core.parsers.map"}, "type": {"list": {"variable": "hydra.core.model.Type"}}}},
                                                    "type": {"variable": "hydra.core.model.Type"}}},
                                                "argument": {
                                                  "lambda": {
                                                    "parameter": "rest",
                                                    "domain": {"list": {"variable": "hydra.core.model.Type"}},
                                                    "body": {
                                                      "application": {
                                                        "function": {
                                                          "application": {
                                                            "function": {
                                                              "application": {
                                                                "function": {
                                                                  "typeApplication": {
                                                                    "body": {"typeApplication": {"body": {"variable": "hydra.core.lib.lists.foldl"}, "type": {"variable": "hydra.core.model.Type"}}},
                                                                    "type": {"variable": "hydra.core.model.Type"}}},
                                                                "argument": {
                                                                  "lambda": {
                                                                    "parameter": "f",
                                                                    "domain": {"variable": "hydra.core.model.Type"},
                                                                    "body": {
                                                                      "lambda": {
                                                                        "parameter": "a",
                                                                        "domain": {"variable": "hydra.core.model.Type"},
                                                                        "body": {
                                                                          "inject": {
                                                                            "typeName": "hydra.core.model.Type",
                                                                            "field": {
                                                                              "name": "application",
                                                                              "term": {
                                                                                "record": {
                                                                                  "typeName": "hydra.core.model.ApplicationType",
                                                                                  "fields": [{"name": "function", "term": {"variable": "f"}}, {"name": "argument", "term": {"variable": "a"}}]}}}}}}}}}}},
                                                            "argument": {"variable": "t0"}}},
                                                        "argument": {"variable": "rest"}}}}}}},
                                            "argument": {
                                              "application": {
                                                "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.many"}, "type": {"variable": "hydra.core.model.Type"}}},
                                                "argument": {"variable": "hydra.core.parse.core.postfixType"}}}}}}}}}}}}}}}}},
                "argument": {
                  "lambda": {
                    "parameter": "dom",
                    "domain": {"pair": {"first": {"literal": "boolean"}, "second": {"variable": "hydra.core.model.Type"}}},
                    "body": {
                      "application": {
                        "function": {
                          "application": {
                            "function": {
                              "typeApplication": {
                                "body": {"variable": "hydra.core.parsers.alt"},
                                "type": {
                                  "pair": {
                                    "first": {"list": {"pair": {"first": {"literal": "boolean"}, "second": {"variable": "hydra.core.model.Type"}}}},
                                    "second": {"variable": "hydra.core.model.Type"}}}}},
                            "argument": {
                              "application": {
                                "function": {
                                  "application": {
                                    "function": {
                                      "typeApplication": {
                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": {"integer": "int32"}}}},
                                        "type": {
                                          "pair": {
                                            "first": {"list": {"pair": {"first": {"literal": "boolean"}, "second": {"variable": "hydra.core.model.Type"}}}},
                                            "second": {"variable": "hydra.core.model.Type"}}}}},
                                    "argument": {
                                      "application": {
                                        "function": {"typeApplication": {"body": {"variable": "hydra.core.parse.core.lexeme"}, "type": {"literal": {"integer": "int32"}}}},
                                        "argument": {
                                          "application": {"function": {"variable": "hydra.core.parsers.char"}, "argument": {"literal": {"integer": {"int32": 8594}}}}}}}}},
                                "argument": {
                                  "lambda": {
                                    "parameter": "_",
                                    "domain": {"literal": {"integer": "int32"}},
                                    "body": {
                                      "application": {
                                        "function": {
                                          "application": {
                                            "function": {
                                              "typeApplication": {
                                                "body": {
                                                  "typeApplication": {
                                                    "body": {"variable": "hydra.core.parsers.map"},
                                                    "type": {
                                                      "pair": {
                                                        "first": {"list": {"pair": {"first": {"literal": "boolean"}, "second": {"variable": "hydra.core.model.Type"}}}},
                                                        "second": {"variable": "hydra.core.model.Type"}}}}},
                                                "type": {
                                                  "pair": {
                                                    "first": {"list": {"pair": {"first": {"literal": "boolean"}, "second": {"variable": "hydra.core.model.Type"}}}},
                                                    "second": {"variable": "hydra.core.model.Type"}}}}},
                                            "argument": {
                                              "lambda": {
                                                "parameter": "rest",
                                                "domain": {
                                                  "pair": {
                                                    "first": {"list": {"pair": {"first": {"literal": "boolean"}, "second": {"variable": "hydra.core.model.Type"}}}},
                                                    "second": {"variable": "hydra.core.model.Type"}}},
                                                "body": {
                                                  "typeApplication": {
                                                    "body": {
                                                      "typeApplication": {
                                                        "body": {
                                                          "pair": {
                                                            "first": {
                                                              "application": {
                                                                "function": {
                                                                  "application": {
                                                                    "function": {
                                                                      "typeApplication": {
                                                                        "body": {"variable": "hydra.core.lib.lists.cons"},
                                                                        "type": {"pair": {"first": {"literal": "boolean"}, "second": {"variable": "hydra.core.model.Type"}}}}},
                                                                    "argument": {"variable": "dom"}}},
                                                                "argument": {
                                                                  "application": {
                                                                    "function": {
                                                                      "typeApplication": {
                                                                        "body": {
                                                                          "typeApplication": {
                                                                            "body": {"variable": "hydra.core.lib.pairs.first"},
                                                                            "type": {"list": {"pair": {"first": {"literal": "boolean"}, "second": {"variable": "hydra.core.model.Type"}}}}}},
                                                                        "type": {"variable": "hydra.core.model.Type"}}},
                                                                    "argument": {"variable": "rest"}}}}},
                                                            "second": {
                                                              "application": {
                                                                "function": {
                                                                  "typeApplication": {
                                                                    "body": {
                                                                      "typeApplication": {
                                                                        "body": {"variable": "hydra.core.lib.pairs.second"},
                                                                        "type": {"list": {"pair": {"first": {"literal": "boolean"}, "second": {"variable": "hydra.core.model.Type"}}}}}},
                                                                    "type": {"variable": "hydra.core.model.Type"}}},
                                                                "argument": {"variable": "rest"}}}}},
                                                        "type": {"list": {"pair": {"first": {"literal": "boolean"}, "second": {"variable": "hydra.core.model.Type"}}}}}},
                                                    "type": {"variable": "hydra.core.model.Type"}}}}}}},
                                        "argument": {
                                          "application": {
                                            "function": {
                                              "typeApplication": {
                                                "body": {"variable": "hydra.core.parsers.lazy"},
                                                "type": {
                                                  "pair": {
                                                    "first": {"list": {"pair": {"first": {"literal": "boolean"}, "second": {"variable": "hydra.core.model.Type"}}}},
                                                    "second": {"variable": "hydra.core.model.Type"}}}}},
                                            "argument": {"lambda": {"parameter": "_", "domain": "unit", "body": {"variable": "hydra.core.parse.core.termSignatureArrowChain"}}}}}}}}}}}}},
                        "argument": {
                          "application": {
                            "function": {
                              "typeApplication": {
                                "body": {"variable": "hydra.core.parsers.pure"},
                                "type": {
                                  "pair": {
                                    "first": {"list": {"pair": {"first": {"literal": "boolean"}, "second": {"variable": "hydra.core.model.Type"}}}},
                                    "second": {"variable": "hydra.core.model.Type"}}}}},
                            "argument": {
                              "typeApplication": {
                                "body": {
                                  "typeApplication": {
                                    "body": {
                                      "pair": {
                                        "first": {
                                          "typeApplication": {
                                            "body": {"list": []},
                                            "type": {"pair": {"first": {"literal": "boolean"}, "second": {"variable": "hydra.core.model.Type"}}}}},
                                        "second": {
                                          "application": {
                                            "function": {
                                              "typeApplication": {
                                                "body": {"typeApplication": {"body": {"variable": "hydra.core.lib.pairs.second"}, "type": {"literal": "boolean"}}},
                                                "type": {"variable": "hydra.core.model.Type"}}},
                                            "argument": {"variable": "dom"}}}}},
                                    "type": {"list": {"pair": {"first": {"literal": "boolean"}, "second": {"variable": "hydra.core.model.Type"}}}}}},
                                "type": {"variable": "hydra.core.model.Type"}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {
                    "literal": {
                      "string": "Parse the arrow chain of a term signature, gathering (isLazy, type) parameter pairs alongside the final result type"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.parse.core.topTerm",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {"function": {"variable": "hydra.core.parsing.Parser"}, "argument": {"variable": "hydra.core.model.Term"}}}}},
        "body": {
          "annotated": {
            "body": {"variable": "hydra.core.parse.core.postfixTerm"},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "Parse a term at postfix precedence (an atomic term plus its postfix suffixes)"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.parse.core.topType",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {"function": {"variable": "hydra.core.parsing.Parser"}, "argument": {"variable": "hydra.core.model.Type"}}}}},
        "body": {
          "annotated": {
            "body": {"variable": "hydra.core.parse.core.typeFunction"},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "Parse a type at function-arrow precedence (the full type grammar)"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.parse.core.type",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {"function": {"variable": "hydra.core.parsing.Parser"}, "argument": {"variable": "hydra.core.model.Type"}}}}},
        "body": {
          "annotated": {
            "body": {"variable": "hydra.core.parse.core.typeFunction"},
            "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "Parse a full type"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.parse.core.typeApplicationSuffix",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {"function": {"variable": "hydra.core.parsing.Parser"}, "argument": {"variable": "hydra.core.model.Type"}}}}},
        "body": {
          "annotated": {
            "body": {
              "application": {
                "function": {
                  "application": {
                    "function": {
                      "typeApplication": {
                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": {"integer": "int32"}}}},
                        "type": {"variable": "hydra.core.model.Type"}}},
                    "argument": {
                      "application": {
                        "function": {"typeApplication": {"body": {"variable": "hydra.core.parse.core.lexeme"}, "type": {"literal": {"integer": "int32"}}}},
                        "argument": {
                          "application": {"function": {"variable": "hydra.core.parsers.char"}, "argument": {"literal": {"integer": {"int32": 10216}}}}}}}}},
                "argument": {
                  "lambda": {
                    "parameter": "_",
                    "domain": {"literal": {"integer": "int32"}},
                    "body": {
                      "application": {
                        "function": {
                          "application": {
                            "function": {
                              "typeApplication": {
                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"variable": "hydra.core.model.Type"}}},
                                "type": {"variable": "hydra.core.model.Type"}}},
                            "argument": {
                              "application": {
                                "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.lazy"}, "type": {"variable": "hydra.core.model.Type"}}},
                                "argument": {"lambda": {"parameter": "_", "domain": "unit", "body": {"variable": "hydra.core.parse.core.type"}}}}}}},
                        "argument": {
                          "lambda": {
                            "parameter": "t",
                            "domain": {"variable": "hydra.core.model.Type"},
                            "body": {
                              "application": {
                                "function": {
                                  "application": {
                                    "function": {
                                      "typeApplication": {
                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": {"integer": "int32"}}}},
                                        "type": {"variable": "hydra.core.model.Type"}}},
                                    "argument": {
                                      "application": {
                                        "function": {"typeApplication": {"body": {"variable": "hydra.core.parse.core.lexeme"}, "type": {"literal": {"integer": "int32"}}}},
                                        "argument": {
                                          "application": {"function": {"variable": "hydra.core.parsers.char"}, "argument": {"literal": {"integer": {"int32": 10217}}}}}}}}},
                                "argument": {
                                  "lambda": {
                                    "parameter": "_",
                                    "domain": {"literal": {"integer": "int32"}},
                                    "body": {
                                      "application": {
                                        "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"variable": "hydra.core.model.Type"}}},
                                        "argument": {"variable": "t"}}}}}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "Parse a term-level type-application suffix: '⟨' type '⟩'"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.parse.core.typeAtom",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {"function": {"variable": "hydra.core.parsing.Parser"}, "argument": {"variable": "hydra.core.model.Type"}}}}},
        "body": {
          "annotated": {
            "body": {
              "application": {
                "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.choice"}, "type": {"variable": "hydra.core.model.Type"}}},
                "argument": {
                  "list": [
                    {
                      "application": {
                        "function": {
                          "application": {
                            "function": {
                              "typeApplication": {
                                "body": {
                                  "typeApplication": {"body": {"variable": "hydra.core.parsers.map"}, "type": {"variable": "hydra.core.model.LiteralType"}}},
                                "type": {"variable": "hydra.core.model.Type"}}},
                            "argument": {
                              "lambda": {
                                "parameter": "lt",
                                "domain": {"variable": "hydra.core.model.LiteralType"},
                                "body": {"inject": {"typeName": "hydra.core.model.Type", "field": {"name": "literal", "term": {"variable": "lt"}}}}}}}},
                        "argument": {"variable": "hydra.core.parse.core.literalTypeLit"}}},
                    {
                      "application": {
                        "function": {
                          "application": {
                            "function": {
                              "typeApplication": {
                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                "type": {"variable": "hydra.core.model.Type"}}},
                            "argument": {
                              "application": {"function": {"variable": "hydra.core.parse.core.typeKeyword"}, "argument": {"literal": {"string": "effect"}}}}}},
                        "argument": {
                          "lambda": {
                            "parameter": "_",
                            "domain": {"literal": "string"},
                            "body": {
                              "application": {
                                "function": {
                                  "application": {
                                    "function": {
                                      "typeApplication": {
                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.map"}, "type": {"variable": "hydra.core.model.Type"}}},
                                        "type": {"variable": "hydra.core.model.Type"}}},
                                    "argument": {
                                      "lambda": {
                                        "parameter": "t",
                                        "domain": {"variable": "hydra.core.model.Type"},
                                        "body": {"inject": {"typeName": "hydra.core.model.Type", "field": {"name": "effect", "term": {"variable": "t"}}}}}}}},
                                "argument": {
                                  "application": {
                                    "function": {
                                      "application": {
                                        "function": {
                                          "typeApplication": {
                                            "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                            "type": {"variable": "hydra.core.model.Type"}}},
                                        "argument": {
                                          "application": {"function": {"variable": "hydra.core.parse.core.typeKeyword"}, "argument": {"literal": {"string": "<"}}}}}},
                                    "argument": {
                                      "lambda": {
                                        "parameter": "_",
                                        "domain": {"literal": "string"},
                                        "body": {
                                          "application": {
                                            "function": {
                                              "application": {
                                                "function": {
                                                  "typeApplication": {
                                                    "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"variable": "hydra.core.model.Type"}}},
                                                    "type": {"variable": "hydra.core.model.Type"}}},
                                                "argument": {
                                                  "application": {
                                                    "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.lazy"}, "type": {"variable": "hydra.core.model.Type"}}},
                                                    "argument": {"lambda": {"parameter": "_", "domain": "unit", "body": {"variable": "hydra.core.parse.core.type"}}}}}}},
                                            "argument": {
                                              "lambda": {
                                                "parameter": "t",
                                                "domain": {"variable": "hydra.core.model.Type"},
                                                "body": {
                                                  "application": {
                                                    "function": {
                                                      "application": {
                                                        "function": {
                                                          "typeApplication": {
                                                            "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                                            "type": {"variable": "hydra.core.model.Type"}}},
                                                        "argument": {
                                                          "application": {"function": {"variable": "hydra.core.parse.core.typeKeyword"}, "argument": {"literal": {"string": ">"}}}}}},
                                                    "argument": {
                                                      "lambda": {
                                                        "parameter": "_",
                                                        "domain": {"literal": "string"},
                                                        "body": {
                                                          "application": {
                                                            "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"variable": "hydra.core.model.Type"}}},
                                                            "argument": {"variable": "t"}}}}}}}}}}}}}}}}}}}}},
                    {
                      "application": {
                        "function": {
                          "application": {
                            "function": {
                              "typeApplication": {
                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                "type": {"variable": "hydra.core.model.Type"}}},
                            "argument": {
                              "application": {"function": {"variable": "hydra.core.parse.core.typeKeyword"}, "argument": {"literal": {"string": "either"}}}}}},
                        "argument": {
                          "lambda": {
                            "parameter": "_",
                            "domain": {"literal": "string"},
                            "body": {
                              "application": {
                                "function": {
                                  "application": {
                                    "function": {
                                      "typeApplication": {
                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                        "type": {"variable": "hydra.core.model.Type"}}},
                                    "argument": {
                                      "application": {"function": {"variable": "hydra.core.parse.core.typeKeyword"}, "argument": {"literal": {"string": "<"}}}}}},
                                "argument": {
                                  "lambda": {
                                    "parameter": "_",
                                    "domain": {"literal": "string"},
                                    "body": {
                                      "application": {
                                        "function": {
                                          "application": {
                                            "function": {
                                              "typeApplication": {
                                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"variable": "hydra.core.model.Type"}}},
                                                "type": {"variable": "hydra.core.model.Type"}}},
                                            "argument": {
                                              "application": {
                                                "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.lazy"}, "type": {"variable": "hydra.core.model.Type"}}},
                                                "argument": {"lambda": {"parameter": "_", "domain": "unit", "body": {"variable": "hydra.core.parse.core.type"}}}}}}},
                                        "argument": {
                                          "lambda": {
                                            "parameter": "l",
                                            "domain": {"variable": "hydra.core.model.Type"},
                                            "body": {
                                              "application": {
                                                "function": {
                                                  "application": {
                                                    "function": {
                                                      "typeApplication": {
                                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                                        "type": {"variable": "hydra.core.model.Type"}}},
                                                    "argument": {
                                                      "application": {"function": {"variable": "hydra.core.parse.core.typeKeyword"}, "argument": {"literal": {"string": ","}}}}}},
                                                "argument": {
                                                  "lambda": {
                                                    "parameter": "_",
                                                    "domain": {"literal": "string"},
                                                    "body": {
                                                      "application": {
                                                        "function": {
                                                          "application": {
                                                            "function": {
                                                              "typeApplication": {
                                                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"variable": "hydra.core.model.Type"}}},
                                                                "type": {"variable": "hydra.core.model.Type"}}},
                                                            "argument": {
                                                              "application": {
                                                                "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.lazy"}, "type": {"variable": "hydra.core.model.Type"}}},
                                                                "argument": {"lambda": {"parameter": "_", "domain": "unit", "body": {"variable": "hydra.core.parse.core.type"}}}}}}},
                                                        "argument": {
                                                          "lambda": {
                                                            "parameter": "r",
                                                            "domain": {"variable": "hydra.core.model.Type"},
                                                            "body": {
                                                              "application": {
                                                                "function": {
                                                                  "application": {
                                                                    "function": {
                                                                      "typeApplication": {
                                                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                                                        "type": {"variable": "hydra.core.model.Type"}}},
                                                                    "argument": {
                                                                      "application": {"function": {"variable": "hydra.core.parse.core.typeKeyword"}, "argument": {"literal": {"string": ">"}}}}}},
                                                                "argument": {
                                                                  "lambda": {
                                                                    "parameter": "_",
                                                                    "domain": {"literal": "string"},
                                                                    "body": {
                                                                      "application": {
                                                                        "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"variable": "hydra.core.model.Type"}}},
                                                                        "argument": {
                                                                          "inject": {
                                                                            "typeName": "hydra.core.model.Type",
                                                                            "field": {
                                                                              "name": "either",
                                                                              "term": {
                                                                                "record": {
                                                                                  "typeName": "hydra.core.model.EitherType",
                                                                                  "fields": [{"name": "left", "term": {"variable": "l"}}, {"name": "right", "term": {"variable": "r"}}]}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},
                    {
                      "application": {
                        "function": {
                          "application": {
                            "function": {
                              "typeApplication": {
                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                "type": {"variable": "hydra.core.model.Type"}}},
                            "argument": {
                              "application": {"function": {"variable": "hydra.core.parse.core.typeKeyword"}, "argument": {"literal": {"string": "forall"}}}}}},
                        "argument": {
                          "lambda": {
                            "parameter": "_",
                            "domain": {"literal": "string"},
                            "body": {
                              "application": {
                                "function": {
                                  "application": {
                                    "function": {
                                      "typeApplication": {
                                        "body": {
                                          "typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"list": {"variable": "hydra.core.model.Name"}}}},
                                        "type": {"variable": "hydra.core.model.Type"}}},
                                    "argument": {
                                      "application": {
                                        "function": {
                                          "application": {
                                            "function": {
                                              "typeApplication": {
                                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.sepBy1"}, "type": {"variable": "hydra.core.model.Name"}}},
                                                "type": {"literal": "string"}}},
                                            "argument": {"variable": "hydra.core.parse.core.binderName"}}},
                                        "argument": {
                                          "application": {"function": {"variable": "hydra.core.parse.core.typeKeyword"}, "argument": {"literal": {"string": ","}}}}}}}},
                                "argument": {
                                  "lambda": {
                                    "parameter": "vs",
                                    "domain": {"list": {"variable": "hydra.core.model.Name"}},
                                    "body": {
                                      "application": {
                                        "function": {
                                          "application": {
                                            "function": {
                                              "typeApplication": {
                                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                                "type": {"variable": "hydra.core.model.Type"}}},
                                            "argument": {
                                              "application": {"function": {"variable": "hydra.core.parse.core.typeKeyword"}, "argument": {"literal": {"string": "."}}}}}},
                                        "argument": {
                                          "lambda": {
                                            "parameter": "_",
                                            "domain": {"literal": "string"},
                                            "body": {
                                              "application": {
                                                "function": {
                                                  "application": {
                                                    "function": {
                                                      "typeApplication": {
                                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.map"}, "type": {"variable": "hydra.core.model.Type"}}},
                                                        "type": {"variable": "hydra.core.model.Type"}}},
                                                    "argument": {
                                                      "lambda": {
                                                        "parameter": "body",
                                                        "domain": {"variable": "hydra.core.model.Type"},
                                                        "body": {
                                                          "application": {
                                                            "function": {
                                                              "application": {
                                                                "function": {
                                                                  "application": {
                                                                    "function": {
                                                                      "typeApplication": {
                                                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.lib.lists.foldl"}, "type": {"variable": "hydra.core.model.Type"}}},
                                                                        "type": {"variable": "hydra.core.model.Name"}}},
                                                                    "argument": {
                                                                      "lambda": {
                                                                        "parameter": "t",
                                                                        "domain": {"variable": "hydra.core.model.Type"},
                                                                        "body": {
                                                                          "lambda": {
                                                                            "parameter": "v",
                                                                            "domain": {"variable": "hydra.core.model.Name"},
                                                                            "body": {
                                                                              "inject": {
                                                                                "typeName": "hydra.core.model.Type",
                                                                                "field": {
                                                                                  "name": "forall",
                                                                                  "term": {
                                                                                    "record": {
                                                                                      "typeName": "hydra.core.model.ForallType",
                                                                                      "fields": [{"name": "parameter", "term": {"variable": "v"}}, {"name": "body", "term": {"variable": "t"}}]}}}}}}}}}}},
                                                                "argument": {"variable": "body"}}},
                                                            "argument": {
                                                              "application": {
                                                                "function": {
                                                                  "typeApplication": {"body": {"variable": "hydra.core.lib.lists.reverse"}, "type": {"variable": "hydra.core.model.Name"}}},
                                                                "argument": {"variable": "vs"}}}}}}}}},
                                                "argument": {
                                                  "application": {
                                                    "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.lazy"}, "type": {"variable": "hydra.core.model.Type"}}},
                                                    "argument": {"lambda": {"parameter": "_", "domain": "unit", "body": {"variable": "hydra.core.parse.core.type"}}}}}}}}}}}}}}}}}}},
                    {
                      "application": {
                        "function": {
                          "application": {
                            "function": {
                              "typeApplication": {
                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                "type": {"variable": "hydra.core.model.Type"}}},
                            "argument": {
                              "application": {"function": {"variable": "hydra.core.parse.core.typeKeyword"}, "argument": {"literal": {"string": "list"}}}}}},
                        "argument": {
                          "lambda": {
                            "parameter": "_",
                            "domain": {"literal": "string"},
                            "body": {
                              "application": {
                                "function": {
                                  "application": {
                                    "function": {
                                      "typeApplication": {
                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.map"}, "type": {"variable": "hydra.core.model.Type"}}},
                                        "type": {"variable": "hydra.core.model.Type"}}},
                                    "argument": {
                                      "lambda": {
                                        "parameter": "t",
                                        "domain": {"variable": "hydra.core.model.Type"},
                                        "body": {"inject": {"typeName": "hydra.core.model.Type", "field": {"name": "list", "term": {"variable": "t"}}}}}}}},
                                "argument": {
                                  "application": {
                                    "function": {
                                      "application": {
                                        "function": {
                                          "typeApplication": {
                                            "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                            "type": {"variable": "hydra.core.model.Type"}}},
                                        "argument": {
                                          "application": {"function": {"variable": "hydra.core.parse.core.typeKeyword"}, "argument": {"literal": {"string": "<"}}}}}},
                                    "argument": {
                                      "lambda": {
                                        "parameter": "_",
                                        "domain": {"literal": "string"},
                                        "body": {
                                          "application": {
                                            "function": {
                                              "application": {
                                                "function": {
                                                  "typeApplication": {
                                                    "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"variable": "hydra.core.model.Type"}}},
                                                    "type": {"variable": "hydra.core.model.Type"}}},
                                                "argument": {
                                                  "application": {
                                                    "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.lazy"}, "type": {"variable": "hydra.core.model.Type"}}},
                                                    "argument": {"lambda": {"parameter": "_", "domain": "unit", "body": {"variable": "hydra.core.parse.core.type"}}}}}}},
                                            "argument": {
                                              "lambda": {
                                                "parameter": "t",
                                                "domain": {"variable": "hydra.core.model.Type"},
                                                "body": {
                                                  "application": {
                                                    "function": {
                                                      "application": {
                                                        "function": {
                                                          "typeApplication": {
                                                            "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                                            "type": {"variable": "hydra.core.model.Type"}}},
                                                        "argument": {
                                                          "application": {"function": {"variable": "hydra.core.parse.core.typeKeyword"}, "argument": {"literal": {"string": ">"}}}}}},
                                                    "argument": {
                                                      "lambda": {
                                                        "parameter": "_",
                                                        "domain": {"literal": "string"},
                                                        "body": {
                                                          "application": {
                                                            "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"variable": "hydra.core.model.Type"}}},
                                                            "argument": {"variable": "t"}}}}}}}}}}}}}}}}}}}}},
                    {
                      "application": {
                        "function": {
                          "application": {
                            "function": {
                              "typeApplication": {
                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                "type": {"variable": "hydra.core.model.Type"}}},
                            "argument": {
                              "application": {"function": {"variable": "hydra.core.parse.core.typeKeyword"}, "argument": {"literal": {"string": "map"}}}}}},
                        "argument": {
                          "lambda": {
                            "parameter": "_",
                            "domain": {"literal": "string"},
                            "body": {
                              "application": {
                                "function": {
                                  "application": {
                                    "function": {
                                      "typeApplication": {
                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                        "type": {"variable": "hydra.core.model.Type"}}},
                                    "argument": {
                                      "application": {"function": {"variable": "hydra.core.parse.core.typeKeyword"}, "argument": {"literal": {"string": "<"}}}}}},
                                "argument": {
                                  "lambda": {
                                    "parameter": "_",
                                    "domain": {"literal": "string"},
                                    "body": {
                                      "application": {
                                        "function": {
                                          "application": {
                                            "function": {
                                              "typeApplication": {
                                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"variable": "hydra.core.model.Type"}}},
                                                "type": {"variable": "hydra.core.model.Type"}}},
                                            "argument": {
                                              "application": {
                                                "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.lazy"}, "type": {"variable": "hydra.core.model.Type"}}},
                                                "argument": {"lambda": {"parameter": "_", "domain": "unit", "body": {"variable": "hydra.core.parse.core.type"}}}}}}},
                                        "argument": {
                                          "lambda": {
                                            "parameter": "k",
                                            "domain": {"variable": "hydra.core.model.Type"},
                                            "body": {
                                              "application": {
                                                "function": {
                                                  "application": {
                                                    "function": {
                                                      "typeApplication": {
                                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                                        "type": {"variable": "hydra.core.model.Type"}}},
                                                    "argument": {
                                                      "application": {"function": {"variable": "hydra.core.parse.core.typeKeyword"}, "argument": {"literal": {"string": ","}}}}}},
                                                "argument": {
                                                  "lambda": {
                                                    "parameter": "_",
                                                    "domain": {"literal": "string"},
                                                    "body": {
                                                      "application": {
                                                        "function": {
                                                          "application": {
                                                            "function": {
                                                              "typeApplication": {
                                                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"variable": "hydra.core.model.Type"}}},
                                                                "type": {"variable": "hydra.core.model.Type"}}},
                                                            "argument": {
                                                              "application": {
                                                                "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.lazy"}, "type": {"variable": "hydra.core.model.Type"}}},
                                                                "argument": {"lambda": {"parameter": "_", "domain": "unit", "body": {"variable": "hydra.core.parse.core.type"}}}}}}},
                                                        "argument": {
                                                          "lambda": {
                                                            "parameter": "v",
                                                            "domain": {"variable": "hydra.core.model.Type"},
                                                            "body": {
                                                              "application": {
                                                                "function": {
                                                                  "application": {
                                                                    "function": {
                                                                      "typeApplication": {
                                                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                                                        "type": {"variable": "hydra.core.model.Type"}}},
                                                                    "argument": {
                                                                      "application": {"function": {"variable": "hydra.core.parse.core.typeKeyword"}, "argument": {"literal": {"string": ">"}}}}}},
                                                                "argument": {
                                                                  "lambda": {
                                                                    "parameter": "_",
                                                                    "domain": {"literal": "string"},
                                                                    "body": {
                                                                      "application": {
                                                                        "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"variable": "hydra.core.model.Type"}}},
                                                                        "argument": {
                                                                          "inject": {
                                                                            "typeName": "hydra.core.model.Type",
                                                                            "field": {
                                                                              "name": "map",
                                                                              "term": {
                                                                                "record": {
                                                                                  "typeName": "hydra.core.model.MapType",
                                                                                  "fields": [{"name": "keys", "term": {"variable": "k"}}, {"name": "values", "term": {"variable": "v"}}]}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},
                    {
                      "application": {
                        "function": {
                          "application": {
                            "function": {
                              "typeApplication": {
                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                "type": {"variable": "hydra.core.model.Type"}}},
                            "argument": {
                              "application": {"function": {"variable": "hydra.core.parse.core.typeKeyword"}, "argument": {"literal": {"string": "optional"}}}}}},
                        "argument": {
                          "lambda": {
                            "parameter": "_",
                            "domain": {"literal": "string"},
                            "body": {
                              "application": {
                                "function": {
                                  "application": {
                                    "function": {
                                      "typeApplication": {
                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.map"}, "type": {"variable": "hydra.core.model.Type"}}},
                                        "type": {"variable": "hydra.core.model.Type"}}},
                                    "argument": {
                                      "lambda": {
                                        "parameter": "t",
                                        "domain": {"variable": "hydra.core.model.Type"},
                                        "body": {"inject": {"typeName": "hydra.core.model.Type", "field": {"name": "optional", "term": {"variable": "t"}}}}}}}},
                                "argument": {
                                  "application": {
                                    "function": {
                                      "application": {
                                        "function": {
                                          "typeApplication": {
                                            "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                            "type": {"variable": "hydra.core.model.Type"}}},
                                        "argument": {
                                          "application": {"function": {"variable": "hydra.core.parse.core.typeKeyword"}, "argument": {"literal": {"string": "<"}}}}}},
                                    "argument": {
                                      "lambda": {
                                        "parameter": "_",
                                        "domain": {"literal": "string"},
                                        "body": {
                                          "application": {
                                            "function": {
                                              "application": {
                                                "function": {
                                                  "typeApplication": {
                                                    "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"variable": "hydra.core.model.Type"}}},
                                                    "type": {"variable": "hydra.core.model.Type"}}},
                                                "argument": {
                                                  "application": {
                                                    "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.lazy"}, "type": {"variable": "hydra.core.model.Type"}}},
                                                    "argument": {"lambda": {"parameter": "_", "domain": "unit", "body": {"variable": "hydra.core.parse.core.type"}}}}}}},
                                            "argument": {
                                              "lambda": {
                                                "parameter": "t",
                                                "domain": {"variable": "hydra.core.model.Type"},
                                                "body": {
                                                  "application": {
                                                    "function": {
                                                      "application": {
                                                        "function": {
                                                          "typeApplication": {
                                                            "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                                            "type": {"variable": "hydra.core.model.Type"}}},
                                                        "argument": {
                                                          "application": {"function": {"variable": "hydra.core.parse.core.typeKeyword"}, "argument": {"literal": {"string": ">"}}}}}},
                                                    "argument": {
                                                      "lambda": {
                                                        "parameter": "_",
                                                        "domain": {"literal": "string"},
                                                        "body": {
                                                          "application": {
                                                            "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"variable": "hydra.core.model.Type"}}},
                                                            "argument": {"variable": "t"}}}}}}}}}}}}}}}}}}}}},
                    {
                      "application": {
                        "function": {
                          "application": {
                            "function": {
                              "typeApplication": {
                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                "type": {"variable": "hydra.core.model.Type"}}},
                            "argument": {
                              "application": {"function": {"variable": "hydra.core.parse.core.typeKeyword"}, "argument": {"literal": {"string": "record"}}}}}},
                        "argument": {
                          "lambda": {
                            "parameter": "_",
                            "domain": {"literal": "string"},
                            "body": {
                              "application": {
                                "function": {
                                  "application": {
                                    "function": {
                                      "typeApplication": {
                                        "body": {
                                          "typeApplication": {"body": {"variable": "hydra.core.parsers.map"}, "type": {"list": {"variable": "hydra.core.model.FieldType"}}}},
                                        "type": {"variable": "hydra.core.model.Type"}}},
                                    "argument": {
                                      "lambda": {
                                        "parameter": "flds",
                                        "domain": {"list": {"variable": "hydra.core.model.FieldType"}},
                                        "body": {"inject": {"typeName": "hydra.core.model.Type", "field": {"name": "record", "term": {"variable": "flds"}}}}}}}},
                                "argument": {
                                  "application": {
                                    "function": {
                                      "application": {
                                        "function": {
                                          "typeApplication": {
                                            "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                            "type": {"list": {"variable": "hydra.core.model.FieldType"}}}},
                                        "argument": {
                                          "application": {
                                            "function": {
                                              "lambda": {
                                                "parameter": "kw",
                                                "domain": {"literal": "string"},
                                                "body": {
                                                  "application": {
                                                    "function": {
                                                      "application": {
                                                        "function": {
                                                          "typeApplication": {
                                                            "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                                            "type": {"literal": "string"}}},
                                                        "argument": {"application": {"function": {"variable": "hydra.core.parsers.string"}, "argument": {"variable": "kw"}}}}},
                                                    "argument": {
                                                      "lambda": {
                                                        "parameter": "_",
                                                        "domain": {"literal": "string"},
                                                        "body": {
                                                          "application": {
                                                            "function": {
                                                              "application": {
                                                                "function": {
                                                                  "typeApplication": {
                                                                    "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": "unit"}},
                                                                    "type": {"literal": "string"}}},
                                                                "argument": {
                                                                  "application": {
                                                                    "function": {
                                                                      "application": {
                                                                        "function": {
                                                                          "typeApplication": {
                                                                            "body": {
                                                                              "typeApplication": {"body": {"variable": "hydra.core.parsers.map"}, "type": {"list": {"literal": {"integer": "int32"}}}}},
                                                                            "type": "unit"}},
                                                                        "argument": {"lambda": {"parameter": "_", "domain": {"list": {"literal": {"integer": "int32"}}}, "body": "unit"}}}},
                                                                    "argument": {
                                                                      "application": {
                                                                        "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.many"}, "type": {"literal": {"integer": "int32"}}}},
                                                                        "argument": {
                                                                          "application": {
                                                                            "function": {"variable": "hydra.core.parsers.satisfy"},
                                                                            "argument": {
                                                                              "lambda": {
                                                                                "parameter": "c",
                                                                                "domain": {"literal": {"integer": "int32"}},
                                                                                "body": {"application": {"function": {"variable": "hydra.core.lib.chars.isSpace"}, "argument": {"variable": "c"}}}}}}}}}}}}},
                                                            "argument": {
                                                              "lambda": {
                                                                "parameter": "_",
                                                                "domain": "unit",
                                                                "body": {
                                                                  "application": {
                                                                    "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"literal": "string"}}},
                                                                    "argument": {"variable": "kw"}}}}}}}}}}}}},
                                            "argument": {"literal": {"string": "{"}}}}}},
                                    "argument": {
                                      "lambda": {
                                        "parameter": "_",
                                        "domain": {"literal": "string"},
                                        "body": {
                                          "application": {
                                            "function": {
                                              "application": {
                                                "function": {
                                                  "typeApplication": {
                                                    "body": {
                                                      "typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"list": {"variable": "hydra.core.model.FieldType"}}}},
                                                    "type": {"list": {"variable": "hydra.core.model.FieldType"}}}},
                                                "argument": {
                                                  "application": {
                                                    "function": {
                                                      "application": {
                                                        "function": {
                                                          "typeApplication": {
                                                            "body": {
                                                              "typeApplication": {"body": {"variable": "hydra.core.parsers.sepBy"}, "type": {"variable": "hydra.core.model.FieldType"}}},
                                                            "type": {"literal": "string"}}},
                                                        "argument": {
                                                          "application": {
                                                            "function": {
                                                              "application": {
                                                                "function": {
                                                                  "typeApplication": {
                                                                    "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"optional": {"literal": "string"}}}},
                                                                    "type": {"variable": "hydra.core.model.FieldType"}}},
                                                                "argument": {
                                                                  "application": {
                                                                    "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.optional"}, "type": {"literal": "string"}}},
                                                                    "argument": {
                                                                      "application": {
                                                                        "function": {
                                                                          "application": {
                                                                            "function": {
                                                                              "typeApplication": {
                                                                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": {"integer": "int32"}}}},
                                                                                "type": {"literal": "string"}}},
                                                                            "argument": {
                                                                              "application": {"function": {"variable": "hydra.core.parsers.char"}, "argument": {"literal": {"integer": {"int32": 35}}}}}}},
                                                                        "argument": {
                                                                          "lambda": {
                                                                            "parameter": "_",
                                                                            "domain": {"literal": {"integer": "int32"}},
                                                                            "body": {
                                                                              "application": {
                                                                                "function": {
                                                                                  "application": {
                                                                                    "function": {
                                                                                      "typeApplication": {
                                                                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": {"integer": "int32"}}}},
                                                                                        "type": {"literal": "string"}}},
                                                                                    "argument": {
                                                                                      "application": {"function": {"variable": "hydra.core.parsers.char"}, "argument": {"literal": {"integer": {"int32": 35}}}}}}},
                                                                                "argument": {
                                                                                  "lambda": {
                                                                                    "parameter": "_",
                                                                                    "domain": {"literal": {"integer": "int32"}},
                                                                                    "body": {
                                                                                      "application": {
                                                                                        "function": {
                                                                                          "application": {
                                                                                            "function": {
                                                                                              "typeApplication": {
                                                                                                "body": {
                                                                                                  "typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"optional": {"literal": {"integer": "int32"}}}}},
                                                                                                "type": {"literal": "string"}}},
                                                                                            "argument": {
                                                                                              "application": {
                                                                                                "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.optional"}, "type": {"literal": {"integer": "int32"}}}},
                                                                                                "argument": {
                                                                                                  "application": {"function": {"variable": "hydra.core.parsers.char"}, "argument": {"literal": {"integer": {"int32": 32}}}}}}}}},
                                                                                        "argument": {
                                                                                          "lambda": {
                                                                                            "parameter": "_",
                                                                                            "domain": {"optional": {"literal": {"integer": "int32"}}},
                                                                                            "body": {
                                                                                              "application": {
                                                                                                "function": {
                                                                                                  "application": {
                                                                                                    "function": {
                                                                                                      "typeApplication": {
                                                                                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                                                                                        "type": {"literal": "string"}}},
                                                                                                    "argument": {
                                                                                                      "application": {
                                                                                                        "function": {
                                                                                                          "application": {
                                                                                                            "function": {
                                                                                                              "typeApplication": {
                                                                                                                "body": {
                                                                                                                  "typeApplication": {"body": {"variable": "hydra.core.parsers.map"}, "type": {"list": {"literal": {"integer": "int32"}}}}},
                                                                                                                "type": {"literal": "string"}}},
                                                                                                            "argument": {
                                                                                                              "lambda": {
                                                                                                                "parameter": "cs",
                                                                                                                "domain": {"list": {"literal": {"integer": "int32"}}},
                                                                                                                "body": {"application": {"function": {"variable": "hydra.core.lib.strings.fromList"}, "argument": {"variable": "cs"}}}}}}},
                                                                                                        "argument": {
                                                                                                          "application": {
                                                                                                            "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.many"}, "type": {"literal": {"integer": "int32"}}}},
                                                                                                            "argument": {
                                                                                                              "application": {
                                                                                                                "function": {"variable": "hydra.core.parsers.satisfy"},
                                                                                                                "argument": {
                                                                                                                  "lambda": {
                                                                                                                    "parameter": "c",
                                                                                                                    "domain": {"literal": {"integer": "int32"}},
                                                                                                                    "body": {
                                                                                                                      "application": {
                                                                                                                        "function": {"variable": "hydra.core.lib.logic.not"},
                                                                                                                        "argument": {
                                                                                                                          "application": {
                                                                                                                            "function": {
                                                                                                                              "application": {
                                                                                                                                "function": {"typeApplication": {"body": {"variable": "hydra.core.lib.equality.equal"}, "type": {"literal": {"integer": "int32"}}}},
                                                                                                                                "argument": {"variable": "c"}}},
                                                                                                                            "argument": {"literal": {"integer": {"int32": 10}}}}}}}}}}}}}}}}},
                                                                                                "argument": {
                                                                                                  "lambda": {
                                                                                                    "parameter": "s",
                                                                                                    "domain": {"literal": "string"},
                                                                                                    "body": {
                                                                                                      "application": {
                                                                                                        "function": {
                                                                                                          "application": {
                                                                                                            "function": {
                                                                                                              "typeApplication": {
                                                                                                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": "unit"}},
                                                                                                                "type": {"literal": "string"}}},
                                                                                                            "argument": {
                                                                                                              "application": {
                                                                                                                "function": {
                                                                                                                  "application": {
                                                                                                                    "function": {
                                                                                                                      "typeApplication": {
                                                                                                                        "body": {
                                                                                                                          "typeApplication": {"body": {"variable": "hydra.core.parsers.map"}, "type": {"list": {"literal": {"integer": "int32"}}}}},
                                                                                                                        "type": "unit"}},
                                                                                                                    "argument": {"lambda": {"parameter": "_", "domain": {"list": {"literal": {"integer": "int32"}}}, "body": "unit"}}}},
                                                                                                                "argument": {
                                                                                                                  "application": {
                                                                                                                    "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.many"}, "type": {"literal": {"integer": "int32"}}}},
                                                                                                                    "argument": {
                                                                                                                      "application": {
                                                                                                                        "function": {"variable": "hydra.core.parsers.satisfy"},
                                                                                                                        "argument": {
                                                                                                                          "lambda": {
                                                                                                                            "parameter": "c",
                                                                                                                            "domain": {"literal": {"integer": "int32"}},
                                                                                                                            "body": {"application": {"function": {"variable": "hydra.core.lib.chars.isSpace"}, "argument": {"variable": "c"}}}}}}}}}}}}},
                                                                                                        "argument": {
                                                                                                          "lambda": {
                                                                                                            "parameter": "_",
                                                                                                            "domain": "unit",
                                                                                                            "body": {
                                                                                                              "application": {
                                                                                                                "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"literal": "string"}}},
                                                                                                                "argument": {"variable": "s"}}}}}}}}}}}}}}}}}}}}}}}}}}},
                                                            "argument": {
                                                              "lambda": {
                                                                "parameter": "mdesc",
                                                                "domain": {"optional": {"literal": "string"}},
                                                                "body": {
                                                                  "application": {
                                                                    "function": {
                                                                      "application": {
                                                                        "function": {
                                                                          "typeApplication": {
                                                                            "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"variable": "hydra.core.model.Name"}}},
                                                                            "type": {"variable": "hydra.core.model.FieldType"}}},
                                                                        "argument": {"variable": "hydra.core.parse.core.name"}}},
                                                                    "argument": {
                                                                      "lambda": {
                                                                        "parameter": "fname",
                                                                        "domain": {"variable": "hydra.core.model.Name"},
                                                                        "body": {
                                                                          "application": {
                                                                            "function": {
                                                                              "application": {
                                                                                "function": {
                                                                                  "typeApplication": {
                                                                                    "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                                                                    "type": {"variable": "hydra.core.model.FieldType"}}},
                                                                                "argument": {
                                                                                  "application": {
                                                                                    "function": {
                                                                                      "lambda": {
                                                                                        "parameter": "kw",
                                                                                        "domain": {"literal": "string"},
                                                                                        "body": {
                                                                                          "application": {
                                                                                            "function": {
                                                                                              "application": {
                                                                                                "function": {
                                                                                                  "typeApplication": {
                                                                                                    "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                                                                                    "type": {"literal": "string"}}},
                                                                                                "argument": {"application": {"function": {"variable": "hydra.core.parsers.string"}, "argument": {"variable": "kw"}}}}},
                                                                                            "argument": {
                                                                                              "lambda": {
                                                                                                "parameter": "_",
                                                                                                "domain": {"literal": "string"},
                                                                                                "body": {
                                                                                                  "application": {
                                                                                                    "function": {
                                                                                                      "application": {
                                                                                                        "function": {
                                                                                                          "typeApplication": {
                                                                                                            "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": "unit"}},
                                                                                                            "type": {"literal": "string"}}},
                                                                                                        "argument": {
                                                                                                          "application": {
                                                                                                            "function": {
                                                                                                              "application": {
                                                                                                                "function": {
                                                                                                                  "typeApplication": {
                                                                                                                    "body": {
                                                                                                                      "typeApplication": {"body": {"variable": "hydra.core.parsers.map"}, "type": {"list": {"literal": {"integer": "int32"}}}}},
                                                                                                                    "type": "unit"}},
                                                                                                                "argument": {"lambda": {"parameter": "_", "domain": {"list": {"literal": {"integer": "int32"}}}, "body": "unit"}}}},
                                                                                                            "argument": {
                                                                                                              "application": {
                                                                                                                "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.many"}, "type": {"literal": {"integer": "int32"}}}},
                                                                                                                "argument": {
                                                                                                                  "application": {
                                                                                                                    "function": {"variable": "hydra.core.parsers.satisfy"},
                                                                                                                    "argument": {
                                                                                                                      "lambda": {
                                                                                                                        "parameter": "c",
                                                                                                                        "domain": {"literal": {"integer": "int32"}},
                                                                                                                        "body": {"application": {"function": {"variable": "hydra.core.lib.chars.isSpace"}, "argument": {"variable": "c"}}}}}}}}}}}}},
                                                                                                    "argument": {
                                                                                                      "lambda": {
                                                                                                        "parameter": "_",
                                                                                                        "domain": "unit",
                                                                                                        "body": {
                                                                                                          "application": {
                                                                                                            "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"literal": "string"}}},
                                                                                                            "argument": {"variable": "kw"}}}}}}}}}}}}},
                                                                                    "argument": {"literal": {"string": ":"}}}}}},
                                                                            "argument": {
                                                                              "lambda": {
                                                                                "parameter": "_",
                                                                                "domain": {"literal": "string"},
                                                                                "body": {
                                                                                  "application": {
                                                                                    "function": {
                                                                                      "application": {
                                                                                        "function": {
                                                                                          "typeApplication": {
                                                                                            "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.map"}, "type": {"variable": "hydra.core.model.Type"}}},
                                                                                            "type": {"variable": "hydra.core.model.FieldType"}}},
                                                                                        "argument": {
                                                                                          "lambda": {
                                                                                            "parameter": "t",
                                                                                            "domain": {"variable": "hydra.core.model.Type"},
                                                                                            "body": {
                                                                                              "record": {
                                                                                                "typeName": "hydra.core.model.FieldType",
                                                                                                "fields": [
                                                                                                  {"name": "name", "term": {"variable": "fname"}},
                                                                                                  {
                                                                                                    "name": "type",
                                                                                                    "term": {
                                                                                                      "application": {
                                                                                                        "function": {
                                                                                                          "application": {
                                                                                                            "function": {
                                                                                                              "lambda": {
                                                                                                                "parameter": "mdesc",
                                                                                                                "domain": {"optional": {"literal": "string"}},
                                                                                                                "body": {
                                                                                                                  "lambda": {
                                                                                                                    "parameter": "t",
                                                                                                                    "domain": {"variable": "hydra.core.model.Type"},
                                                                                                                    "body": {
                                                                                                                      "application": {
                                                                                                                        "function": {
                                                                                                                          "application": {
                                                                                                                            "function": {
                                                                                                                              "application": {
                                                                                                                                "function": {
                                                                                                                                  "typeApplication": {
                                                                                                                                    "body": {"typeApplication": {"body": {"variable": "hydra.core.lib.optionals.match"}, "type": {"literal": "string"}}},
                                                                                                                                    "type": {"variable": "hydra.core.model.Type"}}},
                                                                                                                                "argument": {"variable": "mdesc"}}},
                                                                                                                            "argument": {"variable": "t"}}},
                                                                                                                        "argument": {
                                                                                                                          "lambda": {
                                                                                                                            "parameter": "d",
                                                                                                                            "domain": {"literal": "string"},
                                                                                                                            "body": {
                                                                                                                              "inject": {
                                                                                                                                "typeName": "hydra.core.model.Type",
                                                                                                                                "field": {
                                                                                                                                  "name": "annotated",
                                                                                                                                  "term": {
                                                                                                                                    "record": {
                                                                                                                                      "typeName": "hydra.core.model.AnnotatedType",
                                                                                                                                      "fields": [
                                                                                                                                        {"name": "body", "term": {"variable": "t"}},
                                                                                                                                        {
                                                                                                                                          "name": "annotation",
                                                                                                                                          "term": {
                                                                                                                                            "inject": {
                                                                                                                                              "typeName": "hydra.core.model.Term",
                                                                                                                                              "field": {
                                                                                                                                                "name": "map",
                                                                                                                                                "term": {
                                                                                                                                                  "application": {
                                                                                                                                                    "function": {
                                                                                                                                                      "typeApplication": {
                                                                                                                                                        "body": {
                                                                                                                                                          "typeApplication": {"body": {"variable": "hydra.core.lib.maps.fromList"}, "type": {"variable": "hydra.core.model.Term"}}},
                                                                                                                                                        "type": {"variable": "hydra.core.model.Term"}}},
                                                                                                                                                    "argument": {
                                                                                                                                                      "list": [
                                                                                                                                                        {
                                                                                                                                                          "typeApplication": {
                                                                                                                                                            "body": {
                                                                                                                                                              "typeApplication": {
                                                                                                                                                                "body": {
                                                                                                                                                                  "pair": {
                                                                                                                                                                    "first": {
                                                                                                                                                                      "inject": {
                                                                                                                                                                        "typeName": "hydra.core.model.Term",
                                                                                                                                                                        "field": {
                                                                                                                                                                          "name": "variable",
                                                                                                                                                                          "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "description"}}}}}}},
                                                                                                                                                                    "second": {
                                                                                                                                                                      "inject": {
                                                                                                                                                                        "typeName": "hydra.core.model.Term",
                                                                                                                                                                        "field": {
                                                                                                                                                                          "name": "literal",
                                                                                                                                                                          "term": {"inject": {"typeName": "hydra.core.model.Literal", "field": {"name": "string", "term": {"variable": "d"}}}}}}}}},
                                                                                                                                                                "type": {"variable": "hydra.core.model.Term"}}},
                                                                                                                                                            "type": {"variable": "hydra.core.model.Term"}}}]}}}}}}}]}}}}}}}}}}}}},
                                                                                                            "argument": {"variable": "mdesc"}}},
                                                                                                        "argument": {"variable": "t"}}}}]}}}}}},
                                                                                    "argument": {
                                                                                      "application": {
                                                                                        "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.lazy"}, "type": {"variable": "hydra.core.model.Type"}}},
                                                                                        "argument": {"lambda": {"parameter": "_", "domain": "unit", "body": {"variable": "hydra.core.parse.core.type"}}}}}}}}}}}}}}}}}}}}},
                                                    "argument": {
                                                      "application": {
                                                        "function": {
                                                          "lambda": {
                                                            "parameter": "kw",
                                                            "domain": {"literal": "string"},
                                                            "body": {
                                                              "application": {
                                                                "function": {
                                                                  "application": {
                                                                    "function": {
                                                                      "typeApplication": {
                                                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                                                        "type": {"literal": "string"}}},
                                                                    "argument": {"application": {"function": {"variable": "hydra.core.parsers.string"}, "argument": {"variable": "kw"}}}}},
                                                                "argument": {
                                                                  "lambda": {
                                                                    "parameter": "_",
                                                                    "domain": {"literal": "string"},
                                                                    "body": {
                                                                      "application": {
                                                                        "function": {
                                                                          "application": {
                                                                            "function": {
                                                                              "typeApplication": {
                                                                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": "unit"}},
                                                                                "type": {"literal": "string"}}},
                                                                            "argument": {
                                                                              "application": {
                                                                                "function": {
                                                                                  "application": {
                                                                                    "function": {
                                                                                      "typeApplication": {
                                                                                        "body": {
                                                                                          "typeApplication": {"body": {"variable": "hydra.core.parsers.map"}, "type": {"list": {"literal": {"integer": "int32"}}}}},
                                                                                        "type": "unit"}},
                                                                                    "argument": {"lambda": {"parameter": "_", "domain": {"list": {"literal": {"integer": "int32"}}}, "body": "unit"}}}},
                                                                                "argument": {
                                                                                  "application": {
                                                                                    "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.many"}, "type": {"literal": {"integer": "int32"}}}},
                                                                                    "argument": {
                                                                                      "application": {
                                                                                        "function": {"variable": "hydra.core.parsers.satisfy"},
                                                                                        "argument": {
                                                                                          "lambda": {
                                                                                            "parameter": "c",
                                                                                            "domain": {"literal": {"integer": "int32"}},
                                                                                            "body": {"application": {"function": {"variable": "hydra.core.lib.chars.isSpace"}, "argument": {"variable": "c"}}}}}}}}}}}}},
                                                                        "argument": {
                                                                          "lambda": {
                                                                            "parameter": "_",
                                                                            "domain": "unit",
                                                                            "body": {
                                                                              "application": {
                                                                                "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"literal": "string"}}},
                                                                                "argument": {"variable": "kw"}}}}}}}}}}}}},
                                                        "argument": {"literal": {"string": ","}}}}}}}},
                                            "argument": {
                                              "lambda": {
                                                "parameter": "flds",
                                                "domain": {"list": {"variable": "hydra.core.model.FieldType"}},
                                                "body": {
                                                  "application": {
                                                    "function": {
                                                      "application": {
                                                        "function": {
                                                          "typeApplication": {
                                                            "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                                            "type": {"list": {"variable": "hydra.core.model.FieldType"}}}},
                                                        "argument": {
                                                          "application": {
                                                            "function": {
                                                              "lambda": {
                                                                "parameter": "kw",
                                                                "domain": {"literal": "string"},
                                                                "body": {
                                                                  "application": {
                                                                    "function": {
                                                                      "application": {
                                                                        "function": {
                                                                          "typeApplication": {
                                                                            "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                                                            "type": {"literal": "string"}}},
                                                                        "argument": {"application": {"function": {"variable": "hydra.core.parsers.string"}, "argument": {"variable": "kw"}}}}},
                                                                    "argument": {
                                                                      "lambda": {
                                                                        "parameter": "_",
                                                                        "domain": {"literal": "string"},
                                                                        "body": {
                                                                          "application": {
                                                                            "function": {
                                                                              "application": {
                                                                                "function": {
                                                                                  "typeApplication": {
                                                                                    "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": "unit"}},
                                                                                    "type": {"literal": "string"}}},
                                                                                "argument": {
                                                                                  "application": {
                                                                                    "function": {
                                                                                      "application": {
                                                                                        "function": {
                                                                                          "typeApplication": {
                                                                                            "body": {
                                                                                              "typeApplication": {"body": {"variable": "hydra.core.parsers.map"}, "type": {"list": {"literal": {"integer": "int32"}}}}},
                                                                                            "type": "unit"}},
                                                                                        "argument": {"lambda": {"parameter": "_", "domain": {"list": {"literal": {"integer": "int32"}}}, "body": "unit"}}}},
                                                                                    "argument": {
                                                                                      "application": {
                                                                                        "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.many"}, "type": {"literal": {"integer": "int32"}}}},
                                                                                        "argument": {
                                                                                          "application": {
                                                                                            "function": {"variable": "hydra.core.parsers.satisfy"},
                                                                                            "argument": {
                                                                                              "lambda": {
                                                                                                "parameter": "c",
                                                                                                "domain": {"literal": {"integer": "int32"}},
                                                                                                "body": {"application": {"function": {"variable": "hydra.core.lib.chars.isSpace"}, "argument": {"variable": "c"}}}}}}}}}}}}},
                                                                            "argument": {
                                                                              "lambda": {
                                                                                "parameter": "_",
                                                                                "domain": "unit",
                                                                                "body": {
                                                                                  "application": {
                                                                                    "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"literal": "string"}}},
                                                                                    "argument": {"variable": "kw"}}}}}}}}}}}}},
                                                            "argument": {"literal": {"string": "}"}}}}}},
                                                    "argument": {
                                                      "lambda": {
                                                        "parameter": "_",
                                                        "domain": {"literal": "string"},
                                                        "body": {
                                                          "application": {
                                                            "function": {
                                                              "typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"list": {"variable": "hydra.core.model.FieldType"}}}},
                                                            "argument": {"variable": "flds"}}}}}}}}}}}}}}}}}}}}},
                    {
                      "application": {
                        "function": {
                          "application": {
                            "function": {
                              "typeApplication": {
                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                "type": {"variable": "hydra.core.model.Type"}}},
                            "argument": {
                              "application": {"function": {"variable": "hydra.core.parse.core.typeKeyword"}, "argument": {"literal": {"string": "set"}}}}}},
                        "argument": {
                          "lambda": {
                            "parameter": "_",
                            "domain": {"literal": "string"},
                            "body": {
                              "application": {
                                "function": {
                                  "application": {
                                    "function": {
                                      "typeApplication": {
                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.map"}, "type": {"variable": "hydra.core.model.Type"}}},
                                        "type": {"variable": "hydra.core.model.Type"}}},
                                    "argument": {
                                      "lambda": {
                                        "parameter": "t",
                                        "domain": {"variable": "hydra.core.model.Type"},
                                        "body": {"inject": {"typeName": "hydra.core.model.Type", "field": {"name": "set", "term": {"variable": "t"}}}}}}}},
                                "argument": {
                                  "application": {
                                    "function": {
                                      "application": {
                                        "function": {
                                          "typeApplication": {
                                            "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                            "type": {"variable": "hydra.core.model.Type"}}},
                                        "argument": {
                                          "application": {"function": {"variable": "hydra.core.parse.core.typeKeyword"}, "argument": {"literal": {"string": "<"}}}}}},
                                    "argument": {
                                      "lambda": {
                                        "parameter": "_",
                                        "domain": {"literal": "string"},
                                        "body": {
                                          "application": {
                                            "function": {
                                              "application": {
                                                "function": {
                                                  "typeApplication": {
                                                    "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"variable": "hydra.core.model.Type"}}},
                                                    "type": {"variable": "hydra.core.model.Type"}}},
                                                "argument": {
                                                  "application": {
                                                    "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.lazy"}, "type": {"variable": "hydra.core.model.Type"}}},
                                                    "argument": {"lambda": {"parameter": "_", "domain": "unit", "body": {"variable": "hydra.core.parse.core.type"}}}}}}},
                                            "argument": {
                                              "lambda": {
                                                "parameter": "t",
                                                "domain": {"variable": "hydra.core.model.Type"},
                                                "body": {
                                                  "application": {
                                                    "function": {
                                                      "application": {
                                                        "function": {
                                                          "typeApplication": {
                                                            "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                                            "type": {"variable": "hydra.core.model.Type"}}},
                                                        "argument": {
                                                          "application": {"function": {"variable": "hydra.core.parse.core.typeKeyword"}, "argument": {"literal": {"string": ">"}}}}}},
                                                    "argument": {
                                                      "lambda": {
                                                        "parameter": "_",
                                                        "domain": {"literal": "string"},
                                                        "body": {
                                                          "application": {
                                                            "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"variable": "hydra.core.model.Type"}}},
                                                            "argument": {"variable": "t"}}}}}}}}}}}}}}}}}}}}},
                    {
                      "application": {
                        "function": {
                          "application": {
                            "function": {
                              "typeApplication": {
                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                "type": {"variable": "hydra.core.model.Type"}}},
                            "argument": {
                              "application": {"function": {"variable": "hydra.core.parse.core.typeKeyword"}, "argument": {"literal": {"string": "union"}}}}}},
                        "argument": {
                          "lambda": {
                            "parameter": "_",
                            "domain": {"literal": "string"},
                            "body": {
                              "application": {
                                "function": {
                                  "application": {
                                    "function": {
                                      "typeApplication": {
                                        "body": {
                                          "typeApplication": {"body": {"variable": "hydra.core.parsers.map"}, "type": {"list": {"variable": "hydra.core.model.FieldType"}}}},
                                        "type": {"variable": "hydra.core.model.Type"}}},
                                    "argument": {
                                      "lambda": {
                                        "parameter": "flds",
                                        "domain": {"list": {"variable": "hydra.core.model.FieldType"}},
                                        "body": {"inject": {"typeName": "hydra.core.model.Type", "field": {"name": "union", "term": {"variable": "flds"}}}}}}}},
                                "argument": {
                                  "application": {
                                    "function": {
                                      "application": {
                                        "function": {
                                          "typeApplication": {
                                            "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                            "type": {"list": {"variable": "hydra.core.model.FieldType"}}}},
                                        "argument": {
                                          "application": {
                                            "function": {
                                              "lambda": {
                                                "parameter": "kw",
                                                "domain": {"literal": "string"},
                                                "body": {
                                                  "application": {
                                                    "function": {
                                                      "application": {
                                                        "function": {
                                                          "typeApplication": {
                                                            "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                                            "type": {"literal": "string"}}},
                                                        "argument": {"application": {"function": {"variable": "hydra.core.parsers.string"}, "argument": {"variable": "kw"}}}}},
                                                    "argument": {
                                                      "lambda": {
                                                        "parameter": "_",
                                                        "domain": {"literal": "string"},
                                                        "body": {
                                                          "application": {
                                                            "function": {
                                                              "application": {
                                                                "function": {
                                                                  "typeApplication": {
                                                                    "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": "unit"}},
                                                                    "type": {"literal": "string"}}},
                                                                "argument": {
                                                                  "application": {
                                                                    "function": {
                                                                      "application": {
                                                                        "function": {
                                                                          "typeApplication": {
                                                                            "body": {
                                                                              "typeApplication": {"body": {"variable": "hydra.core.parsers.map"}, "type": {"list": {"literal": {"integer": "int32"}}}}},
                                                                            "type": "unit"}},
                                                                        "argument": {"lambda": {"parameter": "_", "domain": {"list": {"literal": {"integer": "int32"}}}, "body": "unit"}}}},
                                                                    "argument": {
                                                                      "application": {
                                                                        "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.many"}, "type": {"literal": {"integer": "int32"}}}},
                                                                        "argument": {
                                                                          "application": {
                                                                            "function": {"variable": "hydra.core.parsers.satisfy"},
                                                                            "argument": {
                                                                              "lambda": {
                                                                                "parameter": "c",
                                                                                "domain": {"literal": {"integer": "int32"}},
                                                                                "body": {"application": {"function": {"variable": "hydra.core.lib.chars.isSpace"}, "argument": {"variable": "c"}}}}}}}}}}}}},
                                                            "argument": {
                                                              "lambda": {
                                                                "parameter": "_",
                                                                "domain": "unit",
                                                                "body": {
                                                                  "application": {
                                                                    "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"literal": "string"}}},
                                                                    "argument": {"variable": "kw"}}}}}}}}}}}}},
                                            "argument": {"literal": {"string": "{"}}}}}},
                                    "argument": {
                                      "lambda": {
                                        "parameter": "_",
                                        "domain": {"literal": "string"},
                                        "body": {
                                          "application": {
                                            "function": {
                                              "application": {
                                                "function": {
                                                  "typeApplication": {
                                                    "body": {
                                                      "typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"list": {"variable": "hydra.core.model.FieldType"}}}},
                                                    "type": {"list": {"variable": "hydra.core.model.FieldType"}}}},
                                                "argument": {
                                                  "application": {
                                                    "function": {
                                                      "application": {
                                                        "function": {
                                                          "typeApplication": {
                                                            "body": {
                                                              "typeApplication": {"body": {"variable": "hydra.core.parsers.sepBy"}, "type": {"variable": "hydra.core.model.FieldType"}}},
                                                            "type": {"literal": "string"}}},
                                                        "argument": {
                                                          "application": {
                                                            "function": {
                                                              "application": {
                                                                "function": {
                                                                  "typeApplication": {
                                                                    "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"optional": {"literal": "string"}}}},
                                                                    "type": {"variable": "hydra.core.model.FieldType"}}},
                                                                "argument": {
                                                                  "application": {
                                                                    "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.optional"}, "type": {"literal": "string"}}},
                                                                    "argument": {
                                                                      "application": {
                                                                        "function": {
                                                                          "application": {
                                                                            "function": {
                                                                              "typeApplication": {
                                                                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": {"integer": "int32"}}}},
                                                                                "type": {"literal": "string"}}},
                                                                            "argument": {
                                                                              "application": {"function": {"variable": "hydra.core.parsers.char"}, "argument": {"literal": {"integer": {"int32": 35}}}}}}},
                                                                        "argument": {
                                                                          "lambda": {
                                                                            "parameter": "_",
                                                                            "domain": {"literal": {"integer": "int32"}},
                                                                            "body": {
                                                                              "application": {
                                                                                "function": {
                                                                                  "application": {
                                                                                    "function": {
                                                                                      "typeApplication": {
                                                                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": {"integer": "int32"}}}},
                                                                                        "type": {"literal": "string"}}},
                                                                                    "argument": {
                                                                                      "application": {"function": {"variable": "hydra.core.parsers.char"}, "argument": {"literal": {"integer": {"int32": 35}}}}}}},
                                                                                "argument": {
                                                                                  "lambda": {
                                                                                    "parameter": "_",
                                                                                    "domain": {"literal": {"integer": "int32"}},
                                                                                    "body": {
                                                                                      "application": {
                                                                                        "function": {
                                                                                          "application": {
                                                                                            "function": {
                                                                                              "typeApplication": {
                                                                                                "body": {
                                                                                                  "typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"optional": {"literal": {"integer": "int32"}}}}},
                                                                                                "type": {"literal": "string"}}},
                                                                                            "argument": {
                                                                                              "application": {
                                                                                                "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.optional"}, "type": {"literal": {"integer": "int32"}}}},
                                                                                                "argument": {
                                                                                                  "application": {"function": {"variable": "hydra.core.parsers.char"}, "argument": {"literal": {"integer": {"int32": 32}}}}}}}}},
                                                                                        "argument": {
                                                                                          "lambda": {
                                                                                            "parameter": "_",
                                                                                            "domain": {"optional": {"literal": {"integer": "int32"}}},
                                                                                            "body": {
                                                                                              "application": {
                                                                                                "function": {
                                                                                                  "application": {
                                                                                                    "function": {
                                                                                                      "typeApplication": {
                                                                                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                                                                                        "type": {"literal": "string"}}},
                                                                                                    "argument": {
                                                                                                      "application": {
                                                                                                        "function": {
                                                                                                          "application": {
                                                                                                            "function": {
                                                                                                              "typeApplication": {
                                                                                                                "body": {
                                                                                                                  "typeApplication": {"body": {"variable": "hydra.core.parsers.map"}, "type": {"list": {"literal": {"integer": "int32"}}}}},
                                                                                                                "type": {"literal": "string"}}},
                                                                                                            "argument": {
                                                                                                              "lambda": {
                                                                                                                "parameter": "cs",
                                                                                                                "domain": {"list": {"literal": {"integer": "int32"}}},
                                                                                                                "body": {"application": {"function": {"variable": "hydra.core.lib.strings.fromList"}, "argument": {"variable": "cs"}}}}}}},
                                                                                                        "argument": {
                                                                                                          "application": {
                                                                                                            "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.many"}, "type": {"literal": {"integer": "int32"}}}},
                                                                                                            "argument": {
                                                                                                              "application": {
                                                                                                                "function": {"variable": "hydra.core.parsers.satisfy"},
                                                                                                                "argument": {
                                                                                                                  "lambda": {
                                                                                                                    "parameter": "c",
                                                                                                                    "domain": {"literal": {"integer": "int32"}},
                                                                                                                    "body": {
                                                                                                                      "application": {
                                                                                                                        "function": {"variable": "hydra.core.lib.logic.not"},
                                                                                                                        "argument": {
                                                                                                                          "application": {
                                                                                                                            "function": {
                                                                                                                              "application": {
                                                                                                                                "function": {"typeApplication": {"body": {"variable": "hydra.core.lib.equality.equal"}, "type": {"literal": {"integer": "int32"}}}},
                                                                                                                                "argument": {"variable": "c"}}},
                                                                                                                            "argument": {"literal": {"integer": {"int32": 10}}}}}}}}}}}}}}}}},
                                                                                                "argument": {
                                                                                                  "lambda": {
                                                                                                    "parameter": "s",
                                                                                                    "domain": {"literal": "string"},
                                                                                                    "body": {
                                                                                                      "application": {
                                                                                                        "function": {
                                                                                                          "application": {
                                                                                                            "function": {
                                                                                                              "typeApplication": {
                                                                                                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": "unit"}},
                                                                                                                "type": {"literal": "string"}}},
                                                                                                            "argument": {
                                                                                                              "application": {
                                                                                                                "function": {
                                                                                                                  "application": {
                                                                                                                    "function": {
                                                                                                                      "typeApplication": {
                                                                                                                        "body": {
                                                                                                                          "typeApplication": {"body": {"variable": "hydra.core.parsers.map"}, "type": {"list": {"literal": {"integer": "int32"}}}}},
                                                                                                                        "type": "unit"}},
                                                                                                                    "argument": {"lambda": {"parameter": "_", "domain": {"list": {"literal": {"integer": "int32"}}}, "body": "unit"}}}},
                                                                                                                "argument": {
                                                                                                                  "application": {
                                                                                                                    "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.many"}, "type": {"literal": {"integer": "int32"}}}},
                                                                                                                    "argument": {
                                                                                                                      "application": {
                                                                                                                        "function": {"variable": "hydra.core.parsers.satisfy"},
                                                                                                                        "argument": {
                                                                                                                          "lambda": {
                                                                                                                            "parameter": "c",
                                                                                                                            "domain": {"literal": {"integer": "int32"}},
                                                                                                                            "body": {"application": {"function": {"variable": "hydra.core.lib.chars.isSpace"}, "argument": {"variable": "c"}}}}}}}}}}}}},
                                                                                                        "argument": {
                                                                                                          "lambda": {
                                                                                                            "parameter": "_",
                                                                                                            "domain": "unit",
                                                                                                            "body": {
                                                                                                              "application": {
                                                                                                                "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"literal": "string"}}},
                                                                                                                "argument": {"variable": "s"}}}}}}}}}}}}}}}}}}}}}}}}}}},
                                                            "argument": {
                                                              "lambda": {
                                                                "parameter": "mdesc",
                                                                "domain": {"optional": {"literal": "string"}},
                                                                "body": {
                                                                  "application": {
                                                                    "function": {
                                                                      "application": {
                                                                        "function": {
                                                                          "typeApplication": {
                                                                            "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"variable": "hydra.core.model.Name"}}},
                                                                            "type": {"variable": "hydra.core.model.FieldType"}}},
                                                                        "argument": {"variable": "hydra.core.parse.core.name"}}},
                                                                    "argument": {
                                                                      "lambda": {
                                                                        "parameter": "fname",
                                                                        "domain": {"variable": "hydra.core.model.Name"},
                                                                        "body": {
                                                                          "application": {
                                                                            "function": {
                                                                              "application": {
                                                                                "function": {
                                                                                  "typeApplication": {
                                                                                    "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                                                                    "type": {"variable": "hydra.core.model.FieldType"}}},
                                                                                "argument": {
                                                                                  "application": {
                                                                                    "function": {
                                                                                      "lambda": {
                                                                                        "parameter": "kw",
                                                                                        "domain": {"literal": "string"},
                                                                                        "body": {
                                                                                          "application": {
                                                                                            "function": {
                                                                                              "application": {
                                                                                                "function": {
                                                                                                  "typeApplication": {
                                                                                                    "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                                                                                    "type": {"literal": "string"}}},
                                                                                                "argument": {"application": {"function": {"variable": "hydra.core.parsers.string"}, "argument": {"variable": "kw"}}}}},
                                                                                            "argument": {
                                                                                              "lambda": {
                                                                                                "parameter": "_",
                                                                                                "domain": {"literal": "string"},
                                                                                                "body": {
                                                                                                  "application": {
                                                                                                    "function": {
                                                                                                      "application": {
                                                                                                        "function": {
                                                                                                          "typeApplication": {
                                                                                                            "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": "unit"}},
                                                                                                            "type": {"literal": "string"}}},
                                                                                                        "argument": {
                                                                                                          "application": {
                                                                                                            "function": {
                                                                                                              "application": {
                                                                                                                "function": {
                                                                                                                  "typeApplication": {
                                                                                                                    "body": {
                                                                                                                      "typeApplication": {"body": {"variable": "hydra.core.parsers.map"}, "type": {"list": {"literal": {"integer": "int32"}}}}},
                                                                                                                    "type": "unit"}},
                                                                                                                "argument": {"lambda": {"parameter": "_", "domain": {"list": {"literal": {"integer": "int32"}}}, "body": "unit"}}}},
                                                                                                            "argument": {
                                                                                                              "application": {
                                                                                                                "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.many"}, "type": {"literal": {"integer": "int32"}}}},
                                                                                                                "argument": {
                                                                                                                  "application": {
                                                                                                                    "function": {"variable": "hydra.core.parsers.satisfy"},
                                                                                                                    "argument": {
                                                                                                                      "lambda": {
                                                                                                                        "parameter": "c",
                                                                                                                        "domain": {"literal": {"integer": "int32"}},
                                                                                                                        "body": {"application": {"function": {"variable": "hydra.core.lib.chars.isSpace"}, "argument": {"variable": "c"}}}}}}}}}}}}},
                                                                                                    "argument": {
                                                                                                      "lambda": {
                                                                                                        "parameter": "_",
                                                                                                        "domain": "unit",
                                                                                                        "body": {
                                                                                                          "application": {
                                                                                                            "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"literal": "string"}}},
                                                                                                            "argument": {"variable": "kw"}}}}}}}}}}}}},
                                                                                    "argument": {"literal": {"string": ":"}}}}}},
                                                                            "argument": {
                                                                              "lambda": {
                                                                                "parameter": "_",
                                                                                "domain": {"literal": "string"},
                                                                                "body": {
                                                                                  "application": {
                                                                                    "function": {
                                                                                      "application": {
                                                                                        "function": {
                                                                                          "typeApplication": {
                                                                                            "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.map"}, "type": {"variable": "hydra.core.model.Type"}}},
                                                                                            "type": {"variable": "hydra.core.model.FieldType"}}},
                                                                                        "argument": {
                                                                                          "lambda": {
                                                                                            "parameter": "t",
                                                                                            "domain": {"variable": "hydra.core.model.Type"},
                                                                                            "body": {
                                                                                              "record": {
                                                                                                "typeName": "hydra.core.model.FieldType",
                                                                                                "fields": [
                                                                                                  {"name": "name", "term": {"variable": "fname"}},
                                                                                                  {
                                                                                                    "name": "type",
                                                                                                    "term": {
                                                                                                      "application": {
                                                                                                        "function": {
                                                                                                          "application": {
                                                                                                            "function": {
                                                                                                              "lambda": {
                                                                                                                "parameter": "mdesc",
                                                                                                                "domain": {"optional": {"literal": "string"}},
                                                                                                                "body": {
                                                                                                                  "lambda": {
                                                                                                                    "parameter": "t",
                                                                                                                    "domain": {"variable": "hydra.core.model.Type"},
                                                                                                                    "body": {
                                                                                                                      "application": {
                                                                                                                        "function": {
                                                                                                                          "application": {
                                                                                                                            "function": {
                                                                                                                              "application": {
                                                                                                                                "function": {
                                                                                                                                  "typeApplication": {
                                                                                                                                    "body": {"typeApplication": {"body": {"variable": "hydra.core.lib.optionals.match"}, "type": {"literal": "string"}}},
                                                                                                                                    "type": {"variable": "hydra.core.model.Type"}}},
                                                                                                                                "argument": {"variable": "mdesc"}}},
                                                                                                                            "argument": {"variable": "t"}}},
                                                                                                                        "argument": {
                                                                                                                          "lambda": {
                                                                                                                            "parameter": "d",
                                                                                                                            "domain": {"literal": "string"},
                                                                                                                            "body": {
                                                                                                                              "inject": {
                                                                                                                                "typeName": "hydra.core.model.Type",
                                                                                                                                "field": {
                                                                                                                                  "name": "annotated",
                                                                                                                                  "term": {
                                                                                                                                    "record": {
                                                                                                                                      "typeName": "hydra.core.model.AnnotatedType",
                                                                                                                                      "fields": [
                                                                                                                                        {"name": "body", "term": {"variable": "t"}},
                                                                                                                                        {
                                                                                                                                          "name": "annotation",
                                                                                                                                          "term": {
                                                                                                                                            "inject": {
                                                                                                                                              "typeName": "hydra.core.model.Term",
                                                                                                                                              "field": {
                                                                                                                                                "name": "map",
                                                                                                                                                "term": {
                                                                                                                                                  "application": {
                                                                                                                                                    "function": {
                                                                                                                                                      "typeApplication": {
                                                                                                                                                        "body": {
                                                                                                                                                          "typeApplication": {"body": {"variable": "hydra.core.lib.maps.fromList"}, "type": {"variable": "hydra.core.model.Term"}}},
                                                                                                                                                        "type": {"variable": "hydra.core.model.Term"}}},
                                                                                                                                                    "argument": {
                                                                                                                                                      "list": [
                                                                                                                                                        {
                                                                                                                                                          "typeApplication": {
                                                                                                                                                            "body": {
                                                                                                                                                              "typeApplication": {
                                                                                                                                                                "body": {
                                                                                                                                                                  "pair": {
                                                                                                                                                                    "first": {
                                                                                                                                                                      "inject": {
                                                                                                                                                                        "typeName": "hydra.core.model.Term",
                                                                                                                                                                        "field": {
                                                                                                                                                                          "name": "variable",
                                                                                                                                                                          "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "description"}}}}}}},
                                                                                                                                                                    "second": {
                                                                                                                                                                      "inject": {
                                                                                                                                                                        "typeName": "hydra.core.model.Term",
                                                                                                                                                                        "field": {
                                                                                                                                                                          "name": "literal",
                                                                                                                                                                          "term": {"inject": {"typeName": "hydra.core.model.Literal", "field": {"name": "string", "term": {"variable": "d"}}}}}}}}},
                                                                                                                                                                "type": {"variable": "hydra.core.model.Term"}}},
                                                                                                                                                            "type": {"variable": "hydra.core.model.Term"}}}]}}}}}}}]}}}}}}}}}}}}},
                                                                                                            "argument": {"variable": "mdesc"}}},
                                                                                                        "argument": {"variable": "t"}}}}]}}}}}},
                                                                                    "argument": {
                                                                                      "application": {
                                                                                        "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.lazy"}, "type": {"variable": "hydra.core.model.Type"}}},
                                                                                        "argument": {"lambda": {"parameter": "_", "domain": "unit", "body": {"variable": "hydra.core.parse.core.type"}}}}}}}}}}}}}}}}}}}}},
                                                    "argument": {
                                                      "application": {
                                                        "function": {
                                                          "lambda": {
                                                            "parameter": "kw",
                                                            "domain": {"literal": "string"},
                                                            "body": {
                                                              "application": {
                                                                "function": {
                                                                  "application": {
                                                                    "function": {
                                                                      "typeApplication": {
                                                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                                                        "type": {"literal": "string"}}},
                                                                    "argument": {"application": {"function": {"variable": "hydra.core.parsers.string"}, "argument": {"variable": "kw"}}}}},
                                                                "argument": {
                                                                  "lambda": {
                                                                    "parameter": "_",
                                                                    "domain": {"literal": "string"},
                                                                    "body": {
                                                                      "application": {
                                                                        "function": {
                                                                          "application": {
                                                                            "function": {
                                                                              "typeApplication": {
                                                                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": "unit"}},
                                                                                "type": {"literal": "string"}}},
                                                                            "argument": {
                                                                              "application": {
                                                                                "function": {
                                                                                  "application": {
                                                                                    "function": {
                                                                                      "typeApplication": {
                                                                                        "body": {
                                                                                          "typeApplication": {"body": {"variable": "hydra.core.parsers.map"}, "type": {"list": {"literal": {"integer": "int32"}}}}},
                                                                                        "type": "unit"}},
                                                                                    "argument": {"lambda": {"parameter": "_", "domain": {"list": {"literal": {"integer": "int32"}}}, "body": "unit"}}}},
                                                                                "argument": {
                                                                                  "application": {
                                                                                    "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.many"}, "type": {"literal": {"integer": "int32"}}}},
                                                                                    "argument": {
                                                                                      "application": {
                                                                                        "function": {"variable": "hydra.core.parsers.satisfy"},
                                                                                        "argument": {
                                                                                          "lambda": {
                                                                                            "parameter": "c",
                                                                                            "domain": {"literal": {"integer": "int32"}},
                                                                                            "body": {"application": {"function": {"variable": "hydra.core.lib.chars.isSpace"}, "argument": {"variable": "c"}}}}}}}}}}}}},
                                                                        "argument": {
                                                                          "lambda": {
                                                                            "parameter": "_",
                                                                            "domain": "unit",
                                                                            "body": {
                                                                              "application": {
                                                                                "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"literal": "string"}}},
                                                                                "argument": {"variable": "kw"}}}}}}}}}}}}},
                                                        "argument": {"literal": {"string": ","}}}}}}}},
                                            "argument": {
                                              "lambda": {
                                                "parameter": "flds",
                                                "domain": {"list": {"variable": "hydra.core.model.FieldType"}},
                                                "body": {
                                                  "application": {
                                                    "function": {
                                                      "application": {
                                                        "function": {
                                                          "typeApplication": {
                                                            "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                                            "type": {"list": {"variable": "hydra.core.model.FieldType"}}}},
                                                        "argument": {
                                                          "application": {
                                                            "function": {
                                                              "lambda": {
                                                                "parameter": "kw",
                                                                "domain": {"literal": "string"},
                                                                "body": {
                                                                  "application": {
                                                                    "function": {
                                                                      "application": {
                                                                        "function": {
                                                                          "typeApplication": {
                                                                            "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                                                            "type": {"literal": "string"}}},
                                                                        "argument": {"application": {"function": {"variable": "hydra.core.parsers.string"}, "argument": {"variable": "kw"}}}}},
                                                                    "argument": {
                                                                      "lambda": {
                                                                        "parameter": "_",
                                                                        "domain": {"literal": "string"},
                                                                        "body": {
                                                                          "application": {
                                                                            "function": {
                                                                              "application": {
                                                                                "function": {
                                                                                  "typeApplication": {
                                                                                    "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": "unit"}},
                                                                                    "type": {"literal": "string"}}},
                                                                                "argument": {
                                                                                  "application": {
                                                                                    "function": {
                                                                                      "application": {
                                                                                        "function": {
                                                                                          "typeApplication": {
                                                                                            "body": {
                                                                                              "typeApplication": {"body": {"variable": "hydra.core.parsers.map"}, "type": {"list": {"literal": {"integer": "int32"}}}}},
                                                                                            "type": "unit"}},
                                                                                        "argument": {"lambda": {"parameter": "_", "domain": {"list": {"literal": {"integer": "int32"}}}, "body": "unit"}}}},
                                                                                    "argument": {
                                                                                      "application": {
                                                                                        "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.many"}, "type": {"literal": {"integer": "int32"}}}},
                                                                                        "argument": {
                                                                                          "application": {
                                                                                            "function": {"variable": "hydra.core.parsers.satisfy"},
                                                                                            "argument": {
                                                                                              "lambda": {
                                                                                                "parameter": "c",
                                                                                                "domain": {"literal": {"integer": "int32"}},
                                                                                                "body": {"application": {"function": {"variable": "hydra.core.lib.chars.isSpace"}, "argument": {"variable": "c"}}}}}}}}}}}}},
                                                                            "argument": {
                                                                              "lambda": {
                                                                                "parameter": "_",
                                                                                "domain": "unit",
                                                                                "body": {
                                                                                  "application": {
                                                                                    "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"literal": "string"}}},
                                                                                    "argument": {"variable": "kw"}}}}}}}}}}}}},
                                                            "argument": {"literal": {"string": "}"}}}}}},
                                                    "argument": {
                                                      "lambda": {
                                                        "parameter": "_",
                                                        "domain": {"literal": "string"},
                                                        "body": {
                                                          "application": {
                                                            "function": {
                                                              "typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"list": {"variable": "hydra.core.model.FieldType"}}}},
                                                            "argument": {"variable": "flds"}}}}}}}}}}}}}}}}}}}}},
                    {
                      "application": {
                        "function": {
                          "application": {
                            "function": {
                              "typeApplication": {
                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                "type": {"variable": "hydra.core.model.Type"}}},
                            "argument": {
                              "application": {"function": {"variable": "hydra.core.parse.core.typeKeyword"}, "argument": {"literal": {"string": "unit"}}}}}},
                        "argument": {
                          "lambda": {
                            "parameter": "_",
                            "domain": {"literal": "string"},
                            "body": {
                              "application": {
                                "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"variable": "hydra.core.model.Type"}}},
                                "argument": {"inject": {"typeName": "hydra.core.model.Type", "field": {"name": "unit", "term": "unit"}}}}}}}}},
                    {
                      "application": {
                        "function": {
                          "application": {
                            "function": {
                              "typeApplication": {
                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                "type": {"variable": "hydra.core.model.Type"}}},
                            "argument": {
                              "application": {"function": {"variable": "hydra.core.parse.core.typeKeyword"}, "argument": {"literal": {"string": "void"}}}}}},
                        "argument": {
                          "lambda": {
                            "parameter": "_",
                            "domain": {"literal": "string"},
                            "body": {
                              "application": {
                                "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"variable": "hydra.core.model.Type"}}},
                                "argument": {"inject": {"typeName": "hydra.core.model.Type", "field": {"name": "void", "term": "unit"}}}}}}}}},
                    {
                      "application": {
                        "function": {
                          "application": {
                            "function": {
                              "typeApplication": {
                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                "type": {"variable": "hydra.core.model.Type"}}},
                            "argument": {
                              "application": {"function": {"variable": "hydra.core.parse.core.typeKeyword"}, "argument": {"literal": {"string": "wrap"}}}}}},
                        "argument": {
                          "lambda": {
                            "parameter": "_",
                            "domain": {"literal": "string"},
                            "body": {
                              "application": {
                                "function": {
                                  "application": {
                                    "function": {
                                      "typeApplication": {
                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                        "type": {"variable": "hydra.core.model.Type"}}},
                                    "argument": {
                                      "application": {"function": {"variable": "hydra.core.parse.core.typeKeyword"}, "argument": {"literal": {"string": "("}}}}}},
                                "argument": {
                                  "lambda": {
                                    "parameter": "_",
                                    "domain": {"literal": "string"},
                                    "body": {
                                      "application": {
                                        "function": {
                                          "application": {
                                            "function": {
                                              "typeApplication": {
                                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"variable": "hydra.core.model.Type"}}},
                                                "type": {"variable": "hydra.core.model.Type"}}},
                                            "argument": {
                                              "application": {
                                                "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.lazy"}, "type": {"variable": "hydra.core.model.Type"}}},
                                                "argument": {"lambda": {"parameter": "_", "domain": "unit", "body": {"variable": "hydra.core.parse.core.type"}}}}}}},
                                        "argument": {
                                          "lambda": {
                                            "parameter": "t",
                                            "domain": {"variable": "hydra.core.model.Type"},
                                            "body": {
                                              "application": {
                                                "function": {
                                                  "application": {
                                                    "function": {
                                                      "typeApplication": {
                                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                                        "type": {"variable": "hydra.core.model.Type"}}},
                                                    "argument": {
                                                      "application": {"function": {"variable": "hydra.core.parse.core.typeKeyword"}, "argument": {"literal": {"string": ")"}}}}}},
                                                "argument": {
                                                  "lambda": {
                                                    "parameter": "_",
                                                    "domain": {"literal": "string"},
                                                    "body": {
                                                      "application": {
                                                        "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"variable": "hydra.core.model.Type"}}},
                                                        "argument": {"inject": {"typeName": "hydra.core.model.Type", "field": {"name": "wrap", "term": {"variable": "t"}}}}}}}}}}}}}}}}}}}}}},
                    {
                      "application": {
                        "function": {
                          "application": {
                            "function": {
                              "typeApplication": {
                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                "type": {"variable": "hydra.core.model.Type"}}},
                            "argument": {
                              "application": {"function": {"variable": "hydra.core.parse.core.typeKeyword"}, "argument": {"literal": {"string": "("}}}}}},
                        "argument": {
                          "lambda": {
                            "parameter": "_",
                            "domain": {"literal": "string"},
                            "body": {
                              "application": {
                                "function": {
                                  "application": {
                                    "function": {
                                      "typeApplication": {
                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"variable": "hydra.core.model.Type"}}},
                                        "type": {"variable": "hydra.core.model.Type"}}},
                                    "argument": {
                                      "application": {
                                        "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.lazy"}, "type": {"variable": "hydra.core.model.Type"}}},
                                        "argument": {"lambda": {"parameter": "_", "domain": "unit", "body": {"variable": "hydra.core.parse.core.type"}}}}}}},
                                "argument": {
                                  "lambda": {
                                    "parameter": "t1",
                                    "domain": {"variable": "hydra.core.model.Type"},
                                    "body": {
                                      "application": {
                                        "function": {
                                          "application": {
                                            "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.alt"}, "type": {"variable": "hydra.core.model.Type"}}},
                                            "argument": {
                                              "application": {
                                                "function": {
                                                  "application": {
                                                    "function": {
                                                      "typeApplication": {
                                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                                        "type": {"variable": "hydra.core.model.Type"}}},
                                                    "argument": {
                                                      "application": {"function": {"variable": "hydra.core.parse.core.typeKeyword"}, "argument": {"literal": {"string": ","}}}}}},
                                                "argument": {
                                                  "lambda": {
                                                    "parameter": "_",
                                                    "domain": {"literal": "string"},
                                                    "body": {
                                                      "application": {
                                                        "function": {
                                                          "application": {
                                                            "function": {
                                                              "typeApplication": {
                                                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"variable": "hydra.core.model.Type"}}},
                                                                "type": {"variable": "hydra.core.model.Type"}}},
                                                            "argument": {
                                                              "application": {
                                                                "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.lazy"}, "type": {"variable": "hydra.core.model.Type"}}},
                                                                "argument": {"lambda": {"parameter": "_", "domain": "unit", "body": {"variable": "hydra.core.parse.core.type"}}}}}}},
                                                        "argument": {
                                                          "lambda": {
                                                            "parameter": "t2",
                                                            "domain": {"variable": "hydra.core.model.Type"},
                                                            "body": {
                                                              "application": {
                                                                "function": {
                                                                  "application": {
                                                                    "function": {
                                                                      "typeApplication": {
                                                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                                                        "type": {"variable": "hydra.core.model.Type"}}},
                                                                    "argument": {
                                                                      "application": {"function": {"variable": "hydra.core.parse.core.typeKeyword"}, "argument": {"literal": {"string": ")"}}}}}},
                                                                "argument": {
                                                                  "lambda": {
                                                                    "parameter": "_",
                                                                    "domain": {"literal": "string"},
                                                                    "body": {
                                                                      "application": {
                                                                        "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"variable": "hydra.core.model.Type"}}},
                                                                        "argument": {
                                                                          "inject": {
                                                                            "typeName": "hydra.core.model.Type",
                                                                            "field": {
                                                                              "name": "pair",
                                                                              "term": {
                                                                                "record": {
                                                                                  "typeName": "hydra.core.model.PairType",
                                                                                  "fields": [{"name": "first", "term": {"variable": "t1"}}, {"name": "second", "term": {"variable": "t2"}}]}}}}}}}}}}}}}}}}}}}}},
                                        "argument": {
                                          "application": {
                                            "function": {
                                              "application": {
                                                "function": {
                                                  "typeApplication": {
                                                    "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                                    "type": {"variable": "hydra.core.model.Type"}}},
                                                "argument": {
                                                  "application": {"function": {"variable": "hydra.core.parse.core.typeKeyword"}, "argument": {"literal": {"string": ")"}}}}}},
                                            "argument": {
                                              "lambda": {
                                                "parameter": "_",
                                                "domain": {"literal": "string"},
                                                "body": {
                                                  "application": {
                                                    "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"variable": "hydra.core.model.Type"}}},
                                                    "argument": {"variable": "t1"}}}}}}}}}}}}}}}}},
                    {
                      "application": {
                        "function": {
                          "application": {
                            "function": {
                              "typeApplication": {
                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.map"}, "type": {"variable": "hydra.core.model.Name"}}},
                                "type": {"variable": "hydra.core.model.Type"}}},
                            "argument": {
                              "lambda": {
                                "parameter": "n",
                                "domain": {"variable": "hydra.core.model.Name"},
                                "body": {"inject": {"typeName": "hydra.core.model.Type", "field": {"name": "variable", "term": {"variable": "n"}}}}}}}},
                        "argument": {"variable": "hydra.core.parse.core.name"}}}]}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "Parse a tightest-level type: any construct other than application, annotation, or function"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.parse.core.typeFunction",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {"function": {"variable": "hydra.core.parsing.Parser"}, "argument": {"variable": "hydra.core.model.Type"}}}}},
        "body": {
          "annotated": {
            "body": {
              "application": {
                "function": {
                  "application": {
                    "function": {
                      "typeApplication": {
                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"variable": "hydra.core.model.Type"}}},
                        "type": {"variable": "hydra.core.model.Type"}}},
                    "argument": {
                      "application": {
                        "function": {
                          "application": {
                            "function": {
                              "typeApplication": {
                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"variable": "hydra.core.model.Type"}}},
                                "type": {"variable": "hydra.core.model.Type"}}},
                            "argument": {"variable": "hydra.core.parse.core.postfixType"}}},
                        "argument": {
                          "lambda": {
                            "parameter": "t0",
                            "domain": {"variable": "hydra.core.model.Type"},
                            "body": {
                              "application": {
                                "function": {
                                  "application": {
                                    "function": {
                                      "typeApplication": {
                                        "body": {
                                          "typeApplication": {"body": {"variable": "hydra.core.parsers.map"}, "type": {"list": {"variable": "hydra.core.model.Type"}}}},
                                        "type": {"variable": "hydra.core.model.Type"}}},
                                    "argument": {
                                      "lambda": {
                                        "parameter": "rest",
                                        "domain": {"list": {"variable": "hydra.core.model.Type"}},
                                        "body": {
                                          "application": {
                                            "function": {
                                              "application": {
                                                "function": {
                                                  "application": {
                                                    "function": {
                                                      "typeApplication": {
                                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.lib.lists.foldl"}, "type": {"variable": "hydra.core.model.Type"}}},
                                                        "type": {"variable": "hydra.core.model.Type"}}},
                                                    "argument": {
                                                      "lambda": {
                                                        "parameter": "f",
                                                        "domain": {"variable": "hydra.core.model.Type"},
                                                        "body": {
                                                          "lambda": {
                                                            "parameter": "a",
                                                            "domain": {"variable": "hydra.core.model.Type"},
                                                            "body": {
                                                              "inject": {
                                                                "typeName": "hydra.core.model.Type",
                                                                "field": {
                                                                  "name": "application",
                                                                  "term": {
                                                                    "record": {
                                                                      "typeName": "hydra.core.model.ApplicationType",
                                                                      "fields": [{"name": "function", "term": {"variable": "f"}}, {"name": "argument", "term": {"variable": "a"}}]}}}}}}}}}}},
                                                "argument": {"variable": "t0"}}},
                                            "argument": {"variable": "rest"}}}}}}},
                                "argument": {
                                  "application": {
                                    "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.many"}, "type": {"variable": "hydra.core.model.Type"}}},
                                    "argument": {"variable": "hydra.core.parse.core.postfixType"}}}}}}}}}}},
                "argument": {
                  "lambda": {
                    "parameter": "dom",
                    "domain": {"variable": "hydra.core.model.Type"},
                    "body": {
                      "application": {
                        "function": {
                          "application": {
                            "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.alt"}, "type": {"variable": "hydra.core.model.Type"}}},
                            "argument": {
                              "application": {
                                "function": {
                                  "application": {
                                    "function": {
                                      "typeApplication": {
                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": {"integer": "int32"}}}},
                                        "type": {"variable": "hydra.core.model.Type"}}},
                                    "argument": {
                                      "application": {
                                        "function": {"typeApplication": {"body": {"variable": "hydra.core.parse.core.lexeme"}, "type": {"literal": {"integer": "int32"}}}},
                                        "argument": {
                                          "application": {"function": {"variable": "hydra.core.parsers.char"}, "argument": {"literal": {"integer": {"int32": 8594}}}}}}}}},
                                "argument": {
                                  "lambda": {
                                    "parameter": "_",
                                    "domain": {"literal": {"integer": "int32"}},
                                    "body": {
                                      "application": {
                                        "function": {
                                          "application": {
                                            "function": {
                                              "typeApplication": {
                                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.map"}, "type": {"variable": "hydra.core.model.Type"}}},
                                                "type": {"variable": "hydra.core.model.Type"}}},
                                            "argument": {
                                              "lambda": {
                                                "parameter": "cod",
                                                "domain": {"variable": "hydra.core.model.Type"},
                                                "body": {
                                                  "application": {
                                                    "function": {
                                                      "application": {
                                                        "function": {
                                                          "lambda": {
                                                            "parameter": "d",
                                                            "domain": {"variable": "hydra.core.model.Type"},
                                                            "body": {
                                                              "lambda": {
                                                                "parameter": "c",
                                                                "domain": {"variable": "hydra.core.model.Type"},
                                                                "body": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Type",
                                                                    "field": {
                                                                      "name": "function",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.FunctionType",
                                                                          "fields": [{"name": "domain", "term": {"variable": "d"}}, {"name": "codomain", "term": {"variable": "c"}}]}}}}}}}}},
                                                        "argument": {"variable": "dom"}}},
                                                    "argument": {"variable": "cod"}}}}}}},
                                        "argument": {
                                          "application": {
                                            "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.lazy"}, "type": {"variable": "hydra.core.model.Type"}}},
                                            "argument": {"lambda": {"parameter": "_", "domain": "unit", "body": {"variable": "hydra.core.parse.core.typeFunction"}}}}}}}}}}}}},
                        "argument": {
                          "application": {
                            "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"variable": "hydra.core.model.Type"}}},
                            "argument": {"variable": "dom"}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {
                    "literal": {"string": "Parse a function type: application-level type, optionally followed by '→' and a recursive right side"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.parse.core.typeKeyword",
        "signature": {
          "typeParameters": [],
          "parameters": [{"name": "arg0", "type": {"literal": "string"}, "isLazy": false}],
          "result": {"type": {"application": {"function": {"variable": "hydra.core.parsing.Parser"}, "argument": {"literal": "string"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "kw",
                "domain": {"literal": "string"},
                "body": {"application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"variable": "kw"}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {
                    "literal": {
                      "string": "Parse a specific keyword, followed by optional trailing whitespace/comments (type-grammar alias of termKeyword)"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.parse.core.typeScheme",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {"function": {"variable": "hydra.core.parsing.Parser"}, "argument": {"variable": "hydra.core.model.TypeScheme"}}}}},
        "body": {
          "annotated": {
            "body": {
              "application": {
                "function": {
                  "application": {
                    "function": {
                      "typeApplication": {"body": {"variable": "hydra.core.parsers.alt"}, "type": {"variable": "hydra.core.model.TypeScheme"}}},
                    "argument": {
                      "application": {
                        "function": {
                          "application": {
                            "function": {
                              "typeApplication": {
                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": {"integer": "int32"}}}},
                                "type": {"variable": "hydra.core.model.TypeScheme"}}},
                            "argument": {
                              "application": {
                                "function": {"typeApplication": {"body": {"variable": "hydra.core.parse.core.lexeme"}, "type": {"literal": {"integer": "int32"}}}},
                                "argument": {
                                  "application": {"function": {"variable": "hydra.core.parsers.char"}, "argument": {"literal": {"integer": {"int32": 8704}}}}}}}}},
                        "argument": {
                          "lambda": {
                            "parameter": "_",
                            "domain": {"literal": {"integer": "int32"}},
                            "body": {
                              "application": {
                                "function": {
                                  "application": {
                                    "function": {
                                      "typeApplication": {
                                        "body": {
                                          "typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"list": {"variable": "hydra.core.model.Name"}}}},
                                        "type": {"variable": "hydra.core.model.TypeScheme"}}},
                                    "argument": {
                                      "application": {
                                        "function": {
                                          "application": {
                                            "function": {
                                              "typeApplication": {
                                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.sepBy"}, "type": {"variable": "hydra.core.model.Name"}}},
                                                "type": {"literal": {"integer": "int32"}}}},
                                            "argument": {"variable": "hydra.core.parse.core.binderName"}}},
                                        "argument": {
                                          "application": {
                                            "function": {"typeApplication": {"body": {"variable": "hydra.core.parse.core.lexeme"}, "type": {"literal": {"integer": "int32"}}}},
                                            "argument": {
                                              "application": {"function": {"variable": "hydra.core.parsers.char"}, "argument": {"literal": {"integer": {"int32": 44}}}}}}}}}}},
                                "argument": {
                                  "lambda": {
                                    "parameter": "vars",
                                    "domain": {"list": {"variable": "hydra.core.model.Name"}},
                                    "body": {
                                      "application": {
                                        "function": {
                                          "application": {
                                            "function": {
                                              "typeApplication": {
                                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": {"integer": "int32"}}}},
                                                "type": {"variable": "hydra.core.model.TypeScheme"}}},
                                            "argument": {
                                              "application": {
                                                "function": {"typeApplication": {"body": {"variable": "hydra.core.parse.core.lexeme"}, "type": {"literal": {"integer": "int32"}}}},
                                                "argument": {
                                                  "application": {"function": {"variable": "hydra.core.parsers.char"}, "argument": {"literal": {"integer": {"int32": 46}}}}}}}}},
                                        "argument": {
                                          "lambda": {
                                            "parameter": "_",
                                            "domain": {"literal": {"integer": "int32"}},
                                            "body": {
                                              "application": {
                                                "function": {
                                                  "application": {
                                                    "function": {
                                                      "typeApplication": {
                                                        "body": {
                                                          "typeApplication": {
                                                            "body": {"variable": "hydra.core.parsers.bind"},
                                                            "type": {
                                                              "optional": {"list": {"pair": {"first": {"variable": "hydra.core.model.Name"}, "second": {"variable": "hydra.core.model.Name"}}}}}}},
                                                        "type": {"variable": "hydra.core.model.TypeScheme"}}},
                                                    "argument": {
                                                      "application": {
                                                        "function": {
                                                          "typeApplication": {
                                                            "body": {"variable": "hydra.core.parsers.optional"},
                                                            "type": {"list": {"pair": {"first": {"variable": "hydra.core.model.Name"}, "second": {"variable": "hydra.core.model.Name"}}}}}},
                                                        "argument": {
                                                          "application": {
                                                            "function": {
                                                              "typeApplication": {
                                                                "body": {"variable": "hydra.core.parsers.try"},
                                                                "type": {"list": {"pair": {"first": {"variable": "hydra.core.model.Name"}, "second": {"variable": "hydra.core.model.Name"}}}}}},
                                                            "argument": {
                                                              "application": {
                                                                "function": {
                                                                  "application": {
                                                                    "function": {
                                                                      "typeApplication": {
                                                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                                                        "type": {"list": {"pair": {"first": {"variable": "hydra.core.model.Name"}, "second": {"variable": "hydra.core.model.Name"}}}}}},
                                                                    "argument": {
                                                                      "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": "("}}}}}},
                                                                "argument": {
                                                                  "lambda": {
                                                                    "parameter": "_",
                                                                    "domain": {"literal": "string"},
                                                                    "body": {
                                                                      "application": {
                                                                        "function": {
                                                                          "application": {
                                                                            "function": {
                                                                              "typeApplication": {
                                                                                "body": {
                                                                                  "typeApplication": {
                                                                                    "body": {"variable": "hydra.core.parsers.bind"},
                                                                                    "type": {"list": {"pair": {"first": {"variable": "hydra.core.model.Name"}, "second": {"variable": "hydra.core.model.Name"}}}}}},
                                                                                "type": {"list": {"pair": {"first": {"variable": "hydra.core.model.Name"}, "second": {"variable": "hydra.core.model.Name"}}}}}},
                                                                            "argument": {
                                                                              "application": {
                                                                                "function": {
                                                                                  "application": {
                                                                                    "function": {
                                                                                      "typeApplication": {
                                                                                        "body": {
                                                                                          "typeApplication": {
                                                                                            "body": {"variable": "hydra.core.parsers.sepBy1"},
                                                                                            "type": {"pair": {"first": {"variable": "hydra.core.model.Name"}, "second": {"variable": "hydra.core.model.Name"}}}}},
                                                                                        "type": {"literal": "string"}}},
                                                                                    "argument": {"variable": "hydra.core.parse.core.constraint"}}},
                                                                                "argument": {
                                                                                  "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": ","}}}}}}}},
                                                                        "argument": {
                                                                          "lambda": {
                                                                            "parameter": "cs",
                                                                            "domain": {"list": {"pair": {"first": {"variable": "hydra.core.model.Name"}, "second": {"variable": "hydra.core.model.Name"}}}},
                                                                            "body": {
                                                                              "application": {
                                                                                "function": {
                                                                                  "application": {
                                                                                    "function": {
                                                                                      "typeApplication": {
                                                                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                                                                        "type": {"list": {"pair": {"first": {"variable": "hydra.core.model.Name"}, "second": {"variable": "hydra.core.model.Name"}}}}}},
                                                                                    "argument": {
                                                                                      "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": ")"}}}}}},
                                                                                "argument": {
                                                                                  "lambda": {
                                                                                    "parameter": "_",
                                                                                    "domain": {"literal": "string"},
                                                                                    "body": {
                                                                                      "application": {
                                                                                        "function": {
                                                                                          "application": {
                                                                                            "function": {
                                                                                              "typeApplication": {
                                                                                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": {"integer": "int32"}}}},
                                                                                                "type": {"list": {"pair": {"first": {"variable": "hydra.core.model.Name"}, "second": {"variable": "hydra.core.model.Name"}}}}}},
                                                                                            "argument": {
                                                                                              "application": {
                                                                                                "function": {"typeApplication": {"body": {"variable": "hydra.core.parse.core.lexeme"}, "type": {"literal": {"integer": "int32"}}}},
                                                                                                "argument": {
                                                                                                  "application": {"function": {"variable": "hydra.core.parsers.char"}, "argument": {"literal": {"integer": {"int32": 8658}}}}}}}}},
                                                                                        "argument": {
                                                                                          "lambda": {
                                                                                            "parameter": "_",
                                                                                            "domain": {"literal": {"integer": "int32"}},
                                                                                            "body": {
                                                                                              "application": {
                                                                                                "function": {
                                                                                                  "typeApplication": {
                                                                                                    "body": {"variable": "hydra.core.parsers.pure"},
                                                                                                    "type": {"list": {"pair": {"first": {"variable": "hydra.core.model.Name"}, "second": {"variable": "hydra.core.model.Name"}}}}}},
                                                                                                "argument": {"variable": "cs"}}}}}}}}}}}}}}}}}}}}}}}}},
                                                "argument": {
                                                  "lambda": {
                                                    "parameter": "mcs",
                                                    "domain": {
                                                      "optional": {"list": {"pair": {"first": {"variable": "hydra.core.model.Name"}, "second": {"variable": "hydra.core.model.Name"}}}}},
                                                    "body": {
                                                      "application": {
                                                        "function": {
                                                          "application": {
                                                            "function": {
                                                              "typeApplication": {
                                                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.map"}, "type": {"variable": "hydra.core.model.Type"}}},
                                                                "type": {"variable": "hydra.core.model.TypeScheme"}}},
                                                            "argument": {
                                                              "lambda": {
                                                                "parameter": "body",
                                                                "domain": {"variable": "hydra.core.model.Type"},
                                                                "body": {
                                                                  "record": {
                                                                    "typeName": "hydra.core.model.TypeScheme",
                                                                    "fields": [
                                                                      {"name": "variables", "term": {"variable": "vars"}},
                                                                      {"name": "body", "term": {"variable": "body"}},
                                                                      {
                                                                        "name": "constraints",
                                                                        "term": {
                                                                          "application": {
                                                                            "function": {
                                                                              "typeApplication": {
                                                                                "body": {
                                                                                  "typeApplication": {"body": {"variable": "hydra.core.lib.maps.fromList"}, "type": {"variable": "hydra.core.model.Name"}}},
                                                                                "type": {"variable": "hydra.core.model.TypeVariableConstraints"}}},
                                                                            "argument": {
                                                                              "application": {
                                                                                "function": {
                                                                                  "application": {
                                                                                    "function": {
                                                                                      "typeApplication": {
                                                                                        "body": {
                                                                                          "typeApplication": {
                                                                                            "body": {"variable": "hydra.core.lib.lists.map"},
                                                                                            "type": {"pair": {"first": {"variable": "hydra.core.model.Name"}, "second": {"variable": "hydra.core.model.Name"}}}}},
                                                                                        "type": {
                                                                                          "pair": {"first": {"variable": "hydra.core.model.Name"}, "second": {"variable": "hydra.core.model.TypeVariableConstraints"}}}}},
                                                                                    "argument": {
                                                                                      "lambda": {
                                                                                        "parameter": "p",
                                                                                        "domain": {"pair": {"first": {"variable": "hydra.core.model.Name"}, "second": {"variable": "hydra.core.model.Name"}}},
                                                                                        "body": {
                                                                                          "typeApplication": {
                                                                                            "body": {
                                                                                              "typeApplication": {
                                                                                                "body": {
                                                                                                  "pair": {
                                                                                                    "first": {
                                                                                                      "application": {
                                                                                                        "function": {
                                                                                                          "typeApplication": {
                                                                                                            "body": {
                                                                                                              "typeApplication": {"body": {"variable": "hydra.core.lib.pairs.second"}, "type": {"variable": "hydra.core.model.Name"}}},
                                                                                                            "type": {"variable": "hydra.core.model.Name"}}},
                                                                                                        "argument": {"variable": "p"}}},
                                                                                                    "second": {
                                                                                                      "record": {
                                                                                                        "typeName": "hydra.core.model.TypeVariableConstraints",
                                                                                                        "fields": [
                                                                                                          {
                                                                                                            "name": "classes",
                                                                                                            "term": {
                                                                                                              "application": {
                                                                                                                "function": {
                                                                                                                  "typeApplication": {"body": {"variable": "hydra.core.lib.sets.fromList"}, "type": {"variable": "hydra.core.model.TypeClassConstraint"}}},
                                                                                                                "argument": {
                                                                                                                  "list": [
                                                                                                                    {
                                                                                                                      "inject": {
                                                                                                                        "typeName": "hydra.core.model.TypeClassConstraint",
                                                                                                                        "field": {
                                                                                                                          "name": "simple",
                                                                                                                          "term": {
                                                                                                                            "application": {
                                                                                                                              "function": {
                                                                                                                                "typeApplication": {
                                                                                                                                  "body": {"typeApplication": {"body": {"variable": "hydra.core.lib.pairs.first"}, "type": {"variable": "hydra.core.model.Name"}}},
                                                                                                                                  "type": {"variable": "hydra.core.model.Name"}}},
                                                                                                                              "argument": {"variable": "p"}}}}}}]}}}}]}}}},
                                                                                                "type": {"variable": "hydra.core.model.Name"}}},
                                                                                            "type": {"variable": "hydra.core.model.TypeVariableConstraints"}}}}}}},
                                                                                "argument": {
                                                                                  "application": {
                                                                                    "function": {
                                                                                      "application": {
                                                                                        "function": {
                                                                                          "typeApplication": {
                                                                                            "body": {"variable": "hydra.core.lib.optionals.withDefault"},
                                                                                            "type": {"list": {"pair": {"first": {"variable": "hydra.core.model.Name"}, "second": {"variable": "hydra.core.model.Name"}}}}}},
                                                                                        "argument": {
                                                                                          "typeApplication": {
                                                                                            "body": {"list": []},
                                                                                            "type": {"pair": {"first": {"variable": "hydra.core.model.Name"}, "second": {"variable": "hydra.core.model.Name"}}}}}}},
                                                                                    "argument": {"variable": "mcs"}}}}}}}}]}}}}}},
                                                        "argument": {
                                                          "application": {
                                                            "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.lazy"}, "type": {"variable": "hydra.core.model.Type"}}},
                                                            "argument": {"lambda": {"parameter": "_", "domain": "unit", "body": {"variable": "hydra.core.parse.core.type"}}}}}}}}}}}}}}}}}}}}}}}}},
                "argument": {
                  "application": {
                    "function": {
                      "application": {
                        "function": {
                          "typeApplication": {
                            "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.map"}, "type": {"variable": "hydra.core.model.Type"}}},
                            "type": {"variable": "hydra.core.model.TypeScheme"}}},
                        "argument": {
                          "lambda": {
                            "parameter": "body",
                            "domain": {"variable": "hydra.core.model.Type"},
                            "body": {
                              "record": {
                                "typeName": "hydra.core.model.TypeScheme",
                                "fields": [
                                  {
                                    "name": "variables",
                                    "term": {"typeApplication": {"body": {"list": []}, "type": {"variable": "hydra.core.model.Name"}}}},
                                  {"name": "body", "term": {"variable": "body"}},
                                  {
                                    "name": "constraints",
                                    "term": {
                                      "typeApplication": {
                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.lib.maps.empty"}, "type": {"variable": "hydra.core.model.Name"}}},
                                        "type": {"variable": "hydra.core.model.TypeVariableConstraints"}}}}]}}}}}},
                    "argument": {
                      "application": {
                        "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.lazy"}, "type": {"variable": "hydra.core.model.Type"}}},
                        "argument": {"lambda": {"parameter": "_", "domain": "unit", "body": {"variable": "hydra.core.parse.core.type"}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {
                    "literal": {
                      "string": "Parse a type scheme: '∀' [binderName (',' binderName)*] '.' [constraints '⇒'] type, or a bare type with no '∀.' header when there are no type variables"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.parse.core.unsignedDigits",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {"type": {"application": {"function": {"variable": "hydra.core.parsing.Parser"}, "argument": {"literal": "string"}}}}},
        "body": {
          "annotated": {
            "body": {
              "application": {
                "function": {
                  "application": {
                    "function": {
                      "typeApplication": {
                        "body": {
                          "typeApplication": {"body": {"variable": "hydra.core.parsers.map"}, "type": {"list": {"literal": {"integer": "int32"}}}}},
                        "type": {"literal": "string"}}},
                    "argument": {
                      "lambda": {
                        "parameter": "cs",
                        "domain": {"list": {"literal": {"integer": "int32"}}},
                        "body": {"application": {"function": {"variable": "hydra.core.lib.strings.fromList"}, "argument": {"variable": "cs"}}}}}}},
                "argument": {
                  "application": {
                    "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.some"}, "type": {"literal": {"integer": "int32"}}}},
                    "argument": {
                      "application": {
                        "function": {"variable": "hydra.core.parsers.satisfy"},
                        "argument": {
                          "lambda": {
                            "parameter": "c",
                            "domain": {"literal": {"integer": "int32"}},
                            "body": {
                              "application": {
                                "function": {
                                  "application": {
                                    "function": {"variable": "hydra.core.lib.logic.and"},
                                    "argument": {
                                      "application": {
                                        "function": {
                                          "application": {
                                            "function": {"typeApplication": {"body": {"variable": "hydra.core.lib.ordering.gte"}, "type": {"literal": {"integer": "int32"}}}},
                                            "argument": {"variable": "c"}}},
                                        "argument": {"literal": {"integer": {"int32": 48}}}}}}},
                                "argument": {
                                  "application": {
                                    "function": {
                                      "application": {
                                        "function": {"typeApplication": {"body": {"variable": "hydra.core.lib.ordering.lte"}, "type": {"literal": {"integer": "int32"}}}},
                                        "argument": {"variable": "c"}}},
                                    "argument": {"literal": {"integer": {"int32": 57}}}}}}}}}}}}}}},
            "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "Parse one or more decimal digits"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.parse.core.unwrapTerm",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {"function": {"variable": "hydra.core.parsing.Parser"}, "argument": {"variable": "hydra.core.model.Term"}}}}},
        "body": {
          "annotated": {
            "body": {
              "application": {
                "function": {
                  "application": {
                    "function": {
                      "typeApplication": {
                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.map"}, "type": {"variable": "hydra.core.model.Name"}}},
                        "type": {"variable": "hydra.core.model.Term"}}},
                    "argument": {
                      "lambda": {
                        "parameter": "n",
                        "domain": {"variable": "hydra.core.model.Name"},
                        "body": {"inject": {"typeName": "hydra.core.model.Term", "field": {"name": "unwrap", "term": {"variable": "n"}}}}}}}},
                "argument": {
                  "application": {
                    "function": {
                      "application": {
                        "function": {
                          "typeApplication": {
                            "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                            "type": {"variable": "hydra.core.model.Name"}}},
                        "argument": {
                          "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": "unwrap"}}}}}},
                    "argument": {
                      "lambda": {
                        "parameter": "_",
                        "domain": {"literal": "string"},
                        "body": {
                          "application": {
                            "function": {
                              "application": {
                                "function": {
                                  "typeApplication": {
                                    "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                    "type": {"variable": "hydra.core.model.Name"}}},
                                "argument": {
                                  "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": "("}}}}}},
                            "argument": {
                              "lambda": {
                                "parameter": "_",
                                "domain": {"literal": "string"},
                                "body": {
                                  "application": {
                                    "function": {
                                      "application": {
                                        "function": {
                                          "typeApplication": {
                                            "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"variable": "hydra.core.model.Name"}}},
                                            "type": {"variable": "hydra.core.model.Name"}}},
                                        "argument": {"variable": "hydra.core.parse.core.name"}}},
                                    "argument": {
                                      "lambda": {
                                        "parameter": "n",
                                        "domain": {"variable": "hydra.core.model.Name"},
                                        "body": {
                                          "application": {
                                            "function": {
                                              "application": {
                                                "function": {
                                                  "typeApplication": {
                                                    "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                                    "type": {"variable": "hydra.core.model.Name"}}},
                                                "argument": {
                                                  "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": ")"}}}}}},
                                            "argument": {
                                              "lambda": {
                                                "parameter": "_",
                                                "domain": {"literal": "string"},
                                                "body": {
                                                  "application": {
                                                    "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"variable": "hydra.core.model.Name"}}},
                                                    "argument": {"variable": "n"}}}}}}}}}}}}}}}}}}}}},
            "annotation": {
              "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "Parse an unwrap term: 'unwrap' '(' name ')'"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.parse.core.whitespace",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {"type": {"application": {"function": {"variable": "hydra.core.parsing.Parser"}, "argument": "unit"}}}},
        "body": {
          "annotated": {
            "body": {
              "application": {
                "function": {
                  "application": {
                    "function": {
                      "typeApplication": {
                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.map"}, "type": {"list": "unit"}}},
                        "type": "unit"}},
                    "argument": {"lambda": {"parameter": "_", "domain": {"list": "unit"}, "body": "unit"}}}},
                "argument": {
                  "application": {
                    "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.many"}, "type": "unit"}},
                    "argument": {
                      "application": {
                        "function": {
                          "application": {
                            "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.alt"}, "type": "unit"}},
                            "argument": {
                              "application": {
                                "function": {
                                  "application": {
                                    "function": {
                                      "typeApplication": {
                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.map"}, "type": {"literal": {"integer": "int32"}}}},
                                        "type": "unit"}},
                                    "argument": {"lambda": {"parameter": "_", "domain": {"literal": {"integer": "int32"}}, "body": "unit"}}}},
                                "argument": {
                                  "application": {
                                    "function": {"variable": "hydra.core.parsers.satisfy"},
                                    "argument": {
                                      "lambda": {
                                        "parameter": "c",
                                        "domain": {"literal": {"integer": "int32"}},
                                        "body": {"application": {"function": {"variable": "hydra.core.lib.chars.isSpace"}, "argument": {"variable": "c"}}}}}}}}}}},
                        "argument": {
                          "application": {
                            "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.try"}, "type": "unit"}},
                            "argument": {
                              "application": {
                                "function": {
                                  "application": {
                                    "function": {
                                      "typeApplication": {
                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": {"integer": "int32"}}}},
                                        "type": "unit"}},
                                    "argument": {
                                      "application": {"function": {"variable": "hydra.core.parsers.char"}, "argument": {"literal": {"integer": {"int32": 35}}}}}}},
                                "argument": {
                                  "lambda": {
                                    "parameter": "_",
                                    "domain": {"literal": {"integer": "int32"}},
                                    "body": {
                                      "application": {
                                        "function": {
                                          "application": {
                                            "function": {
                                              "typeApplication": {"body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": "unit"}}, "type": "unit"}},
                                            "argument": {
                                              "application": {
                                                "function": {
                                                  "application": {
                                                    "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.alt"}, "type": "unit"}},
                                                    "argument": {"variable": "hydra.core.parsers.eof"}}},
                                                "argument": {
                                                  "application": {
                                                    "function": {
                                                      "application": {
                                                        "function": {
                                                          "typeApplication": {
                                                            "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.map"}, "type": {"literal": {"integer": "int32"}}}},
                                                            "type": "unit"}},
                                                        "argument": {"lambda": {"parameter": "_", "domain": {"literal": {"integer": "int32"}}, "body": "unit"}}}},
                                                    "argument": {
                                                      "application": {
                                                        "function": {"variable": "hydra.core.parsers.satisfy"},
                                                        "argument": {
                                                          "lambda": {
                                                            "parameter": "c",
                                                            "domain": {"literal": {"integer": "int32"}},
                                                            "body": {
                                                              "application": {
                                                                "function": {"variable": "hydra.core.lib.logic.not"},
                                                                "argument": {
                                                                  "application": {
                                                                    "function": {
                                                                      "application": {
                                                                        "function": {"typeApplication": {"body": {"variable": "hydra.core.lib.equality.equal"}, "type": {"literal": {"integer": "int32"}}}},
                                                                        "argument": {"variable": "c"}}},
                                                                    "argument": {"literal": {"integer": {"int32": 35}}}}}}}}}}}}}}}}},
                                        "argument": {
                                          "lambda": {
                                            "parameter": "_",
                                            "domain": "unit",
                                            "body": {
                                              "application": {
                                                "function": {
                                                  "application": {
                                                    "function": {
                                                      "typeApplication": {
                                                        "body": {
                                                          "typeApplication": {"body": {"variable": "hydra.core.parsers.map"}, "type": {"list": {"literal": {"integer": "int32"}}}}},
                                                        "type": "unit"}},
                                                    "argument": {"lambda": {"parameter": "_", "domain": {"list": {"literal": {"integer": "int32"}}}, "body": "unit"}}}},
                                                "argument": {
                                                  "application": {
                                                    "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.many"}, "type": {"literal": {"integer": "int32"}}}},
                                                    "argument": {
                                                      "application": {
                                                        "function": {"variable": "hydra.core.parsers.satisfy"},
                                                        "argument": {
                                                          "lambda": {
                                                            "parameter": "c",
                                                            "domain": {"literal": {"integer": "int32"}},
                                                            "body": {
                                                              "application": {
                                                                "function": {"variable": "hydra.core.lib.logic.not"},
                                                                "argument": {
                                                                  "application": {
                                                                    "function": {
                                                                      "application": {
                                                                        "function": {"typeApplication": {"body": {"variable": "hydra.core.lib.equality.equal"}, "type": {"literal": {"integer": "int32"}}}},
                                                                        "argument": {"variable": "c"}}},
                                                                    "argument": {"literal": {"integer": {"int32": 10}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "Skip zero or more whitespace characters and ordinary (non-'##') '#' line comments"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.parse.core.wrapTerm",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {"function": {"variable": "hydra.core.parsing.Parser"}, "argument": {"variable": "hydra.core.model.Term"}}}}},
        "body": {
          "annotated": {
            "body": {
              "application": {
                "function": {
                  "application": {
                    "function": {
                      "typeApplication": {
                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"variable": "hydra.core.model.Name"}}},
                        "type": {"variable": "hydra.core.model.Term"}}},
                    "argument": {
                      "application": {
                        "function": {
                          "application": {
                            "function": {
                              "typeApplication": {
                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                "type": {"variable": "hydra.core.model.Name"}}},
                            "argument": {
                              "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": "wrap"}}}}}},
                        "argument": {
                          "lambda": {
                            "parameter": "_",
                            "domain": {"literal": "string"},
                            "body": {
                              "application": {
                                "function": {
                                  "application": {
                                    "function": {
                                      "typeApplication": {
                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                        "type": {"variable": "hydra.core.model.Name"}}},
                                    "argument": {
                                      "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": "("}}}}}},
                                "argument": {
                                  "lambda": {
                                    "parameter": "_",
                                    "domain": {"literal": "string"},
                                    "body": {
                                      "application": {
                                        "function": {
                                          "application": {
                                            "function": {
                                              "typeApplication": {
                                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"variable": "hydra.core.model.Name"}}},
                                                "type": {"variable": "hydra.core.model.Name"}}},
                                            "argument": {"variable": "hydra.core.parse.core.name"}}},
                                        "argument": {
                                          "lambda": {
                                            "parameter": "n",
                                            "domain": {"variable": "hydra.core.model.Name"},
                                            "body": {
                                              "application": {
                                                "function": {
                                                  "application": {
                                                    "function": {
                                                      "typeApplication": {
                                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                                        "type": {"variable": "hydra.core.model.Name"}}},
                                                    "argument": {
                                                      "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": ")"}}}}}},
                                                "argument": {
                                                  "lambda": {
                                                    "parameter": "_",
                                                    "domain": {"literal": "string"},
                                                    "body": {
                                                      "application": {
                                                        "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"variable": "hydra.core.model.Name"}}},
                                                        "argument": {"variable": "n"}}}}}}}}}}}}}}}}}}}}},
                "argument": {
                  "lambda": {
                    "parameter": "tname",
                    "domain": {"variable": "hydra.core.model.Name"},
                    "body": {
                      "application": {
                        "function": {
                          "application": {
                            "function": {
                              "typeApplication": {
                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                "type": {"variable": "hydra.core.model.Term"}}},
                            "argument": {
                              "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": "{"}}}}}},
                        "argument": {
                          "lambda": {
                            "parameter": "_",
                            "domain": {"literal": "string"},
                            "body": {
                              "application": {
                                "function": {
                                  "application": {
                                    "function": {
                                      "typeApplication": {
                                        "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"variable": "hydra.core.model.Term"}}},
                                        "type": {"variable": "hydra.core.model.Term"}}},
                                    "argument": {
                                      "application": {
                                        "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.lazy"}, "type": {"variable": "hydra.core.model.Term"}}},
                                        "argument": {"lambda": {"parameter": "_", "domain": "unit", "body": {"variable": "hydra.core.parse.core.term"}}}}}}},
                                "argument": {
                                  "lambda": {
                                    "parameter": "t",
                                    "domain": {"variable": "hydra.core.model.Term"},
                                    "body": {
                                      "application": {
                                        "function": {
                                          "application": {
                                            "function": {
                                              "typeApplication": {
                                                "body": {"typeApplication": {"body": {"variable": "hydra.core.parsers.bind"}, "type": {"literal": "string"}}},
                                                "type": {"variable": "hydra.core.model.Term"}}},
                                            "argument": {
                                              "application": {"function": {"variable": "hydra.core.parse.core.termKeyword"}, "argument": {"literal": {"string": "}"}}}}}},
                                        "argument": {
                                          "lambda": {
                                            "parameter": "_",
                                            "domain": {"literal": "string"},
                                            "body": {
                                              "application": {
                                                "function": {"typeApplication": {"body": {"variable": "hydra.core.parsers.pure"}, "type": {"variable": "hydra.core.model.Term"}}},
                                                "argument": {
                                                  "inject": {
                                                    "typeName": "hydra.core.model.Term",
                                                    "field": {
                                                      "name": "wrap",
                                                      "term": {
                                                        "record": {
                                                          "typeName": "hydra.core.model.WrappedTerm",
                                                          "fields": [{"name": "typeName", "term": {"variable": "tname"}}, {"name": "body", "term": {"variable": "t"}}]}}}}}}}}}}}}}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "Parse a wrap term: 'wrap' '(' name ')' '{' term '}'"}}}]}}}}}]}