hydra-kernel-0.18.1: hydra-kernel-json/hydra/core/dsl/diff.json
{
"name": "hydra.core.dsl.diff",
"metadata": {"description": "DSL functions for hydra.core.diff", "comments": [], "seeAlso": [], "provisions": []},
"dependencies": [
{"module": "hydra.core.diff"},
{"module": "hydra.core.typed"},
{"module": "hydra.core.encode.diff"},
{"module": "hydra.core.decode.diff"}],
"definitions": [
{
"term": {
"name": "hydra.core.dsl.diff.editEdit",
"signature": {
"typeParameters": [{"name": "a", "constraints": []}, {"name": "s", "constraints": []}],
"parameters": [],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedName"},
"argument": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.Edit"}, "argument": {"variable": "a"}}},
"argument": {"variable": "s"}}}}}}},
"body": {
"annotated": {
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedName",
"body": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.diff.Edit"}}}}}},
"annotation": {
"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "DSL name token for hydra.core.diff.Edit"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.diff.encodeEdit",
"signature": {
"typeParameters": [{"name": "a", "constraints": []}, {"name": "s", "constraints": []}],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"function": {"domain": {"variable": "a"}, "codomain": {"variable": "hydra.core.model.Term"}}}}},
"isLazy": false},
{
"name": "arg1",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"function": {"domain": {"variable": "s"}, "codomain": {"variable": "hydra.core.model.Term"}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"function": {
"domain": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.Edit"}, "argument": {"variable": "a"}}},
"argument": {"variable": "s"}}},
"codomain": {"variable": "hydra.core.model.Term"}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "a",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"function": {"domain": {"variable": "a"}, "codomain": {"variable": "hydra.core.model.Term"}}}}},
"body": {
"lambda": {
"parameter": "s",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"function": {"domain": {"variable": "s"}, "codomain": {"variable": "hydra.core.model.Term"}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "variable",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.encode.diff.edit"}}}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "a"}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "s"}}}}]}}}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL composition builder for the encoder of hydra.core.diff.Edit"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.diff.decodeEdit",
"signature": {
"typeParameters": [{"name": "a", "constraints": []}, {"name": "s", "constraints": []}],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"function": {
"domain": {"variable": "hydra.core.graph.Graph"},
"codomain": {
"function": {
"domain": {"variable": "hydra.core.model.Term"},
"codomain": {"either": {"left": {"variable": "hydra.core.errors.DecodingError"}, "right": {"variable": "a"}}}}}}}}},
"isLazy": false},
{
"name": "arg1",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"function": {
"domain": {"variable": "hydra.core.graph.Graph"},
"codomain": {
"function": {
"domain": {"variable": "hydra.core.model.Term"},
"codomain": {"either": {"left": {"variable": "hydra.core.errors.DecodingError"}, "right": {"variable": "s"}}}}}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"function": {
"domain": {"variable": "hydra.core.graph.Graph"},
"codomain": {
"function": {
"domain": {"variable": "hydra.core.model.Term"},
"codomain": {
"either": {
"left": {"variable": "hydra.core.errors.DecodingError"},
"right": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.Edit"}, "argument": {"variable": "a"}}},
"argument": {"variable": "s"}}}}}}}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "a",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"function": {
"domain": {"variable": "hydra.core.graph.Graph"},
"codomain": {
"function": {
"domain": {"variable": "hydra.core.model.Term"},
"codomain": {"either": {"left": {"variable": "hydra.core.errors.DecodingError"}, "right": {"variable": "a"}}}}}}}}},
"body": {
"lambda": {
"parameter": "s",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"function": {
"domain": {"variable": "hydra.core.graph.Graph"},
"codomain": {
"function": {
"domain": {"variable": "hydra.core.model.Term"},
"codomain": {"either": {"left": {"variable": "hydra.core.errors.DecodingError"}, "right": {"variable": "s"}}}}}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "variable",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.decode.diff.edit"}}}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "a"}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "s"}}}}]}}}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL composition builder for the decoder of hydra.core.diff.Edit"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.diff.editRetain",
"signature": {
"typeParameters": [{"name": "a", "constraints": []}, {"name": "s", "constraints": []}],
"parameters": [],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.Edit"}, "argument": {"variable": "a"}}},
"argument": {"variable": "s"}}}}}}},
"body": {
"annotated": {
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "inject",
"term": {
"record": {
"typeName": "hydra.core.model.Injection",
"fields": [
{
"name": "typeName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.diff.Edit"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "retain"}}}}},
{"name": "term", "term": {"inject": {"typeName": "hydra.core.model.Term", "field": {"name": "unit", "term": "unit"}}}}]}}}]}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL injection for the retain variant of hydra.core.diff.Edit"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.diff.editSet",
"signature": {
"typeParameters": [{"name": "a", "constraints": []}, {"name": "s", "constraints": []}],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "a"},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "Set this position to the given value (upsert: prior presence is irrelevant)"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.Edit"}, "argument": {"variable": "a"}}},
"argument": {"variable": "s"}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "a"},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "Set this position to the given value (upsert: prior presence is irrelevant)"}}}]}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "inject",
"term": {
"record": {
"typeName": "hydra.core.model.Injection",
"fields": [
{
"name": "typeName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.diff.Edit"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "set"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}]}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL injection for the set variant of hydra.core.diff.Edit"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.diff.editDelete",
"signature": {
"typeParameters": [{"name": "a", "constraints": []}, {"name": "s", "constraints": []}],
"parameters": [],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.Edit"}, "argument": {"variable": "a"}}},
"argument": {"variable": "s"}}}}}}},
"body": {
"annotated": {
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "inject",
"term": {
"record": {
"typeName": "hydra.core.model.Injection",
"fields": [
{
"name": "typeName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.diff.Edit"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "delete"}}}}},
{"name": "term", "term": {"inject": {"typeName": "hydra.core.model.Term", "field": {"name": "unit", "term": "unit"}}}}]}}}]}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL injection for the delete variant of hydra.core.diff.Edit"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.diff.editDescend",
"signature": {
"typeParameters": [{"name": "a", "constraints": []}, {"name": "s", "constraints": []}],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {
"list": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.StepEdit"}, "argument": {"variable": "a"}}},
"argument": {"variable": "s"}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "Edit specific immediate children, one StepEdit per changed step"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.Edit"}, "argument": {"variable": "a"}}},
"argument": {"variable": "s"}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {
"list": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.StepEdit"}, "argument": {"variable": "a"}}},
"argument": {"variable": "s"}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "Edit specific immediate children, one StepEdit per changed step"}}}]}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "inject",
"term": {
"record": {
"typeName": "hydra.core.model.Injection",
"fields": [
{
"name": "typeName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.diff.Edit"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "descend"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}]}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL injection for the descend variant of hydra.core.diff.Edit"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.diff.fillFill",
"signature": {
"typeParameters": [{"name": "v", "constraints": []}],
"parameters": [],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedName"},
"argument": {"application": {"function": {"variable": "hydra.core.diff.Fill"}, "argument": {"variable": "v"}}}}}}},
"body": {
"annotated": {
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedName",
"body": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.diff.Fill"}}}}}},
"annotation": {
"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "DSL name token for hydra.core.diff.Fill"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.diff.encodeFill",
"signature": {
"typeParameters": [{"name": "v", "constraints": []}],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"function": {"domain": {"variable": "v"}, "codomain": {"variable": "hydra.core.model.Term"}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"function": {
"domain": {"application": {"function": {"variable": "hydra.core.diff.Fill"}, "argument": {"variable": "v"}}},
"codomain": {"variable": "hydra.core.model.Term"}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "v",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"function": {"domain": {"variable": "v"}, "codomain": {"variable": "hydra.core.model.Term"}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "variable",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.encode.diff.fill"}}}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "v"}}}}]}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL composition builder for the encoder of hydra.core.diff.Fill"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.diff.decodeFill",
"signature": {
"typeParameters": [{"name": "v", "constraints": []}],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"function": {
"domain": {"variable": "hydra.core.graph.Graph"},
"codomain": {
"function": {
"domain": {"variable": "hydra.core.model.Term"},
"codomain": {"either": {"left": {"variable": "hydra.core.errors.DecodingError"}, "right": {"variable": "v"}}}}}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"function": {
"domain": {"variable": "hydra.core.graph.Graph"},
"codomain": {
"function": {
"domain": {"variable": "hydra.core.model.Term"},
"codomain": {
"either": {
"left": {"variable": "hydra.core.errors.DecodingError"},
"right": {"application": {"function": {"variable": "hydra.core.diff.Fill"}, "argument": {"variable": "v"}}}}}}}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "v",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"function": {
"domain": {"variable": "hydra.core.graph.Graph"},
"codomain": {
"function": {
"domain": {"variable": "hydra.core.model.Term"},
"codomain": {"either": {"left": {"variable": "hydra.core.errors.DecodingError"}, "right": {"variable": "v"}}}}}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "variable",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.decode.diff.fill"}}}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "v"}}}}]}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL composition builder for the decoder of hydra.core.diff.Fill"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.diff.fillFillNow",
"signature": {
"typeParameters": [{"name": "v", "constraints": []}],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"function": {"domain": {"variable": "v"}, "codomain": {"variable": "v"}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "Fill the hole here: a function from the old value (context) to the filled value"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"application": {"function": {"variable": "hydra.core.diff.Fill"}, "argument": {"variable": "v"}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"function": {"domain": {"variable": "v"}, "codomain": {"variable": "v"}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "Fill the hole here: a function from the old value (context) to the filled value"}}}]}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "inject",
"term": {
"record": {
"typeName": "hydra.core.model.Injection",
"fields": [
{
"name": "typeName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.diff.Fill"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "fillNow"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}]}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL injection for the fillNow variant of hydra.core.diff.Fill"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.diff.fillDefer",
"signature": {
"typeParameters": [{"name": "v", "constraints": []}],
"parameters": [],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"application": {"function": {"variable": "hydra.core.diff.Fill"}, "argument": {"variable": "v"}}}}}}},
"body": {
"annotated": {
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "inject",
"term": {
"record": {
"typeName": "hydra.core.model.Injection",
"fields": [
{
"name": "typeName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.diff.Fill"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "defer"}}}}},
{"name": "term", "term": {"inject": {"typeName": "hydra.core.model.Term", "field": {"name": "unit", "term": "unit"}}}}]}}}]}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL injection for the defer variant of hydra.core.diff.Fill"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.diff.holeHole",
"signature": {
"typeParameters": [{"name": "t", "constraints": []}, {"name": "s", "constraints": []}],
"parameters": [],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedName"},
"argument": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.Hole"}, "argument": {"variable": "t"}}},
"argument": {"variable": "s"}}}}}}},
"body": {
"annotated": {
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedName",
"body": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.diff.Hole"}}}}}},
"annotation": {
"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "DSL name token for hydra.core.diff.Hole"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.diff.encodeHole",
"signature": {
"typeParameters": [{"name": "t", "constraints": []}, {"name": "s", "constraints": []}],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"function": {"domain": {"variable": "t"}, "codomain": {"variable": "hydra.core.model.Term"}}}}},
"isLazy": false},
{
"name": "arg1",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"function": {"domain": {"variable": "s"}, "codomain": {"variable": "hydra.core.model.Term"}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"function": {
"domain": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.Hole"}, "argument": {"variable": "t"}}},
"argument": {"variable": "s"}}},
"codomain": {"variable": "hydra.core.model.Term"}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "t",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"function": {"domain": {"variable": "t"}, "codomain": {"variable": "hydra.core.model.Term"}}}}},
"body": {
"lambda": {
"parameter": "s",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"function": {"domain": {"variable": "s"}, "codomain": {"variable": "hydra.core.model.Term"}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "variable",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.encode.diff.hole"}}}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "t"}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "s"}}}}]}}}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL composition builder for the encoder of hydra.core.diff.Hole"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.diff.decodeHole",
"signature": {
"typeParameters": [{"name": "t", "constraints": []}, {"name": "s", "constraints": []}],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"function": {
"domain": {"variable": "hydra.core.graph.Graph"},
"codomain": {
"function": {
"domain": {"variable": "hydra.core.model.Term"},
"codomain": {"either": {"left": {"variable": "hydra.core.errors.DecodingError"}, "right": {"variable": "t"}}}}}}}}},
"isLazy": false},
{
"name": "arg1",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"function": {
"domain": {"variable": "hydra.core.graph.Graph"},
"codomain": {
"function": {
"domain": {"variable": "hydra.core.model.Term"},
"codomain": {"either": {"left": {"variable": "hydra.core.errors.DecodingError"}, "right": {"variable": "s"}}}}}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"function": {
"domain": {"variable": "hydra.core.graph.Graph"},
"codomain": {
"function": {
"domain": {"variable": "hydra.core.model.Term"},
"codomain": {
"either": {
"left": {"variable": "hydra.core.errors.DecodingError"},
"right": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.Hole"}, "argument": {"variable": "t"}}},
"argument": {"variable": "s"}}}}}}}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "t",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"function": {
"domain": {"variable": "hydra.core.graph.Graph"},
"codomain": {
"function": {
"domain": {"variable": "hydra.core.model.Term"},
"codomain": {"either": {"left": {"variable": "hydra.core.errors.DecodingError"}, "right": {"variable": "t"}}}}}}}}},
"body": {
"lambda": {
"parameter": "s",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"function": {
"domain": {"variable": "hydra.core.graph.Graph"},
"codomain": {
"function": {
"domain": {"variable": "hydra.core.model.Term"},
"codomain": {"either": {"left": {"variable": "hydra.core.errors.DecodingError"}, "right": {"variable": "s"}}}}}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "variable",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.decode.diff.hole"}}}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "t"}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "s"}}}}]}}}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL composition builder for the decoder of hydra.core.diff.Hole"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.diff.hole",
"signature": {
"typeParameters": [{"name": "t", "constraints": []}, {"name": "s", "constraints": []}],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"list": {"variable": "s"}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "The value-path (sequence of steps) to the position needing a value"}}}]}}}}},
"isLazy": false},
{
"name": "arg1",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "t"},
"annotation": {
"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The 'type' a fill must produce at this hole"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.Hole"}, "argument": {"variable": "t"}}},
"argument": {"variable": "s"}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "path",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"list": {"variable": "s"}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "The value-path (sequence of steps) to the position needing a value"}}}]}}}}},
"body": {
"lambda": {
"parameter": "type",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "t"},
"annotation": {
"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The 'type' a fill must produce at this hole"}}}]}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.diff.Hole"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "path"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "path"}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "type"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "type"}}}}]}}]}}]}}}}}}}}}}},
"annotation": {
"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "DSL constructor for hydra.core.diff.Hole"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.diff.holePath",
"signature": {
"typeParameters": [{"name": "t", "constraints": []}, {"name": "s", "constraints": []}],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.Hole"}, "argument": {"variable": "t"}}},
"argument": {"variable": "s"}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"list": {"variable": "s"}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "The value-path (sequence of steps) to the position needing a value"}}}]}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.Hole"}, "argument": {"variable": "t"}}},
"argument": {"variable": "s"}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "project",
"term": {
"record": {
"typeName": "hydra.core.model.Projection",
"fields": [
{
"name": "typeName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.diff.Hole"}}}}},
{"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "path"}}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL accessor for the path field of hydra.core.diff.Hole"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.diff.holeType",
"signature": {
"typeParameters": [{"name": "t", "constraints": []}, {"name": "s", "constraints": []}],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.Hole"}, "argument": {"variable": "t"}}},
"argument": {"variable": "s"}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "t"},
"annotation": {
"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The 'type' a fill must produce at this hole"}}}]}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.Hole"}, "argument": {"variable": "t"}}},
"argument": {"variable": "s"}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "project",
"term": {
"record": {
"typeName": "hydra.core.model.Projection",
"fields": [
{
"name": "typeName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.diff.Hole"}}}}},
{"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "type"}}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL accessor for the type field of hydra.core.diff.Hole"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.diff.holeWithPath",
"signature": {
"typeParameters": [{"name": "t", "constraints": []}, {"name": "s", "constraints": []}],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.Hole"}, "argument": {"variable": "t"}}},
"argument": {"variable": "s"}}}}},
"isLazy": false},
{
"name": "arg1",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"list": {"variable": "s"}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "The value-path (sequence of steps) to the position needing a value"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.Hole"}, "argument": {"variable": "t"}}},
"argument": {"variable": "s"}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "original",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.Hole"}, "argument": {"variable": "t"}}},
"argument": {"variable": "s"}}}}},
"body": {
"lambda": {
"parameter": "newVal",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"list": {"variable": "s"}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "The value-path (sequence of steps) to the position needing a value"}}}]}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.diff.Hole"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "path"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "type"}}}}},
{
"name": "term",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "project",
"term": {
"record": {
"typeName": "hydra.core.model.Projection",
"fields": [
{
"name": "typeName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.diff.Hole"}}}}},
{"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "type"}}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}}]}}]}}}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL updater for the path field of hydra.core.diff.Hole"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.diff.holeWithType",
"signature": {
"typeParameters": [{"name": "t", "constraints": []}, {"name": "s", "constraints": []}],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.Hole"}, "argument": {"variable": "t"}}},
"argument": {"variable": "s"}}}}},
"isLazy": false},
{
"name": "arg1",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "t"},
"annotation": {
"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The 'type' a fill must produce at this hole"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.Hole"}, "argument": {"variable": "t"}}},
"argument": {"variable": "s"}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "original",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.Hole"}, "argument": {"variable": "t"}}},
"argument": {"variable": "s"}}}}},
"body": {
"lambda": {
"parameter": "newVal",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "t"},
"annotation": {
"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The 'type' a fill must produce at this hole"}}}]}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.diff.Hole"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "path"}}}}},
{
"name": "term",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "project",
"term": {
"record": {
"typeName": "hydra.core.model.Projection",
"fields": [
{
"name": "typeName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.diff.Hole"}}}}},
{"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "path"}}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "type"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}}]}}]}}}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL updater for the type field of hydra.core.diff.Hole"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.diff.holeFillerHoleFiller",
"signature": {
"typeParameters": [{"name": "v", "constraints": []}, {"name": "s", "constraints": []}],
"parameters": [],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedName"},
"argument": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.HoleFiller"}, "argument": {"variable": "v"}}},
"argument": {"variable": "s"}}}}}}},
"body": {
"annotated": {
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedName",
"body": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.diff.HoleFiller"}}}}}},
"annotation": {
"map": [
{"key": {"variable": "description"}, "value": {"literal": {"string": "DSL name token for hydra.core.diff.HoleFiller"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.diff.encodeHoleFiller",
"signature": {
"typeParameters": [{"name": "v", "constraints": []}, {"name": "s", "constraints": []}],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"function": {"domain": {"variable": "v"}, "codomain": {"variable": "hydra.core.model.Term"}}}}},
"isLazy": false},
{
"name": "arg1",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"function": {"domain": {"variable": "s"}, "codomain": {"variable": "hydra.core.model.Term"}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"function": {
"domain": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.HoleFiller"}, "argument": {"variable": "v"}}},
"argument": {"variable": "s"}}},
"codomain": {"variable": "hydra.core.model.Term"}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "v",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"function": {"domain": {"variable": "v"}, "codomain": {"variable": "hydra.core.model.Term"}}}}},
"body": {
"lambda": {
"parameter": "s",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"function": {"domain": {"variable": "s"}, "codomain": {"variable": "hydra.core.model.Term"}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "variable",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.encode.diff.holeFiller"}}}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "v"}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "s"}}}}]}}}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL composition builder for the encoder of hydra.core.diff.HoleFiller"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.diff.decodeHoleFiller",
"signature": {
"typeParameters": [{"name": "v", "constraints": []}, {"name": "s", "constraints": []}],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"function": {
"domain": {"variable": "hydra.core.graph.Graph"},
"codomain": {
"function": {
"domain": {"variable": "hydra.core.model.Term"},
"codomain": {"either": {"left": {"variable": "hydra.core.errors.DecodingError"}, "right": {"variable": "v"}}}}}}}}},
"isLazy": false},
{
"name": "arg1",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"function": {
"domain": {"variable": "hydra.core.graph.Graph"},
"codomain": {
"function": {
"domain": {"variable": "hydra.core.model.Term"},
"codomain": {"either": {"left": {"variable": "hydra.core.errors.DecodingError"}, "right": {"variable": "s"}}}}}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"function": {
"domain": {"variable": "hydra.core.graph.Graph"},
"codomain": {
"function": {
"domain": {"variable": "hydra.core.model.Term"},
"codomain": {
"either": {
"left": {"variable": "hydra.core.errors.DecodingError"},
"right": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.HoleFiller"}, "argument": {"variable": "v"}}},
"argument": {"variable": "s"}}}}}}}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "v",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"function": {
"domain": {"variable": "hydra.core.graph.Graph"},
"codomain": {
"function": {
"domain": {"variable": "hydra.core.model.Term"},
"codomain": {"either": {"left": {"variable": "hydra.core.errors.DecodingError"}, "right": {"variable": "v"}}}}}}}}},
"body": {
"lambda": {
"parameter": "s",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"function": {
"domain": {"variable": "hydra.core.graph.Graph"},
"codomain": {
"function": {
"domain": {"variable": "hydra.core.model.Term"},
"codomain": {"either": {"left": {"variable": "hydra.core.errors.DecodingError"}, "right": {"variable": "s"}}}}}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "variable",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.decode.diff.holeFiller"}}}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "v"}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "s"}}}}]}}}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL composition builder for the decoder of hydra.core.diff.HoleFiller"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.diff.holeFiller",
"signature": {
"typeParameters": [{"name": "v", "constraints": []}, {"name": "s", "constraints": []}],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"list": {"variable": "s"}},
"annotation": {
"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path of the residual hole being supplied"}}}]}}}}},
"isLazy": false},
{
"name": "arg1",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "v"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The value supplied for that hole"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.HoleFiller"}, "argument": {"variable": "v"}}},
"argument": {"variable": "s"}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "path",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"list": {"variable": "s"}},
"annotation": {
"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path of the residual hole being supplied"}}}]}}}}},
"body": {
"lambda": {
"parameter": "value",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "v"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The value supplied for that hole"}}}]}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.diff.HoleFiller"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "path"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "path"}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "value"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "value"}}}}]}}]}}]}}}}}}}}}}},
"annotation": {
"map": [
{"key": {"variable": "description"}, "value": {"literal": {"string": "DSL constructor for hydra.core.diff.HoleFiller"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.diff.holeFillerPath",
"signature": {
"typeParameters": [{"name": "v", "constraints": []}, {"name": "s", "constraints": []}],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.HoleFiller"}, "argument": {"variable": "v"}}},
"argument": {"variable": "s"}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"list": {"variable": "s"}},
"annotation": {
"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path of the residual hole being supplied"}}}]}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.HoleFiller"}, "argument": {"variable": "v"}}},
"argument": {"variable": "s"}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "project",
"term": {
"record": {
"typeName": "hydra.core.model.Projection",
"fields": [
{
"name": "typeName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.diff.HoleFiller"}}}}},
{"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "path"}}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL accessor for the path field of hydra.core.diff.HoleFiller"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.diff.holeFillerValue",
"signature": {
"typeParameters": [{"name": "v", "constraints": []}, {"name": "s", "constraints": []}],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.HoleFiller"}, "argument": {"variable": "v"}}},
"argument": {"variable": "s"}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "v"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The value supplied for that hole"}}}]}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.HoleFiller"}, "argument": {"variable": "v"}}},
"argument": {"variable": "s"}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "project",
"term": {
"record": {
"typeName": "hydra.core.model.Projection",
"fields": [
{
"name": "typeName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.diff.HoleFiller"}}}}},
{"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "value"}}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL accessor for the value field of hydra.core.diff.HoleFiller"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.diff.holeFillerWithPath",
"signature": {
"typeParameters": [{"name": "v", "constraints": []}, {"name": "s", "constraints": []}],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.HoleFiller"}, "argument": {"variable": "v"}}},
"argument": {"variable": "s"}}}}},
"isLazy": false},
{
"name": "arg1",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"list": {"variable": "s"}},
"annotation": {
"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path of the residual hole being supplied"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.HoleFiller"}, "argument": {"variable": "v"}}},
"argument": {"variable": "s"}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "original",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.HoleFiller"}, "argument": {"variable": "v"}}},
"argument": {"variable": "s"}}}}},
"body": {
"lambda": {
"parameter": "newVal",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"list": {"variable": "s"}},
"annotation": {
"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The path of the residual hole being supplied"}}}]}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.diff.HoleFiller"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "path"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "value"}}}}},
{
"name": "term",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "project",
"term": {
"record": {
"typeName": "hydra.core.model.Projection",
"fields": [
{
"name": "typeName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.diff.HoleFiller"}}}}},
{"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "value"}}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}}]}}]}}}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL updater for the path field of hydra.core.diff.HoleFiller"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.diff.holeFillerWithValue",
"signature": {
"typeParameters": [{"name": "v", "constraints": []}, {"name": "s", "constraints": []}],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.HoleFiller"}, "argument": {"variable": "v"}}},
"argument": {"variable": "s"}}}}},
"isLazy": false},
{
"name": "arg1",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "v"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The value supplied for that hole"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.HoleFiller"}, "argument": {"variable": "v"}}},
"argument": {"variable": "s"}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "original",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.HoleFiller"}, "argument": {"variable": "v"}}},
"argument": {"variable": "s"}}}}},
"body": {
"lambda": {
"parameter": "newVal",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "v"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The value supplied for that hole"}}}]}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.diff.HoleFiller"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "path"}}}}},
{
"name": "term",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "project",
"term": {
"record": {
"typeName": "hydra.core.model.Projection",
"fields": [
{
"name": "typeName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.diff.HoleFiller"}}}}},
{"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "path"}}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "value"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}}]}}]}}}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL updater for the value field of hydra.core.diff.HoleFiller"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.diff.invalidFillErrorInvalidFillError",
"signature": {
"typeParameters": [{"name": "t", "constraints": []}, {"name": "v", "constraints": []}, {"name": "s", "constraints": []}],
"parameters": [],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedName"},
"argument": {
"application": {
"function": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.InvalidFillError"}, "argument": {"variable": "t"}}},
"argument": {"variable": "v"}}},
"argument": {"variable": "s"}}}}}}},
"body": {
"annotated": {
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedName",
"body": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.diff.InvalidFillError"}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL name token for hydra.core.diff.InvalidFillError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.diff.encodeInvalidFillError",
"signature": {
"typeParameters": [{"name": "t", "constraints": []}, {"name": "v", "constraints": []}, {"name": "s", "constraints": []}],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"function": {"domain": {"variable": "t"}, "codomain": {"variable": "hydra.core.model.Term"}}}}},
"isLazy": false},
{
"name": "arg1",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"function": {"domain": {"variable": "v"}, "codomain": {"variable": "hydra.core.model.Term"}}}}},
"isLazy": false},
{
"name": "arg2",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"function": {"domain": {"variable": "s"}, "codomain": {"variable": "hydra.core.model.Term"}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"function": {
"domain": {
"application": {
"function": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.InvalidFillError"}, "argument": {"variable": "t"}}},
"argument": {"variable": "v"}}},
"argument": {"variable": "s"}}},
"codomain": {"variable": "hydra.core.model.Term"}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "t",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"function": {"domain": {"variable": "t"}, "codomain": {"variable": "hydra.core.model.Term"}}}}},
"body": {
"lambda": {
"parameter": "v",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"function": {"domain": {"variable": "v"}, "codomain": {"variable": "hydra.core.model.Term"}}}}},
"body": {
"lambda": {
"parameter": "s",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"function": {"domain": {"variable": "s"}, "codomain": {"variable": "hydra.core.model.Term"}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "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": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "variable",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.encode.diff.invalidFillError"}}}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "t"}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "v"}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "s"}}}}]}}}}}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL composition builder for the encoder of hydra.core.diff.InvalidFillError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.diff.decodeInvalidFillError",
"signature": {
"typeParameters": [{"name": "t", "constraints": []}, {"name": "v", "constraints": []}, {"name": "s", "constraints": []}],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"function": {
"domain": {"variable": "hydra.core.graph.Graph"},
"codomain": {
"function": {
"domain": {"variable": "hydra.core.model.Term"},
"codomain": {"either": {"left": {"variable": "hydra.core.errors.DecodingError"}, "right": {"variable": "t"}}}}}}}}},
"isLazy": false},
{
"name": "arg1",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"function": {
"domain": {"variable": "hydra.core.graph.Graph"},
"codomain": {
"function": {
"domain": {"variable": "hydra.core.model.Term"},
"codomain": {"either": {"left": {"variable": "hydra.core.errors.DecodingError"}, "right": {"variable": "v"}}}}}}}}},
"isLazy": false},
{
"name": "arg2",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"function": {
"domain": {"variable": "hydra.core.graph.Graph"},
"codomain": {
"function": {
"domain": {"variable": "hydra.core.model.Term"},
"codomain": {"either": {"left": {"variable": "hydra.core.errors.DecodingError"}, "right": {"variable": "s"}}}}}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"function": {
"domain": {"variable": "hydra.core.graph.Graph"},
"codomain": {
"function": {
"domain": {"variable": "hydra.core.model.Term"},
"codomain": {
"either": {
"left": {"variable": "hydra.core.errors.DecodingError"},
"right": {
"application": {
"function": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.InvalidFillError"}, "argument": {"variable": "t"}}},
"argument": {"variable": "v"}}},
"argument": {"variable": "s"}}}}}}}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "t",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"function": {
"domain": {"variable": "hydra.core.graph.Graph"},
"codomain": {
"function": {
"domain": {"variable": "hydra.core.model.Term"},
"codomain": {"either": {"left": {"variable": "hydra.core.errors.DecodingError"}, "right": {"variable": "t"}}}}}}}}},
"body": {
"lambda": {
"parameter": "v",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"function": {
"domain": {"variable": "hydra.core.graph.Graph"},
"codomain": {
"function": {
"domain": {"variable": "hydra.core.model.Term"},
"codomain": {"either": {"left": {"variable": "hydra.core.errors.DecodingError"}, "right": {"variable": "v"}}}}}}}}},
"body": {
"lambda": {
"parameter": "s",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"function": {
"domain": {"variable": "hydra.core.graph.Graph"},
"codomain": {
"function": {
"domain": {"variable": "hydra.core.model.Term"},
"codomain": {"either": {"left": {"variable": "hydra.core.errors.DecodingError"}, "right": {"variable": "s"}}}}}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "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": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "variable",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.decode.diff.invalidFillError"}}}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "t"}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "v"}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "s"}}}}]}}}}}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL composition builder for the decoder of hydra.core.diff.InvalidFillError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.diff.invalidFillErrorIllTyped",
"signature": {
"typeParameters": [{"name": "t", "constraints": []}, {"name": "v", "constraints": []}, {"name": "s", "constraints": []}],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.Hole"}, "argument": {"variable": "t"}}},
"argument": {"variable": "s"}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "A fillNow produced a value that does not inhabit the hole's type"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"application": {
"function": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.InvalidFillError"}, "argument": {"variable": "t"}}},
"argument": {"variable": "v"}}},
"argument": {"variable": "s"}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.Hole"}, "argument": {"variable": "t"}}},
"argument": {"variable": "s"}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "A fillNow produced a value that does not inhabit the hole's type"}}}]}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "inject",
"term": {
"record": {
"typeName": "hydra.core.model.Injection",
"fields": [
{
"name": "typeName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.diff.InvalidFillError"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "illTyped"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}]}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL injection for the illTyped variant of hydra.core.diff.InvalidFillError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.diff.invalidFillErrorMissingFill",
"signature": {
"typeParameters": [{"name": "t", "constraints": []}, {"name": "v", "constraints": []}, {"name": "s", "constraints": []}],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.Hole"}, "argument": {"variable": "t"}}},
"argument": {"variable": "s"}}},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "A hole received no fill"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"application": {
"function": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.InvalidFillError"}, "argument": {"variable": "t"}}},
"argument": {"variable": "v"}}},
"argument": {"variable": "s"}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.Hole"}, "argument": {"variable": "t"}}},
"argument": {"variable": "s"}}},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "A hole received no fill"}}}]}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "inject",
"term": {
"record": {
"typeName": "hydra.core.model.Injection",
"fields": [
{
"name": "typeName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.diff.InvalidFillError"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "missingFill"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}]}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL injection for the missingFill variant of hydra.core.diff.InvalidFillError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.diff.invalidFillErrorExtraFill",
"signature": {
"typeParameters": [{"name": "t", "constraints": []}, {"name": "v", "constraints": []}, {"name": "s", "constraints": []}],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"literal": {"integer": "int32"}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "A surplus fill at this index, with no hole to answer"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"application": {
"function": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.InvalidFillError"}, "argument": {"variable": "t"}}},
"argument": {"variable": "v"}}},
"argument": {"variable": "s"}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"literal": {"integer": "int32"}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "A surplus fill at this index, with no hole to answer"}}}]}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "inject",
"term": {
"record": {
"typeName": "hydra.core.model.Injection",
"fields": [
{
"name": "typeName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.diff.InvalidFillError"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "extraFill"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}]}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL injection for the extraFill variant of hydra.core.diff.InvalidFillError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.diff.migrationErrorMigrationError",
"signature": {
"typeParameters": [{"name": "t", "constraints": []}, {"name": "v", "constraints": []}, {"name": "s", "constraints": []}],
"parameters": [],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedName"},
"argument": {
"application": {
"function": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.MigrationError"}, "argument": {"variable": "t"}}},
"argument": {"variable": "v"}}},
"argument": {"variable": "s"}}}}}}},
"body": {
"annotated": {
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedName",
"body": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.diff.MigrationError"}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL name token for hydra.core.diff.MigrationError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.diff.encodeMigrationError",
"signature": {
"typeParameters": [{"name": "t", "constraints": []}, {"name": "v", "constraints": []}, {"name": "s", "constraints": []}],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"function": {"domain": {"variable": "t"}, "codomain": {"variable": "hydra.core.model.Term"}}}}},
"isLazy": false},
{
"name": "arg1",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"function": {"domain": {"variable": "v"}, "codomain": {"variable": "hydra.core.model.Term"}}}}},
"isLazy": false},
{
"name": "arg2",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"function": {"domain": {"variable": "s"}, "codomain": {"variable": "hydra.core.model.Term"}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"function": {
"domain": {
"application": {
"function": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.MigrationError"}, "argument": {"variable": "t"}}},
"argument": {"variable": "v"}}},
"argument": {"variable": "s"}}},
"codomain": {"variable": "hydra.core.model.Term"}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "t",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"function": {"domain": {"variable": "t"}, "codomain": {"variable": "hydra.core.model.Term"}}}}},
"body": {
"lambda": {
"parameter": "v",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"function": {"domain": {"variable": "v"}, "codomain": {"variable": "hydra.core.model.Term"}}}}},
"body": {
"lambda": {
"parameter": "s",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"function": {"domain": {"variable": "s"}, "codomain": {"variable": "hydra.core.model.Term"}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "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": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "variable",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.encode.diff.migrationError"}}}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "t"}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "v"}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "s"}}}}]}}}}}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL composition builder for the encoder of hydra.core.diff.MigrationError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.diff.decodeMigrationError",
"signature": {
"typeParameters": [{"name": "t", "constraints": []}, {"name": "v", "constraints": []}, {"name": "s", "constraints": []}],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"function": {
"domain": {"variable": "hydra.core.graph.Graph"},
"codomain": {
"function": {
"domain": {"variable": "hydra.core.model.Term"},
"codomain": {"either": {"left": {"variable": "hydra.core.errors.DecodingError"}, "right": {"variable": "t"}}}}}}}}},
"isLazy": false},
{
"name": "arg1",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"function": {
"domain": {"variable": "hydra.core.graph.Graph"},
"codomain": {
"function": {
"domain": {"variable": "hydra.core.model.Term"},
"codomain": {"either": {"left": {"variable": "hydra.core.errors.DecodingError"}, "right": {"variable": "v"}}}}}}}}},
"isLazy": false},
{
"name": "arg2",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"function": {
"domain": {"variable": "hydra.core.graph.Graph"},
"codomain": {
"function": {
"domain": {"variable": "hydra.core.model.Term"},
"codomain": {"either": {"left": {"variable": "hydra.core.errors.DecodingError"}, "right": {"variable": "s"}}}}}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"function": {
"domain": {"variable": "hydra.core.graph.Graph"},
"codomain": {
"function": {
"domain": {"variable": "hydra.core.model.Term"},
"codomain": {
"either": {
"left": {"variable": "hydra.core.errors.DecodingError"},
"right": {
"application": {
"function": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.MigrationError"}, "argument": {"variable": "t"}}},
"argument": {"variable": "v"}}},
"argument": {"variable": "s"}}}}}}}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "t",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"function": {
"domain": {"variable": "hydra.core.graph.Graph"},
"codomain": {
"function": {
"domain": {"variable": "hydra.core.model.Term"},
"codomain": {"either": {"left": {"variable": "hydra.core.errors.DecodingError"}, "right": {"variable": "t"}}}}}}}}},
"body": {
"lambda": {
"parameter": "v",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"function": {
"domain": {"variable": "hydra.core.graph.Graph"},
"codomain": {
"function": {
"domain": {"variable": "hydra.core.model.Term"},
"codomain": {"either": {"left": {"variable": "hydra.core.errors.DecodingError"}, "right": {"variable": "v"}}}}}}}}},
"body": {
"lambda": {
"parameter": "s",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"function": {
"domain": {"variable": "hydra.core.graph.Graph"},
"codomain": {
"function": {
"domain": {"variable": "hydra.core.model.Term"},
"codomain": {"either": {"left": {"variable": "hydra.core.errors.DecodingError"}, "right": {"variable": "s"}}}}}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "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": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "variable",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.decode.diff.migrationError"}}}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "t"}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "v"}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "s"}}}}]}}}}}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL composition builder for the decoder of hydra.core.diff.MigrationError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.diff.migrationErrorNotAnInstance",
"signature": {
"typeParameters": [{"name": "t", "constraints": []}, {"name": "v", "constraints": []}, {"name": "s", "constraints": []}],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "v"},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "The input value is not a valid instance of the old type"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"application": {
"function": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.MigrationError"}, "argument": {"variable": "t"}}},
"argument": {"variable": "v"}}},
"argument": {"variable": "s"}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "v"},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "The input value is not a valid instance of the old type"}}}]}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "inject",
"term": {
"record": {
"typeName": "hydra.core.model.Injection",
"fields": [
{
"name": "typeName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.diff.MigrationError"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "notAnInstance"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}]}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL injection for the notAnInstance variant of hydra.core.diff.MigrationError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.diff.migrationErrorOutOfRange",
"signature": {
"typeParameters": [{"name": "t", "constraints": []}, {"name": "v", "constraints": []}, {"name": "s", "constraints": []}],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "v"},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "A value failed a narrowing conversion (e.g. numeric overflow); fail-fast rather than truncate"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"application": {
"function": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.MigrationError"}, "argument": {"variable": "t"}}},
"argument": {"variable": "v"}}},
"argument": {"variable": "s"}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "v"},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "A value failed a narrowing conversion (e.g. numeric overflow); fail-fast rather than truncate"}}}]}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "inject",
"term": {
"record": {
"typeName": "hydra.core.model.Injection",
"fields": [
{
"name": "typeName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.diff.MigrationError"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "outOfRange"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}]}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL injection for the outOfRange variant of hydra.core.diff.MigrationError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.diff.migrationErrorRejectedVariant",
"signature": {
"typeParameters": [{"name": "t", "constraints": []}, {"name": "v", "constraints": []}, {"name": "s", "constraints": []}],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "v"},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "An instance of a removed union variant whose handler is reject"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"application": {
"function": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.MigrationError"}, "argument": {"variable": "t"}}},
"argument": {"variable": "v"}}},
"argument": {"variable": "s"}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "v"},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "An instance of a removed union variant whose handler is reject"}}}]}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "inject",
"term": {
"record": {
"typeName": "hydra.core.model.Injection",
"fields": [
{
"name": "typeName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.diff.MigrationError"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "rejectedVariant"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}]}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL injection for the rejectedVariant variant of hydra.core.diff.MigrationError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.diff.migrationErrorIllTypedResult",
"signature": {
"typeParameters": [{"name": "t", "constraints": []}, {"name": "v", "constraints": []}, {"name": "s", "constraints": []}],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.Mistyped"}, "argument": {"variable": "t"}}},
"argument": {"variable": "v"}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "A fill or resolver produced a value that does not inhabit the hole's type"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"application": {
"function": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.MigrationError"}, "argument": {"variable": "t"}}},
"argument": {"variable": "v"}}},
"argument": {"variable": "s"}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.Mistyped"}, "argument": {"variable": "t"}}},
"argument": {"variable": "v"}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "A fill or resolver produced a value that does not inhabit the hole's type"}}}]}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "inject",
"term": {
"record": {
"typeName": "hydra.core.model.Injection",
"fields": [
{
"name": "typeName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.diff.MigrationError"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "illTypedResult"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}]}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL injection for the illTypedResult variant of hydra.core.diff.MigrationError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.diff.migrationErrorUnfilledHole",
"signature": {
"typeParameters": [{"name": "t", "constraints": []}, {"name": "v", "constraints": []}, {"name": "s", "constraints": []}],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.Hole"}, "argument": {"variable": "t"}}},
"argument": {"variable": "s"}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "A deferred hole reached application time still unanswered"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"application": {
"function": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.MigrationError"}, "argument": {"variable": "t"}}},
"argument": {"variable": "v"}}},
"argument": {"variable": "s"}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.Hole"}, "argument": {"variable": "t"}}},
"argument": {"variable": "s"}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "A deferred hole reached application time still unanswered"}}}]}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "inject",
"term": {
"record": {
"typeName": "hydra.core.model.Injection",
"fields": [
{
"name": "typeName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.diff.MigrationError"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "unfilledHole"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}]}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL injection for the unfilledHole variant of hydra.core.diff.MigrationError"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.diff.migrationPlanMigrationPlan",
"signature": {
"typeParameters": [{"name": "n", "constraints": []}, {"name": "t", "constraints": []}, {"name": "s", "constraints": []}],
"parameters": [],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedName"},
"argument": {
"application": {
"function": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.MigrationPlan"}, "argument": {"variable": "n"}}},
"argument": {"variable": "t"}}},
"argument": {"variable": "s"}}}}}}},
"body": {
"annotated": {
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedName",
"body": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.diff.MigrationPlan"}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL name token for hydra.core.diff.MigrationPlan"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.diff.encodeMigrationPlan",
"signature": {
"typeParameters": [{"name": "n", "constraints": []}, {"name": "t", "constraints": []}, {"name": "s", "constraints": []}],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"function": {"domain": {"variable": "n"}, "codomain": {"variable": "hydra.core.model.Term"}}}}},
"isLazy": false},
{
"name": "arg1",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"function": {"domain": {"variable": "t"}, "codomain": {"variable": "hydra.core.model.Term"}}}}},
"isLazy": false},
{
"name": "arg2",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"function": {"domain": {"variable": "s"}, "codomain": {"variable": "hydra.core.model.Term"}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"function": {
"domain": {
"application": {
"function": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.MigrationPlan"}, "argument": {"variable": "n"}}},
"argument": {"variable": "t"}}},
"argument": {"variable": "s"}}},
"codomain": {"variable": "hydra.core.model.Term"}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "n",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"function": {"domain": {"variable": "n"}, "codomain": {"variable": "hydra.core.model.Term"}}}}},
"body": {
"lambda": {
"parameter": "t",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"function": {"domain": {"variable": "t"}, "codomain": {"variable": "hydra.core.model.Term"}}}}},
"body": {
"lambda": {
"parameter": "s",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"function": {"domain": {"variable": "s"}, "codomain": {"variable": "hydra.core.model.Term"}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "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": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "variable",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.encode.diff.migrationPlan"}}}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "n"}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "t"}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "s"}}}}]}}}}}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL composition builder for the encoder of hydra.core.diff.MigrationPlan"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.diff.decodeMigrationPlan",
"signature": {
"typeParameters": [{"name": "n", "constraints": []}, {"name": "t", "constraints": []}, {"name": "s", "constraints": []}],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"function": {
"domain": {"variable": "hydra.core.graph.Graph"},
"codomain": {
"function": {
"domain": {"variable": "hydra.core.model.Term"},
"codomain": {"either": {"left": {"variable": "hydra.core.errors.DecodingError"}, "right": {"variable": "n"}}}}}}}}},
"isLazy": false},
{
"name": "arg1",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"function": {
"domain": {"variable": "hydra.core.graph.Graph"},
"codomain": {
"function": {
"domain": {"variable": "hydra.core.model.Term"},
"codomain": {"either": {"left": {"variable": "hydra.core.errors.DecodingError"}, "right": {"variable": "t"}}}}}}}}},
"isLazy": false},
{
"name": "arg2",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"function": {
"domain": {"variable": "hydra.core.graph.Graph"},
"codomain": {
"function": {
"domain": {"variable": "hydra.core.model.Term"},
"codomain": {"either": {"left": {"variable": "hydra.core.errors.DecodingError"}, "right": {"variable": "s"}}}}}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"function": {
"domain": {"variable": "hydra.core.graph.Graph"},
"codomain": {
"function": {
"domain": {"variable": "hydra.core.model.Term"},
"codomain": {
"either": {
"left": {"variable": "hydra.core.errors.DecodingError"},
"right": {
"application": {
"function": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.MigrationPlan"}, "argument": {"variable": "n"}}},
"argument": {"variable": "t"}}},
"argument": {"variable": "s"}}}}}}}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "n",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"function": {
"domain": {"variable": "hydra.core.graph.Graph"},
"codomain": {
"function": {
"domain": {"variable": "hydra.core.model.Term"},
"codomain": {"either": {"left": {"variable": "hydra.core.errors.DecodingError"}, "right": {"variable": "n"}}}}}}}}},
"body": {
"lambda": {
"parameter": "t",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"function": {
"domain": {"variable": "hydra.core.graph.Graph"},
"codomain": {
"function": {
"domain": {"variable": "hydra.core.model.Term"},
"codomain": {"either": {"left": {"variable": "hydra.core.errors.DecodingError"}, "right": {"variable": "t"}}}}}}}}},
"body": {
"lambda": {
"parameter": "s",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"function": {
"domain": {"variable": "hydra.core.graph.Graph"},
"codomain": {
"function": {
"domain": {"variable": "hydra.core.model.Term"},
"codomain": {"either": {"left": {"variable": "hydra.core.errors.DecodingError"}, "right": {"variable": "s"}}}}}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "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": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "variable",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.decode.diff.migrationPlan"}}}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "n"}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "t"}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "s"}}}}]}}}}}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL composition builder for the decoder of hydra.core.diff.MigrationPlan"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.diff.migrationPlan",
"signature": {
"typeParameters": [{"name": "n", "constraints": []}, {"name": "t", "constraints": []}, {"name": "s", "constraints": []}],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {
"map": {
"keys": {"variable": "n"},
"values": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.Edit"}, "argument": {"variable": "t"}}},
"argument": {"variable": "s"}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "The schema diff: an edit per changed type, keyed by type name"}}}]}}}}},
"isLazy": false},
{
"name": "arg1",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {
"list": {
"application": {
"function": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.SchemaHole"}, "argument": {"variable": "n"}}},
"argument": {"variable": "t"}}},
"argument": {"variable": "s"}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "The ordered holes across all changed types, for the user to answer"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"application": {
"function": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.MigrationPlan"}, "argument": {"variable": "n"}}},
"argument": {"variable": "t"}}},
"argument": {"variable": "s"}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "edits",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {
"map": {
"keys": {"variable": "n"},
"values": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.Edit"}, "argument": {"variable": "t"}}},
"argument": {"variable": "s"}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "The schema diff: an edit per changed type, keyed by type name"}}}]}}}}},
"body": {
"lambda": {
"parameter": "holes",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {
"list": {
"application": {
"function": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.SchemaHole"}, "argument": {"variable": "n"}}},
"argument": {"variable": "t"}}},
"argument": {"variable": "s"}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "The ordered holes across all changed types, for the user to answer"}}}]}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.diff.MigrationPlan"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "edits"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "edits"}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "holes"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "holes"}}}}]}}]}}]}}}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL constructor for hydra.core.diff.MigrationPlan"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.diff.migrationPlanEdits",
"signature": {
"typeParameters": [{"name": "n", "constraints": []}, {"name": "t", "constraints": []}, {"name": "s", "constraints": []}],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"application": {
"function": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.MigrationPlan"}, "argument": {"variable": "n"}}},
"argument": {"variable": "t"}}},
"argument": {"variable": "s"}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {
"map": {
"keys": {"variable": "n"},
"values": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.Edit"}, "argument": {"variable": "t"}}},
"argument": {"variable": "s"}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "The schema diff: an edit per changed type, keyed by type name"}}}]}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"application": {
"function": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.MigrationPlan"}, "argument": {"variable": "n"}}},
"argument": {"variable": "t"}}},
"argument": {"variable": "s"}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "project",
"term": {
"record": {
"typeName": "hydra.core.model.Projection",
"fields": [
{
"name": "typeName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.diff.MigrationPlan"}}}}},
{"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "edits"}}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL accessor for the edits field of hydra.core.diff.MigrationPlan"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.diff.migrationPlanHoles",
"signature": {
"typeParameters": [{"name": "n", "constraints": []}, {"name": "t", "constraints": []}, {"name": "s", "constraints": []}],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"application": {
"function": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.MigrationPlan"}, "argument": {"variable": "n"}}},
"argument": {"variable": "t"}}},
"argument": {"variable": "s"}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {
"list": {
"application": {
"function": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.SchemaHole"}, "argument": {"variable": "n"}}},
"argument": {"variable": "t"}}},
"argument": {"variable": "s"}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "The ordered holes across all changed types, for the user to answer"}}}]}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"application": {
"function": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.MigrationPlan"}, "argument": {"variable": "n"}}},
"argument": {"variable": "t"}}},
"argument": {"variable": "s"}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "project",
"term": {
"record": {
"typeName": "hydra.core.model.Projection",
"fields": [
{
"name": "typeName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.diff.MigrationPlan"}}}}},
{"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "holes"}}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL accessor for the holes field of hydra.core.diff.MigrationPlan"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.diff.migrationPlanWithEdits",
"signature": {
"typeParameters": [{"name": "n", "constraints": []}, {"name": "t", "constraints": []}, {"name": "s", "constraints": []}],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"application": {
"function": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.MigrationPlan"}, "argument": {"variable": "n"}}},
"argument": {"variable": "t"}}},
"argument": {"variable": "s"}}}}},
"isLazy": false},
{
"name": "arg1",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {
"map": {
"keys": {"variable": "n"},
"values": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.Edit"}, "argument": {"variable": "t"}}},
"argument": {"variable": "s"}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "The schema diff: an edit per changed type, keyed by type name"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"application": {
"function": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.MigrationPlan"}, "argument": {"variable": "n"}}},
"argument": {"variable": "t"}}},
"argument": {"variable": "s"}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "original",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"application": {
"function": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.MigrationPlan"}, "argument": {"variable": "n"}}},
"argument": {"variable": "t"}}},
"argument": {"variable": "s"}}}}},
"body": {
"lambda": {
"parameter": "newVal",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {
"map": {
"keys": {"variable": "n"},
"values": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.Edit"}, "argument": {"variable": "t"}}},
"argument": {"variable": "s"}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "The schema diff: an edit per changed type, keyed by type name"}}}]}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.diff.MigrationPlan"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "edits"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "holes"}}}}},
{
"name": "term",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "project",
"term": {
"record": {
"typeName": "hydra.core.model.Projection",
"fields": [
{
"name": "typeName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.diff.MigrationPlan"}}}}},
{"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "holes"}}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}}]}}]}}}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL updater for the edits field of hydra.core.diff.MigrationPlan"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.diff.migrationPlanWithHoles",
"signature": {
"typeParameters": [{"name": "n", "constraints": []}, {"name": "t", "constraints": []}, {"name": "s", "constraints": []}],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"application": {
"function": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.MigrationPlan"}, "argument": {"variable": "n"}}},
"argument": {"variable": "t"}}},
"argument": {"variable": "s"}}}}},
"isLazy": false},
{
"name": "arg1",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {
"list": {
"application": {
"function": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.SchemaHole"}, "argument": {"variable": "n"}}},
"argument": {"variable": "t"}}},
"argument": {"variable": "s"}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "The ordered holes across all changed types, for the user to answer"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"application": {
"function": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.MigrationPlan"}, "argument": {"variable": "n"}}},
"argument": {"variable": "t"}}},
"argument": {"variable": "s"}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "original",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"application": {
"function": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.MigrationPlan"}, "argument": {"variable": "n"}}},
"argument": {"variable": "t"}}},
"argument": {"variable": "s"}}}}},
"body": {
"lambda": {
"parameter": "newVal",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {
"list": {
"application": {
"function": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.SchemaHole"}, "argument": {"variable": "n"}}},
"argument": {"variable": "t"}}},
"argument": {"variable": "s"}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "The ordered holes across all changed types, for the user to answer"}}}]}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.diff.MigrationPlan"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "edits"}}}}},
{
"name": "term",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "project",
"term": {
"record": {
"typeName": "hydra.core.model.Projection",
"fields": [
{
"name": "typeName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.diff.MigrationPlan"}}}}},
{"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "edits"}}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "holes"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}}]}}]}}}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL updater for the holes field of hydra.core.diff.MigrationPlan"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.diff.migratorMigrator",
"signature": {
"typeParameters": [{"name": "t", "constraints": []}, {"name": "v", "constraints": []}, {"name": "s", "constraints": []}],
"parameters": [],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedName"},
"argument": {
"application": {
"function": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.Migrator"}, "argument": {"variable": "t"}}},
"argument": {"variable": "v"}}},
"argument": {"variable": "s"}}}}}}},
"body": {
"annotated": {
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedName",
"body": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.diff.Migrator"}}}}}},
"annotation": {
"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "DSL name token for hydra.core.diff.Migrator"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.diff.encodeMigrator",
"signature": {
"typeParameters": [{"name": "t", "constraints": []}, {"name": "v", "constraints": []}, {"name": "s", "constraints": []}],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"function": {"domain": {"variable": "t"}, "codomain": {"variable": "hydra.core.model.Term"}}}}},
"isLazy": false},
{
"name": "arg1",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"function": {"domain": {"variable": "v"}, "codomain": {"variable": "hydra.core.model.Term"}}}}},
"isLazy": false},
{
"name": "arg2",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"function": {"domain": {"variable": "s"}, "codomain": {"variable": "hydra.core.model.Term"}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"function": {
"domain": {
"application": {
"function": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.Migrator"}, "argument": {"variable": "t"}}},
"argument": {"variable": "v"}}},
"argument": {"variable": "s"}}},
"codomain": {"variable": "hydra.core.model.Term"}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "t",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"function": {"domain": {"variable": "t"}, "codomain": {"variable": "hydra.core.model.Term"}}}}},
"body": {
"lambda": {
"parameter": "v",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"function": {"domain": {"variable": "v"}, "codomain": {"variable": "hydra.core.model.Term"}}}}},
"body": {
"lambda": {
"parameter": "s",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"function": {"domain": {"variable": "s"}, "codomain": {"variable": "hydra.core.model.Term"}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "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": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "variable",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.encode.diff.migrator"}}}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "t"}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "v"}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "s"}}}}]}}}}}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL composition builder for the encoder of hydra.core.diff.Migrator"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.diff.decodeMigrator",
"signature": {
"typeParameters": [{"name": "t", "constraints": []}, {"name": "v", "constraints": []}, {"name": "s", "constraints": []}],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"function": {
"domain": {"variable": "hydra.core.graph.Graph"},
"codomain": {
"function": {
"domain": {"variable": "hydra.core.model.Term"},
"codomain": {"either": {"left": {"variable": "hydra.core.errors.DecodingError"}, "right": {"variable": "t"}}}}}}}}},
"isLazy": false},
{
"name": "arg1",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"function": {
"domain": {"variable": "hydra.core.graph.Graph"},
"codomain": {
"function": {
"domain": {"variable": "hydra.core.model.Term"},
"codomain": {"either": {"left": {"variable": "hydra.core.errors.DecodingError"}, "right": {"variable": "v"}}}}}}}}},
"isLazy": false},
{
"name": "arg2",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"function": {
"domain": {"variable": "hydra.core.graph.Graph"},
"codomain": {
"function": {
"domain": {"variable": "hydra.core.model.Term"},
"codomain": {"either": {"left": {"variable": "hydra.core.errors.DecodingError"}, "right": {"variable": "s"}}}}}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"function": {
"domain": {"variable": "hydra.core.graph.Graph"},
"codomain": {
"function": {
"domain": {"variable": "hydra.core.model.Term"},
"codomain": {
"either": {
"left": {"variable": "hydra.core.errors.DecodingError"},
"right": {
"application": {
"function": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.Migrator"}, "argument": {"variable": "t"}}},
"argument": {"variable": "v"}}},
"argument": {"variable": "s"}}}}}}}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "t",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"function": {
"domain": {"variable": "hydra.core.graph.Graph"},
"codomain": {
"function": {
"domain": {"variable": "hydra.core.model.Term"},
"codomain": {"either": {"left": {"variable": "hydra.core.errors.DecodingError"}, "right": {"variable": "t"}}}}}}}}},
"body": {
"lambda": {
"parameter": "v",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"function": {
"domain": {"variable": "hydra.core.graph.Graph"},
"codomain": {
"function": {
"domain": {"variable": "hydra.core.model.Term"},
"codomain": {"either": {"left": {"variable": "hydra.core.errors.DecodingError"}, "right": {"variable": "v"}}}}}}}}},
"body": {
"lambda": {
"parameter": "s",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"function": {
"domain": {"variable": "hydra.core.graph.Graph"},
"codomain": {
"function": {
"domain": {"variable": "hydra.core.model.Term"},
"codomain": {"either": {"left": {"variable": "hydra.core.errors.DecodingError"}, "right": {"variable": "s"}}}}}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "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": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "variable",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.decode.diff.migrator"}}}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "t"}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "v"}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "s"}}}}]}}}}}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL composition builder for the decoder of hydra.core.diff.Migrator"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.diff.migrator",
"signature": {
"typeParameters": [{"name": "t", "constraints": []}, {"name": "v", "constraints": []}, {"name": "s", "constraints": []}],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {
"list": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.Hole"}, "argument": {"variable": "t"}}},
"argument": {"variable": "s"}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "Deferred holes that an enclosing context must supply when composing this migrator"}}}]}}}}},
"isLazy": false},
{
"name": "arg1",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {
"function": {
"domain": {
"list": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.HoleFiller"}, "argument": {"variable": "v"}}},
"argument": {"variable": "s"}}}},
"codomain": {
"function": {
"domain": {"variable": "v"},
"codomain": {
"either": {
"left": {
"application": {
"function": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.MigrationError"}, "argument": {"variable": "t"}}},
"argument": {"variable": "v"}}},
"argument": {"variable": "s"}}},
"right": {"variable": "v"}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {
"literal": {"string": "Migrate a value, given values for the residual holes; fails with a MigrationError per instance"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"application": {
"function": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.Migrator"}, "argument": {"variable": "t"}}},
"argument": {"variable": "v"}}},
"argument": {"variable": "s"}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "residualHoles",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {
"list": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.Hole"}, "argument": {"variable": "t"}}},
"argument": {"variable": "s"}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "Deferred holes that an enclosing context must supply when composing this migrator"}}}]}}}}},
"body": {
"lambda": {
"parameter": "apply",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {
"function": {
"domain": {
"list": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.HoleFiller"}, "argument": {"variable": "v"}}},
"argument": {"variable": "s"}}}},
"codomain": {
"function": {
"domain": {"variable": "v"},
"codomain": {
"either": {
"left": {
"application": {
"function": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.MigrationError"}, "argument": {"variable": "t"}}},
"argument": {"variable": "v"}}},
"argument": {"variable": "s"}}},
"right": {"variable": "v"}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {
"literal": {"string": "Migrate a value, given values for the residual holes; fails with a MigrationError per instance"}}}]}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.diff.Migrator"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "residualHoles"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "residualHoles"}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "apply"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "apply"}}}}]}}]}}]}}}}}}}}}}},
"annotation": {
"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "DSL constructor for hydra.core.diff.Migrator"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.diff.migratorResidualHoles",
"signature": {
"typeParameters": [{"name": "t", "constraints": []}, {"name": "v", "constraints": []}, {"name": "s", "constraints": []}],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"application": {
"function": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.Migrator"}, "argument": {"variable": "t"}}},
"argument": {"variable": "v"}}},
"argument": {"variable": "s"}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {
"list": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.Hole"}, "argument": {"variable": "t"}}},
"argument": {"variable": "s"}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "Deferred holes that an enclosing context must supply when composing this migrator"}}}]}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"application": {
"function": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.Migrator"}, "argument": {"variable": "t"}}},
"argument": {"variable": "v"}}},
"argument": {"variable": "s"}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "project",
"term": {
"record": {
"typeName": "hydra.core.model.Projection",
"fields": [
{
"name": "typeName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.diff.Migrator"}}}}},
{
"name": "fieldName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "residualHoles"}}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL accessor for the residualHoles field of hydra.core.diff.Migrator"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.diff.migratorApply",
"signature": {
"typeParameters": [{"name": "t", "constraints": []}, {"name": "v", "constraints": []}, {"name": "s", "constraints": []}],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"application": {
"function": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.Migrator"}, "argument": {"variable": "t"}}},
"argument": {"variable": "v"}}},
"argument": {"variable": "s"}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {
"function": {
"domain": {
"list": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.HoleFiller"}, "argument": {"variable": "v"}}},
"argument": {"variable": "s"}}}},
"codomain": {
"function": {
"domain": {"variable": "v"},
"codomain": {
"either": {
"left": {
"application": {
"function": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.MigrationError"}, "argument": {"variable": "t"}}},
"argument": {"variable": "v"}}},
"argument": {"variable": "s"}}},
"right": {"variable": "v"}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {
"literal": {"string": "Migrate a value, given values for the residual holes; fails with a MigrationError per instance"}}}]}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"application": {
"function": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.Migrator"}, "argument": {"variable": "t"}}},
"argument": {"variable": "v"}}},
"argument": {"variable": "s"}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "project",
"term": {
"record": {
"typeName": "hydra.core.model.Projection",
"fields": [
{
"name": "typeName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.diff.Migrator"}}}}},
{"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "apply"}}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL accessor for the apply field of hydra.core.diff.Migrator"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.diff.migratorWithResidualHoles",
"signature": {
"typeParameters": [{"name": "t", "constraints": []}, {"name": "v", "constraints": []}, {"name": "s", "constraints": []}],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"application": {
"function": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.Migrator"}, "argument": {"variable": "t"}}},
"argument": {"variable": "v"}}},
"argument": {"variable": "s"}}}}},
"isLazy": false},
{
"name": "arg1",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {
"list": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.Hole"}, "argument": {"variable": "t"}}},
"argument": {"variable": "s"}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "Deferred holes that an enclosing context must supply when composing this migrator"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"application": {
"function": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.Migrator"}, "argument": {"variable": "t"}}},
"argument": {"variable": "v"}}},
"argument": {"variable": "s"}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "original",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"application": {
"function": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.Migrator"}, "argument": {"variable": "t"}}},
"argument": {"variable": "v"}}},
"argument": {"variable": "s"}}}}},
"body": {
"lambda": {
"parameter": "newVal",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {
"list": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.Hole"}, "argument": {"variable": "t"}}},
"argument": {"variable": "s"}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "Deferred holes that an enclosing context must supply when composing this migrator"}}}]}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.diff.Migrator"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "residualHoles"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "apply"}}}}},
{
"name": "term",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "project",
"term": {
"record": {
"typeName": "hydra.core.model.Projection",
"fields": [
{
"name": "typeName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.diff.Migrator"}}}}},
{"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "apply"}}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}}]}}]}}}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL updater for the residualHoles field of hydra.core.diff.Migrator"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.diff.migratorWithApply",
"signature": {
"typeParameters": [{"name": "t", "constraints": []}, {"name": "v", "constraints": []}, {"name": "s", "constraints": []}],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"application": {
"function": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.Migrator"}, "argument": {"variable": "t"}}},
"argument": {"variable": "v"}}},
"argument": {"variable": "s"}}}}},
"isLazy": false},
{
"name": "arg1",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {
"function": {
"domain": {
"list": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.HoleFiller"}, "argument": {"variable": "v"}}},
"argument": {"variable": "s"}}}},
"codomain": {
"function": {
"domain": {"variable": "v"},
"codomain": {
"either": {
"left": {
"application": {
"function": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.MigrationError"}, "argument": {"variable": "t"}}},
"argument": {"variable": "v"}}},
"argument": {"variable": "s"}}},
"right": {"variable": "v"}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {
"literal": {"string": "Migrate a value, given values for the residual holes; fails with a MigrationError per instance"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"application": {
"function": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.Migrator"}, "argument": {"variable": "t"}}},
"argument": {"variable": "v"}}},
"argument": {"variable": "s"}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "original",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"application": {
"function": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.Migrator"}, "argument": {"variable": "t"}}},
"argument": {"variable": "v"}}},
"argument": {"variable": "s"}}}}},
"body": {
"lambda": {
"parameter": "newVal",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {
"function": {
"domain": {
"list": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.HoleFiller"}, "argument": {"variable": "v"}}},
"argument": {"variable": "s"}}}},
"codomain": {
"function": {
"domain": {"variable": "v"},
"codomain": {
"either": {
"left": {
"application": {
"function": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.MigrationError"}, "argument": {"variable": "t"}}},
"argument": {"variable": "v"}}},
"argument": {"variable": "s"}}},
"right": {"variable": "v"}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {
"literal": {"string": "Migrate a value, given values for the residual holes; fails with a MigrationError per instance"}}}]}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.diff.Migrator"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "residualHoles"}}}}},
{
"name": "term",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "project",
"term": {
"record": {
"typeName": "hydra.core.model.Projection",
"fields": [
{
"name": "typeName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.diff.Migrator"}}}}},
{
"name": "fieldName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "residualHoles"}}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "apply"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}}]}}]}}}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL updater for the apply field of hydra.core.diff.Migrator"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.diff.mistypedMistyped",
"signature": {
"typeParameters": [{"name": "t", "constraints": []}, {"name": "v", "constraints": []}],
"parameters": [],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedName"},
"argument": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.Mistyped"}, "argument": {"variable": "t"}}},
"argument": {"variable": "v"}}}}}}},
"body": {
"annotated": {
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedName",
"body": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.diff.Mistyped"}}}}}},
"annotation": {
"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "DSL name token for hydra.core.diff.Mistyped"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.diff.encodeMistyped",
"signature": {
"typeParameters": [{"name": "t", "constraints": []}, {"name": "v", "constraints": []}],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"function": {"domain": {"variable": "t"}, "codomain": {"variable": "hydra.core.model.Term"}}}}},
"isLazy": false},
{
"name": "arg1",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"function": {"domain": {"variable": "v"}, "codomain": {"variable": "hydra.core.model.Term"}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"function": {
"domain": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.Mistyped"}, "argument": {"variable": "t"}}},
"argument": {"variable": "v"}}},
"codomain": {"variable": "hydra.core.model.Term"}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "t",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"function": {"domain": {"variable": "t"}, "codomain": {"variable": "hydra.core.model.Term"}}}}},
"body": {
"lambda": {
"parameter": "v",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"function": {"domain": {"variable": "v"}, "codomain": {"variable": "hydra.core.model.Term"}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "variable",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.encode.diff.mistyped"}}}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "t"}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "v"}}}}]}}}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL composition builder for the encoder of hydra.core.diff.Mistyped"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.diff.decodeMistyped",
"signature": {
"typeParameters": [{"name": "t", "constraints": []}, {"name": "v", "constraints": []}],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"function": {
"domain": {"variable": "hydra.core.graph.Graph"},
"codomain": {
"function": {
"domain": {"variable": "hydra.core.model.Term"},
"codomain": {"either": {"left": {"variable": "hydra.core.errors.DecodingError"}, "right": {"variable": "t"}}}}}}}}},
"isLazy": false},
{
"name": "arg1",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"function": {
"domain": {"variable": "hydra.core.graph.Graph"},
"codomain": {
"function": {
"domain": {"variable": "hydra.core.model.Term"},
"codomain": {"either": {"left": {"variable": "hydra.core.errors.DecodingError"}, "right": {"variable": "v"}}}}}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"function": {
"domain": {"variable": "hydra.core.graph.Graph"},
"codomain": {
"function": {
"domain": {"variable": "hydra.core.model.Term"},
"codomain": {
"either": {
"left": {"variable": "hydra.core.errors.DecodingError"},
"right": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.Mistyped"}, "argument": {"variable": "t"}}},
"argument": {"variable": "v"}}}}}}}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "t",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"function": {
"domain": {"variable": "hydra.core.graph.Graph"},
"codomain": {
"function": {
"domain": {"variable": "hydra.core.model.Term"},
"codomain": {"either": {"left": {"variable": "hydra.core.errors.DecodingError"}, "right": {"variable": "t"}}}}}}}}},
"body": {
"lambda": {
"parameter": "v",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"function": {
"domain": {"variable": "hydra.core.graph.Graph"},
"codomain": {
"function": {
"domain": {"variable": "hydra.core.model.Term"},
"codomain": {"either": {"left": {"variable": "hydra.core.errors.DecodingError"}, "right": {"variable": "v"}}}}}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "variable",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.decode.diff.mistyped"}}}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "t"}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "v"}}}}]}}}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL composition builder for the decoder of hydra.core.diff.Mistyped"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.diff.mistyped",
"signature": {
"typeParameters": [{"name": "t", "constraints": []}, {"name": "v", "constraints": []}],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "v"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The offending value"}}}]}}}}},
"isLazy": false},
{
"name": "arg1",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "t"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The type the value did not inhabit"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.Mistyped"}, "argument": {"variable": "t"}}},
"argument": {"variable": "v"}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "value",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "v"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The offending value"}}}]}}}}},
"body": {
"lambda": {
"parameter": "type",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "t"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The type the value did not inhabit"}}}]}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.diff.Mistyped"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "value"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "value"}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "type"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "type"}}}}]}}]}}]}}}}}}}}}}},
"annotation": {
"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "DSL constructor for hydra.core.diff.Mistyped"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.diff.mistypedValue",
"signature": {
"typeParameters": [{"name": "t", "constraints": []}, {"name": "v", "constraints": []}],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.Mistyped"}, "argument": {"variable": "t"}}},
"argument": {"variable": "v"}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "v"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The offending value"}}}]}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.Mistyped"}, "argument": {"variable": "t"}}},
"argument": {"variable": "v"}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "project",
"term": {
"record": {
"typeName": "hydra.core.model.Projection",
"fields": [
{
"name": "typeName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.diff.Mistyped"}}}}},
{"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "value"}}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL accessor for the value field of hydra.core.diff.Mistyped"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.diff.mistypedType",
"signature": {
"typeParameters": [{"name": "t", "constraints": []}, {"name": "v", "constraints": []}],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.Mistyped"}, "argument": {"variable": "t"}}},
"argument": {"variable": "v"}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "t"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The type the value did not inhabit"}}}]}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.Mistyped"}, "argument": {"variable": "t"}}},
"argument": {"variable": "v"}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "project",
"term": {
"record": {
"typeName": "hydra.core.model.Projection",
"fields": [
{
"name": "typeName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.diff.Mistyped"}}}}},
{"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "type"}}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL accessor for the type field of hydra.core.diff.Mistyped"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.diff.mistypedWithValue",
"signature": {
"typeParameters": [{"name": "t", "constraints": []}, {"name": "v", "constraints": []}],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.Mistyped"}, "argument": {"variable": "t"}}},
"argument": {"variable": "v"}}}}},
"isLazy": false},
{
"name": "arg1",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "v"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The offending value"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.Mistyped"}, "argument": {"variable": "t"}}},
"argument": {"variable": "v"}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "original",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.Mistyped"}, "argument": {"variable": "t"}}},
"argument": {"variable": "v"}}}}},
"body": {
"lambda": {
"parameter": "newVal",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "v"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The offending value"}}}]}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.diff.Mistyped"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "value"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "type"}}}}},
{
"name": "term",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "project",
"term": {
"record": {
"typeName": "hydra.core.model.Projection",
"fields": [
{
"name": "typeName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.diff.Mistyped"}}}}},
{"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "type"}}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}}]}}]}}}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL updater for the value field of hydra.core.diff.Mistyped"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.diff.mistypedWithType",
"signature": {
"typeParameters": [{"name": "t", "constraints": []}, {"name": "v", "constraints": []}],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.Mistyped"}, "argument": {"variable": "t"}}},
"argument": {"variable": "v"}}}}},
"isLazy": false},
{
"name": "arg1",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "t"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The type the value did not inhabit"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.Mistyped"}, "argument": {"variable": "t"}}},
"argument": {"variable": "v"}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "original",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.Mistyped"}, "argument": {"variable": "t"}}},
"argument": {"variable": "v"}}}}},
"body": {
"lambda": {
"parameter": "newVal",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "t"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The type the value did not inhabit"}}}]}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.diff.Mistyped"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "value"}}}}},
{
"name": "term",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "project",
"term": {
"record": {
"typeName": "hydra.core.model.Projection",
"fields": [
{
"name": "typeName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.diff.Mistyped"}}}}},
{"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "value"}}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "type"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}}]}}]}}}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL updater for the type field of hydra.core.diff.Mistyped"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.diff.schemaHoleSchemaHole",
"signature": {
"typeParameters": [{"name": "n", "constraints": []}, {"name": "t", "constraints": []}, {"name": "s", "constraints": []}],
"parameters": [],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedName"},
"argument": {
"application": {
"function": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.SchemaHole"}, "argument": {"variable": "n"}}},
"argument": {"variable": "t"}}},
"argument": {"variable": "s"}}}}}}},
"body": {
"annotated": {
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedName",
"body": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.diff.SchemaHole"}}}}}},
"annotation": {
"map": [
{"key": {"variable": "description"}, "value": {"literal": {"string": "DSL name token for hydra.core.diff.SchemaHole"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.diff.encodeSchemaHole",
"signature": {
"typeParameters": [{"name": "n", "constraints": []}, {"name": "t", "constraints": []}, {"name": "s", "constraints": []}],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"function": {"domain": {"variable": "n"}, "codomain": {"variable": "hydra.core.model.Term"}}}}},
"isLazy": false},
{
"name": "arg1",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"function": {"domain": {"variable": "t"}, "codomain": {"variable": "hydra.core.model.Term"}}}}},
"isLazy": false},
{
"name": "arg2",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"function": {"domain": {"variable": "s"}, "codomain": {"variable": "hydra.core.model.Term"}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"function": {
"domain": {
"application": {
"function": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.SchemaHole"}, "argument": {"variable": "n"}}},
"argument": {"variable": "t"}}},
"argument": {"variable": "s"}}},
"codomain": {"variable": "hydra.core.model.Term"}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "n",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"function": {"domain": {"variable": "n"}, "codomain": {"variable": "hydra.core.model.Term"}}}}},
"body": {
"lambda": {
"parameter": "t",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"function": {"domain": {"variable": "t"}, "codomain": {"variable": "hydra.core.model.Term"}}}}},
"body": {
"lambda": {
"parameter": "s",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"function": {"domain": {"variable": "s"}, "codomain": {"variable": "hydra.core.model.Term"}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "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": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "variable",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.encode.diff.schemaHole"}}}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "n"}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "t"}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "s"}}}}]}}}}}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL composition builder for the encoder of hydra.core.diff.SchemaHole"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.diff.decodeSchemaHole",
"signature": {
"typeParameters": [{"name": "n", "constraints": []}, {"name": "t", "constraints": []}, {"name": "s", "constraints": []}],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"function": {
"domain": {"variable": "hydra.core.graph.Graph"},
"codomain": {
"function": {
"domain": {"variable": "hydra.core.model.Term"},
"codomain": {"either": {"left": {"variable": "hydra.core.errors.DecodingError"}, "right": {"variable": "n"}}}}}}}}},
"isLazy": false},
{
"name": "arg1",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"function": {
"domain": {"variable": "hydra.core.graph.Graph"},
"codomain": {
"function": {
"domain": {"variable": "hydra.core.model.Term"},
"codomain": {"either": {"left": {"variable": "hydra.core.errors.DecodingError"}, "right": {"variable": "t"}}}}}}}}},
"isLazy": false},
{
"name": "arg2",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"function": {
"domain": {"variable": "hydra.core.graph.Graph"},
"codomain": {
"function": {
"domain": {"variable": "hydra.core.model.Term"},
"codomain": {"either": {"left": {"variable": "hydra.core.errors.DecodingError"}, "right": {"variable": "s"}}}}}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"function": {
"domain": {"variable": "hydra.core.graph.Graph"},
"codomain": {
"function": {
"domain": {"variable": "hydra.core.model.Term"},
"codomain": {
"either": {
"left": {"variable": "hydra.core.errors.DecodingError"},
"right": {
"application": {
"function": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.SchemaHole"}, "argument": {"variable": "n"}}},
"argument": {"variable": "t"}}},
"argument": {"variable": "s"}}}}}}}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "n",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"function": {
"domain": {"variable": "hydra.core.graph.Graph"},
"codomain": {
"function": {
"domain": {"variable": "hydra.core.model.Term"},
"codomain": {"either": {"left": {"variable": "hydra.core.errors.DecodingError"}, "right": {"variable": "n"}}}}}}}}},
"body": {
"lambda": {
"parameter": "t",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"function": {
"domain": {"variable": "hydra.core.graph.Graph"},
"codomain": {
"function": {
"domain": {"variable": "hydra.core.model.Term"},
"codomain": {"either": {"left": {"variable": "hydra.core.errors.DecodingError"}, "right": {"variable": "t"}}}}}}}}},
"body": {
"lambda": {
"parameter": "s",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"function": {
"domain": {"variable": "hydra.core.graph.Graph"},
"codomain": {
"function": {
"domain": {"variable": "hydra.core.model.Term"},
"codomain": {"either": {"left": {"variable": "hydra.core.errors.DecodingError"}, "right": {"variable": "s"}}}}}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "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": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "variable",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.decode.diff.schemaHole"}}}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "n"}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "t"}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "s"}}}}]}}}}}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL composition builder for the decoder of hydra.core.diff.SchemaHole"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.diff.schemaHole",
"signature": {
"typeParameters": [{"name": "n", "constraints": []}, {"name": "t", "constraints": []}, {"name": "s", "constraints": []}],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "n"},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "The name of the type (a schema entry) containing this hole"}}}]}}}}},
"isLazy": false},
{
"name": "arg1",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.Hole"}, "argument": {"variable": "t"}}},
"argument": {"variable": "s"}}},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The hole within that type"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"application": {
"function": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.SchemaHole"}, "argument": {"variable": "n"}}},
"argument": {"variable": "t"}}},
"argument": {"variable": "s"}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "typeName",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "n"},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "The name of the type (a schema entry) containing this hole"}}}]}}}}},
"body": {
"lambda": {
"parameter": "hole",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.Hole"}, "argument": {"variable": "t"}}},
"argument": {"variable": "s"}}},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The hole within that type"}}}]}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.diff.SchemaHole"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeName"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "typeName"}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hole"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hole"}}}}]}}]}}]}}}}}}}}}}},
"annotation": {
"map": [
{"key": {"variable": "description"}, "value": {"literal": {"string": "DSL constructor for hydra.core.diff.SchemaHole"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.diff.schemaHoleTypeName",
"signature": {
"typeParameters": [{"name": "n", "constraints": []}, {"name": "t", "constraints": []}, {"name": "s", "constraints": []}],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"application": {
"function": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.SchemaHole"}, "argument": {"variable": "n"}}},
"argument": {"variable": "t"}}},
"argument": {"variable": "s"}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "n"},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "The name of the type (a schema entry) containing this hole"}}}]}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"application": {
"function": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.SchemaHole"}, "argument": {"variable": "n"}}},
"argument": {"variable": "t"}}},
"argument": {"variable": "s"}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "project",
"term": {
"record": {
"typeName": "hydra.core.model.Projection",
"fields": [
{
"name": "typeName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.diff.SchemaHole"}}}}},
{
"name": "fieldName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeName"}}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL accessor for the typeName field of hydra.core.diff.SchemaHole"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.diff.schemaHoleHole",
"signature": {
"typeParameters": [{"name": "n", "constraints": []}, {"name": "t", "constraints": []}, {"name": "s", "constraints": []}],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"application": {
"function": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.SchemaHole"}, "argument": {"variable": "n"}}},
"argument": {"variable": "t"}}},
"argument": {"variable": "s"}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.Hole"}, "argument": {"variable": "t"}}},
"argument": {"variable": "s"}}},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The hole within that type"}}}]}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"application": {
"function": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.SchemaHole"}, "argument": {"variable": "n"}}},
"argument": {"variable": "t"}}},
"argument": {"variable": "s"}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "project",
"term": {
"record": {
"typeName": "hydra.core.model.Projection",
"fields": [
{
"name": "typeName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.diff.SchemaHole"}}}}},
{"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hole"}}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL accessor for the hole field of hydra.core.diff.SchemaHole"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.diff.schemaHoleWithTypeName",
"signature": {
"typeParameters": [{"name": "n", "constraints": []}, {"name": "t", "constraints": []}, {"name": "s", "constraints": []}],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"application": {
"function": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.SchemaHole"}, "argument": {"variable": "n"}}},
"argument": {"variable": "t"}}},
"argument": {"variable": "s"}}}}},
"isLazy": false},
{
"name": "arg1",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "n"},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "The name of the type (a schema entry) containing this hole"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"application": {
"function": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.SchemaHole"}, "argument": {"variable": "n"}}},
"argument": {"variable": "t"}}},
"argument": {"variable": "s"}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "original",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"application": {
"function": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.SchemaHole"}, "argument": {"variable": "n"}}},
"argument": {"variable": "t"}}},
"argument": {"variable": "s"}}}}},
"body": {
"lambda": {
"parameter": "newVal",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "n"},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "The name of the type (a schema entry) containing this hole"}}}]}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.diff.SchemaHole"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeName"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hole"}}}}},
{
"name": "term",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "project",
"term": {
"record": {
"typeName": "hydra.core.model.Projection",
"fields": [
{
"name": "typeName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.diff.SchemaHole"}}}}},
{"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hole"}}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}}]}}]}}}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL updater for the typeName field of hydra.core.diff.SchemaHole"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.diff.schemaHoleWithHole",
"signature": {
"typeParameters": [{"name": "n", "constraints": []}, {"name": "t", "constraints": []}, {"name": "s", "constraints": []}],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"application": {
"function": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.SchemaHole"}, "argument": {"variable": "n"}}},
"argument": {"variable": "t"}}},
"argument": {"variable": "s"}}}}},
"isLazy": false},
{
"name": "arg1",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.Hole"}, "argument": {"variable": "t"}}},
"argument": {"variable": "s"}}},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The hole within that type"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"application": {
"function": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.SchemaHole"}, "argument": {"variable": "n"}}},
"argument": {"variable": "t"}}},
"argument": {"variable": "s"}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "original",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"application": {
"function": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.SchemaHole"}, "argument": {"variable": "n"}}},
"argument": {"variable": "t"}}},
"argument": {"variable": "s"}}}}},
"body": {
"lambda": {
"parameter": "newVal",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.Hole"}, "argument": {"variable": "t"}}},
"argument": {"variable": "s"}}},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The hole within that type"}}}]}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.diff.SchemaHole"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeName"}}}}},
{
"name": "term",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "project",
"term": {
"record": {
"typeName": "hydra.core.model.Projection",
"fields": [
{
"name": "typeName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.diff.SchemaHole"}}}}},
{
"name": "fieldName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeName"}}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hole"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}}]}}]}}}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL updater for the hole field of hydra.core.diff.SchemaHole"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.diff.stepEditStepEdit",
"signature": {
"typeParameters": [{"name": "a", "constraints": []}, {"name": "s", "constraints": []}],
"parameters": [],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedName"},
"argument": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.StepEdit"}, "argument": {"variable": "a"}}},
"argument": {"variable": "s"}}}}}}},
"body": {
"annotated": {
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedName",
"body": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.diff.StepEdit"}}}}}},
"annotation": {
"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "DSL name token for hydra.core.diff.StepEdit"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.diff.encodeStepEdit",
"signature": {
"typeParameters": [{"name": "a", "constraints": []}, {"name": "s", "constraints": []}],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"function": {"domain": {"variable": "a"}, "codomain": {"variable": "hydra.core.model.Term"}}}}},
"isLazy": false},
{
"name": "arg1",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"function": {"domain": {"variable": "s"}, "codomain": {"variable": "hydra.core.model.Term"}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"function": {
"domain": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.StepEdit"}, "argument": {"variable": "a"}}},
"argument": {"variable": "s"}}},
"codomain": {"variable": "hydra.core.model.Term"}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "a",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"function": {"domain": {"variable": "a"}, "codomain": {"variable": "hydra.core.model.Term"}}}}},
"body": {
"lambda": {
"parameter": "s",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"function": {"domain": {"variable": "s"}, "codomain": {"variable": "hydra.core.model.Term"}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "variable",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.encode.diff.stepEdit"}}}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "a"}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "s"}}}}]}}}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL composition builder for the encoder of hydra.core.diff.StepEdit"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.diff.decodeStepEdit",
"signature": {
"typeParameters": [{"name": "a", "constraints": []}, {"name": "s", "constraints": []}],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"function": {
"domain": {"variable": "hydra.core.graph.Graph"},
"codomain": {
"function": {
"domain": {"variable": "hydra.core.model.Term"},
"codomain": {"either": {"left": {"variable": "hydra.core.errors.DecodingError"}, "right": {"variable": "a"}}}}}}}}},
"isLazy": false},
{
"name": "arg1",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"function": {
"domain": {"variable": "hydra.core.graph.Graph"},
"codomain": {
"function": {
"domain": {"variable": "hydra.core.model.Term"},
"codomain": {"either": {"left": {"variable": "hydra.core.errors.DecodingError"}, "right": {"variable": "s"}}}}}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"function": {
"domain": {"variable": "hydra.core.graph.Graph"},
"codomain": {
"function": {
"domain": {"variable": "hydra.core.model.Term"},
"codomain": {
"either": {
"left": {"variable": "hydra.core.errors.DecodingError"},
"right": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.StepEdit"}, "argument": {"variable": "a"}}},
"argument": {"variable": "s"}}}}}}}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "a",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"function": {
"domain": {"variable": "hydra.core.graph.Graph"},
"codomain": {
"function": {
"domain": {"variable": "hydra.core.model.Term"},
"codomain": {"either": {"left": {"variable": "hydra.core.errors.DecodingError"}, "right": {"variable": "a"}}}}}}}}},
"body": {
"lambda": {
"parameter": "s",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"function": {
"domain": {"variable": "hydra.core.graph.Graph"},
"codomain": {
"function": {
"domain": {"variable": "hydra.core.model.Term"},
"codomain": {"either": {"left": {"variable": "hydra.core.errors.DecodingError"}, "right": {"variable": "s"}}}}}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "variable",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.decode.diff.stepEdit"}}}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "a"}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "s"}}}}]}}}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL composition builder for the decoder of hydra.core.diff.StepEdit"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.diff.stepEdit",
"signature": {
"typeParameters": [{"name": "a", "constraints": []}, {"name": "s", "constraints": []}],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "s"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The immediate step to descend into"}}}]}}}}},
"isLazy": false},
{
"name": "arg1",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.Edit"}, "argument": {"variable": "a"}}},
"argument": {"variable": "s"}}},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The edit to apply at that step"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.StepEdit"}, "argument": {"variable": "a"}}},
"argument": {"variable": "s"}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "step",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "s"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The immediate step to descend into"}}}]}}}}},
"body": {
"lambda": {
"parameter": "edit",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.Edit"}, "argument": {"variable": "a"}}},
"argument": {"variable": "s"}}},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The edit to apply at that step"}}}]}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.diff.StepEdit"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "step"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "step"}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "edit"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "edit"}}}}]}}]}}]}}}}}}}}}}},
"annotation": {
"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "DSL constructor for hydra.core.diff.StepEdit"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.diff.stepEditStep",
"signature": {
"typeParameters": [{"name": "a", "constraints": []}, {"name": "s", "constraints": []}],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.StepEdit"}, "argument": {"variable": "a"}}},
"argument": {"variable": "s"}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "s"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The immediate step to descend into"}}}]}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.StepEdit"}, "argument": {"variable": "a"}}},
"argument": {"variable": "s"}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "project",
"term": {
"record": {
"typeName": "hydra.core.model.Projection",
"fields": [
{
"name": "typeName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.diff.StepEdit"}}}}},
{"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "step"}}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL accessor for the step field of hydra.core.diff.StepEdit"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.diff.stepEditEdit",
"signature": {
"typeParameters": [{"name": "a", "constraints": []}, {"name": "s", "constraints": []}],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.StepEdit"}, "argument": {"variable": "a"}}},
"argument": {"variable": "s"}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.Edit"}, "argument": {"variable": "a"}}},
"argument": {"variable": "s"}}},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The edit to apply at that step"}}}]}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.StepEdit"}, "argument": {"variable": "a"}}},
"argument": {"variable": "s"}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "project",
"term": {
"record": {
"typeName": "hydra.core.model.Projection",
"fields": [
{
"name": "typeName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.diff.StepEdit"}}}}},
{"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "edit"}}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL accessor for the edit field of hydra.core.diff.StepEdit"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.diff.stepEditWithStep",
"signature": {
"typeParameters": [{"name": "a", "constraints": []}, {"name": "s", "constraints": []}],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.StepEdit"}, "argument": {"variable": "a"}}},
"argument": {"variable": "s"}}}}},
"isLazy": false},
{
"name": "arg1",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "s"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The immediate step to descend into"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.StepEdit"}, "argument": {"variable": "a"}}},
"argument": {"variable": "s"}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "original",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.StepEdit"}, "argument": {"variable": "a"}}},
"argument": {"variable": "s"}}}}},
"body": {
"lambda": {
"parameter": "newVal",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"variable": "s"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The immediate step to descend into"}}}]}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.diff.StepEdit"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "step"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "edit"}}}}},
{
"name": "term",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "project",
"term": {
"record": {
"typeName": "hydra.core.model.Projection",
"fields": [
{
"name": "typeName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.diff.StepEdit"}}}}},
{"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "edit"}}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}}]}}]}}}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL updater for the step field of hydra.core.diff.StepEdit"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.diff.stepEditWithEdit",
"signature": {
"typeParameters": [{"name": "a", "constraints": []}, {"name": "s", "constraints": []}],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.StepEdit"}, "argument": {"variable": "a"}}},
"argument": {"variable": "s"}}}}},
"isLazy": false},
{
"name": "arg1",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.Edit"}, "argument": {"variable": "a"}}},
"argument": {"variable": "s"}}},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The edit to apply at that step"}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.StepEdit"}, "argument": {"variable": "a"}}},
"argument": {"variable": "s"}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "original",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.StepEdit"}, "argument": {"variable": "a"}}},
"argument": {"variable": "s"}}}}},
"body": {
"lambda": {
"parameter": "newVal",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {
"application": {
"function": {"application": {"function": {"variable": "hydra.core.diff.Edit"}, "argument": {"variable": "a"}}},
"argument": {"variable": "s"}}},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The edit to apply at that step"}}}]}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.diff.StepEdit"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "step"}}}}},
{
"name": "term",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "project",
"term": {
"record": {
"typeName": "hydra.core.model.Projection",
"fields": [
{
"name": "typeName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.diff.StepEdit"}}}}},
{"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "step"}}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "edit"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}}]}}]}}}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL updater for the edit field of hydra.core.diff.StepEdit"}}}]}}}}}]}