hydra-kernel-0.18.1: hydra-kernel-json/hydra/core/dsl/tabular.json
{
"name": "hydra.core.dsl.tabular",
"metadata": {"description": "DSL functions for hydra.core.tabular", "comments": [], "seeAlso": [], "provisions": []},
"dependencies": [
{"module": "hydra.core.tabular"},
{"module": "hydra.core.typed"},
{"module": "hydra.core.encode.tabular"},
{"module": "hydra.core.decode.tabular"},
{"module": "hydra.core.model"},
{"module": "hydra.core.relational"},
{"module": "hydra.core.dsl.model"},
{"module": "hydra.core.dsl.relational"}],
"definitions": [
{
"term": {
"name": "hydra.core.dsl.tabular.columnTypeColumnType",
"signature": {
"typeParameters": [],
"parameters": [],
"result": {
"type": {
"application": {"function": {"variable": "hydra.core.typed.TypedName"}, "argument": {"variable": "hydra.core.tabular.ColumnType"}}}}},
"body": {
"annotated": {
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedName",
"body": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.tabular.ColumnType"}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL name token for hydra.core.tabular.ColumnType"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.tabular.columnType",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.relational.ColumnName"}}},
"isLazy": false},
{
"name": "arg1",
"type": {
"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.model.Type"}}},
"isLazy": false}],
"result": {
"type": {
"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.tabular.ColumnType"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "name",
"domain": {
"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.relational.ColumnName"}}},
"body": {
"lambda": {
"parameter": "type",
"domain": {
"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.model.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.tabular.ColumnType"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "name"}}}}]}},
{
"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.tabular.ColumnType"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.tabular.columnTypeName",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.tabular.ColumnType"}}},
"isLazy": false}],
"result": {
"type": {
"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.relational.ColumnName"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.tabular.ColumnType"}}},
"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.tabular.ColumnType"}}}}},
{"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL accessor for the name field of hydra.core.tabular.ColumnType"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.tabular.columnTypeType",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.tabular.ColumnType"}}},
"isLazy": false}],
"result": {
"type": {
"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.model.Type"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.tabular.ColumnType"}}},
"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.tabular.ColumnType"}}}}},
{"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.tabular.ColumnType"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.tabular.columnTypeWithName",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.tabular.ColumnType"}}},
"isLazy": false},
{
"name": "arg1",
"type": {
"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.relational.ColumnName"}}},
"isLazy": false}],
"result": {
"type": {
"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.tabular.ColumnType"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "original",
"domain": {
"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.tabular.ColumnType"}}},
"body": {
"lambda": {
"parameter": "newVal",
"domain": {
"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.relational.ColumnName"}}},
"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.tabular.ColumnType"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}},
{
"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.tabular.ColumnType"}}}}},
{"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 name field of hydra.core.tabular.ColumnType"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.tabular.columnTypeWithType",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.tabular.ColumnType"}}},
"isLazy": false},
{
"name": "arg1",
"type": {
"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.model.Type"}}},
"isLazy": false}],
"result": {
"type": {
"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.tabular.ColumnType"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "original",
"domain": {
"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.tabular.ColumnType"}}},
"body": {
"lambda": {
"parameter": "newVal",
"domain": {
"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.model.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.tabular.ColumnType"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}},
{
"name": "term",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "project",
"term": {
"record": {
"typeName": "hydra.core.model.Projection",
"fields": [
{
"name": "typeName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.tabular.ColumnType"}}}}},
{"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}},
{
"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.tabular.ColumnType"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.tabular.dataRowDataRow",
"signature": {
"typeParameters": [{"name": "v", "constraints": []}],
"parameters": [],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedName"},
"argument": {"application": {"function": {"variable": "hydra.core.tabular.DataRow"}, "argument": {"variable": "v"}}}}}}},
"body": {
"annotated": {
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedName",
"body": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.tabular.DataRow"}}}}}},
"annotation": {
"map": [
{"key": {"variable": "description"}, "value": {"literal": {"string": "DSL name token for hydra.core.tabular.DataRow"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.tabular.encodeDataRow",
"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.tabular.DataRow"}, "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.tabular.dataRow"}}}}}}}},
{
"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.tabular.DataRow"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.tabular.decodeDataRow",
"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.tabular.DataRow"}, "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.tabular.dataRow"}}}}}}}},
{
"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.tabular.DataRow"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.tabular.dataRow",
"signature": {
"typeParameters": [{"name": "v", "constraints": []}],
"parameters": [
{
"name": "arg0",
"type": {
"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"list": {"optional": {"variable": "v"}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"application": {"function": {"variable": "hydra.core.tabular.DataRow"}, "argument": {"variable": "v"}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"list": {"optional": {"variable": "v"}}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "wrap",
"term": {
"record": {
"typeName": "hydra.core.model.WrappedTerm",
"fields": [
{
"name": "typeName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.tabular.DataRow"}}}}},
{
"name": "body",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL constructor for the hydra.core.tabular.DataRow wrapper"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.tabular.unDataRow",
"signature": {
"typeParameters": [{"name": "v", "constraints": []}],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"application": {"function": {"variable": "hydra.core.tabular.DataRow"}, "argument": {"variable": "v"}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"list": {"optional": {"variable": "v"}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"application": {"function": {"variable": "hydra.core.tabular.DataRow"}, "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": "unwrap",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.tabular.DataRow"}}}}}}}},
{
"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 body of hydra.core.tabular.DataRow"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.tabular.headerRowHeaderRow",
"signature": {
"typeParameters": [],
"parameters": [],
"result": {
"type": {
"application": {"function": {"variable": "hydra.core.typed.TypedName"}, "argument": {"variable": "hydra.core.tabular.HeaderRow"}}}}},
"body": {
"annotated": {
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedName",
"body": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.tabular.HeaderRow"}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL name token for hydra.core.tabular.HeaderRow"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.tabular.headerRow",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"list": {"literal": "string"}}}},
"isLazy": false}],
"result": {
"type": {
"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.tabular.HeaderRow"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"list": {"literal": "string"}}}},
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedTerm",
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "wrap",
"term": {
"record": {
"typeName": "hydra.core.model.WrappedTerm",
"fields": [
{
"name": "typeName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.tabular.HeaderRow"}}}}},
{
"name": "body",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL constructor for the hydra.core.tabular.HeaderRow wrapper"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.tabular.unHeaderRow",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.tabular.HeaderRow"}}},
"isLazy": false}],
"result": {
"type": {"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"list": {"literal": "string"}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.tabular.HeaderRow"}}},
"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": "unwrap",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.tabular.HeaderRow"}}}}}}}},
{
"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 body of hydra.core.tabular.HeaderRow"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.tabular.tableTable",
"signature": {
"typeParameters": [{"name": "v", "constraints": []}],
"parameters": [],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedName"},
"argument": {"application": {"function": {"variable": "hydra.core.tabular.Table"}, "argument": {"variable": "v"}}}}}}},
"body": {
"annotated": {
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedName",
"body": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.tabular.Table"}}}}}},
"annotation": {
"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "DSL name token for hydra.core.tabular.Table"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.tabular.encodeTable",
"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.tabular.Table"}, "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.tabular.table"}}}}}}}},
{
"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.tabular.Table"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.tabular.decodeTable",
"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.tabular.Table"}, "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.tabular.table"}}}}}}}},
{
"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.tabular.Table"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.tabular.table",
"signature": {
"typeParameters": [{"name": "v", "constraints": []}],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"optional": {"variable": "hydra.core.tabular.HeaderRow"}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {
"literal": {
"string": "The optional header row of the table. If present, the header must have the same number of cells as each data row."}}}]}}}}},
"isLazy": false},
{
"name": "arg1",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"list": {"application": {"function": {"variable": "hydra.core.tabular.DataRow"}, "argument": {"variable": "v"}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "The data rows of the table. Each row must have the same number of cells."}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"application": {"function": {"variable": "hydra.core.tabular.Table"}, "argument": {"variable": "v"}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "header",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"optional": {"variable": "hydra.core.tabular.HeaderRow"}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {
"literal": {
"string": "The optional header row of the table. If present, the header must have the same number of cells as each data row."}}}]}}}}},
"body": {
"lambda": {
"parameter": "data",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"list": {"application": {"function": {"variable": "hydra.core.tabular.DataRow"}, "argument": {"variable": "v"}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "The data rows of the table. Each row must have the same number of cells."}}}]}}}}},
"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.tabular.Table"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "header"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "header"}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "data"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "data"}}}}]}}]}}]}}}}}}}}}}},
"annotation": {
"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "DSL constructor for hydra.core.tabular.Table"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.tabular.tableHeader",
"signature": {
"typeParameters": [{"name": "v", "constraints": []}],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"application": {"function": {"variable": "hydra.core.tabular.Table"}, "argument": {"variable": "v"}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"optional": {"variable": "hydra.core.tabular.HeaderRow"}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {
"literal": {
"string": "The optional header row of the table. If present, the header must have the same number of cells as each data row."}}}]}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"application": {"function": {"variable": "hydra.core.tabular.Table"}, "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.tabular.Table"}}}}},
{
"name": "fieldName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "header"}}}}}]}}}}}},
{
"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 header field of hydra.core.tabular.Table"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.tabular.tableData",
"signature": {
"typeParameters": [{"name": "v", "constraints": []}],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"application": {"function": {"variable": "hydra.core.tabular.Table"}, "argument": {"variable": "v"}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"list": {"application": {"function": {"variable": "hydra.core.tabular.DataRow"}, "argument": {"variable": "v"}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "The data rows of the table. Each row must have the same number of cells."}}}]}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"application": {"function": {"variable": "hydra.core.tabular.Table"}, "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.tabular.Table"}}}}},
{"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "data"}}}}}]}}}}}},
{
"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 data field of hydra.core.tabular.Table"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.tabular.tableWithHeader",
"signature": {
"typeParameters": [{"name": "v", "constraints": []}],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"application": {"function": {"variable": "hydra.core.tabular.Table"}, "argument": {"variable": "v"}}}}},
"isLazy": false},
{
"name": "arg1",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"optional": {"variable": "hydra.core.tabular.HeaderRow"}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {
"literal": {
"string": "The optional header row of the table. If present, the header must have the same number of cells as each data row."}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"application": {"function": {"variable": "hydra.core.tabular.Table"}, "argument": {"variable": "v"}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "original",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"application": {"function": {"variable": "hydra.core.tabular.Table"}, "argument": {"variable": "v"}}}}},
"body": {
"lambda": {
"parameter": "newVal",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"optional": {"variable": "hydra.core.tabular.HeaderRow"}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {
"literal": {
"string": "The optional header row of the table. If present, the header must have the same number of cells as each data row."}}}]}}}}},
"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.tabular.Table"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "header"}}}}},
{
"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": "data"}}}}},
{
"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.tabular.Table"}}}}},
{"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "data"}}}}}]}}}}}},
{
"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 header field of hydra.core.tabular.Table"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.tabular.tableWithData",
"signature": {
"typeParameters": [{"name": "v", "constraints": []}],
"parameters": [
{
"name": "arg0",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"application": {"function": {"variable": "hydra.core.tabular.Table"}, "argument": {"variable": "v"}}}}},
"isLazy": false},
{
"name": "arg1",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"list": {"application": {"function": {"variable": "hydra.core.tabular.DataRow"}, "argument": {"variable": "v"}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "The data rows of the table. Each row must have the same number of cells."}}}]}}}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"application": {"function": {"variable": "hydra.core.tabular.Table"}, "argument": {"variable": "v"}}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "original",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"application": {"function": {"variable": "hydra.core.tabular.Table"}, "argument": {"variable": "v"}}}}},
"body": {
"lambda": {
"parameter": "newVal",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {
"annotated": {
"body": {"list": {"application": {"function": {"variable": "hydra.core.tabular.DataRow"}, "argument": {"variable": "v"}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "The data rows of the table. Each row must have the same number of cells."}}}]}}}}},
"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.tabular.Table"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "header"}}}}},
{
"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.tabular.Table"}}}}},
{
"name": "fieldName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "header"}}}}}]}}}}}},
{
"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": "data"}}}}},
{
"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 data field of hydra.core.tabular.Table"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.tabular.tableTypeTableType",
"signature": {
"typeParameters": [],
"parameters": [],
"result": {
"type": {
"application": {"function": {"variable": "hydra.core.typed.TypedName"}, "argument": {"variable": "hydra.core.tabular.TableType"}}}}},
"body": {
"annotated": {
"body": {
"wrap": {
"typeName": "hydra.core.typed.TypedName",
"body": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.tabular.TableType"}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL name token for hydra.core.tabular.TableType"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.tabular.tableType",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.relational.RelationName"}}},
"isLazy": false},
{
"name": "arg1",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"list": {"variable": "hydra.core.tabular.ColumnType"}}}},
"isLazy": false}],
"result": {
"type": {
"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.tabular.TableType"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "name",
"domain": {
"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.relational.RelationName"}}},
"body": {
"lambda": {
"parameter": "columns",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"list": {"variable": "hydra.core.tabular.ColumnType"}}}},
"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.tabular.TableType"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "name"}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "columns"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "columns"}}}}]}}]}}]}}}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL constructor for hydra.core.tabular.TableType"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.tabular.tableTypeName",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.tabular.TableType"}}},
"isLazy": false}],
"result": {
"type": {
"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.relational.RelationName"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.tabular.TableType"}}},
"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.tabular.TableType"}}}}},
{"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "DSL accessor for the name field of hydra.core.tabular.TableType"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.tabular.tableTypeColumns",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.tabular.TableType"}}},
"isLazy": false}],
"result": {
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"list": {"variable": "hydra.core.tabular.ColumnType"}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {
"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.tabular.TableType"}}},
"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.tabular.TableType"}}}}},
{
"name": "fieldName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "columns"}}}}}]}}}}}},
{
"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 columns field of hydra.core.tabular.TableType"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.tabular.tableTypeWithName",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.tabular.TableType"}}},
"isLazy": false},
{
"name": "arg1",
"type": {
"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.relational.RelationName"}}},
"isLazy": false}],
"result": {
"type": {
"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.tabular.TableType"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "original",
"domain": {
"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.tabular.TableType"}}},
"body": {
"lambda": {
"parameter": "newVal",
"domain": {
"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.relational.RelationName"}}},
"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.tabular.TableType"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}},
{
"name": "term",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "columns"}}}}},
{
"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.tabular.TableType"}}}}},
{
"name": "fieldName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "columns"}}}}}]}}}}}},
{
"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 name field of hydra.core.tabular.TableType"}}}]}}}}},
{
"term": {
"name": "hydra.core.dsl.tabular.tableTypeWithColumns",
"signature": {
"typeParameters": [],
"parameters": [
{
"name": "arg0",
"type": {
"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.tabular.TableType"}}},
"isLazy": false},
{
"name": "arg1",
"type": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"list": {"variable": "hydra.core.tabular.ColumnType"}}}},
"isLazy": false}],
"result": {
"type": {
"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.tabular.TableType"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "original",
"domain": {
"application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.tabular.TableType"}}},
"body": {
"lambda": {
"parameter": "newVal",
"domain": {
"application": {
"function": {"variable": "hydra.core.typed.TypedTerm"},
"argument": {"list": {"variable": "hydra.core.tabular.ColumnType"}}}},
"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.tabular.TableType"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}},
{
"name": "term",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "application",
"term": {
"record": {
"typeName": "hydra.core.model.Application",
"fields": [
{
"name": "function",
"term": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "project",
"term": {
"record": {
"typeName": "hydra.core.model.Projection",
"fields": [
{
"name": "typeName",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.tabular.TableType"}}}}},
{"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}}]}}}}}},
{
"name": "argument",
"term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "columns"}}}}},
{
"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 columns field of hydra.core.tabular.TableType"}}}]}}}}}]}