hydra-kernel-0.18.1: hydra-kernel-json/hydra/core/decode/topology.json
{
"name": "hydra.core.decode.topology",
"metadata": {"description": "Term decoders for hydra.core.topology", "comments": [], "seeAlso": [], "provisions": []},
"dependencies": [
{"module": "hydra.core.extract.model"},
{"module": "hydra.core.lexical"},
{"module": "hydra.core.rewriting"},
{"module": "hydra.core.topology"},
{"module": "hydra.core.util"}],
"definitions": [
{
"term": {
"name": "hydra.core.decode.topology.graph",
"signature": {
"typeParameters": [],
"parameters": [
{"name": "arg0", "type": {"variable": "hydra.core.graph.Graph"}, "isLazy": false},
{"name": "arg1", "type": {"variable": "hydra.core.model.Term"}, "isLazy": false}],
"result": {
"type": {
"either": {
"left": {"variable": "hydra.core.errors.DecodingError"},
"right": {
"map": {"keys": {"variable": "hydra.core.topology.Vertex"}, "values": {"list": {"variable": "hydra.core.topology.Vertex"}}}}}}}},
"body": {
"annotated": {
"body": {
"application": {
"function": {
"application": {
"function": {
"typeApplication": {
"body": {
"typeApplication": {"body": {"variable": "hydra.core.extract.model.decodeMap"}, "type": {"variable": "hydra.core.topology.Vertex"}}},
"type": {"list": {"variable": "hydra.core.topology.Vertex"}}}},
"argument": {"variable": "hydra.core.decode.topology.vertex"}}},
"argument": {
"application": {
"function": {
"typeApplication": {"body": {"variable": "hydra.core.extract.model.decodeList"}, "type": {"variable": "hydra.core.topology.Vertex"}}},
"argument": {"variable": "hydra.core.decode.topology.vertex"}}}}},
"annotation": {
"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "Decoder for hydra.core.topology.Graph"}}}]}}}}},
{
"term": {
"name": "hydra.core.decode.topology.tarjanState",
"signature": {
"typeParameters": [],
"parameters": [
{"name": "arg0", "type": {"variable": "hydra.core.graph.Graph"}, "isLazy": false},
{"name": "arg1", "type": {"variable": "hydra.core.model.Term"}, "isLazy": false}],
"result": {
"type": {
"either": {"left": {"variable": "hydra.core.errors.DecodingError"}, "right": {"variable": "hydra.core.topology.TarjanState"}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "cx",
"domain": {"variable": "hydra.core.graph.Graph"},
"body": {
"lambda": {
"parameter": "raw",
"domain": {"variable": "hydra.core.model.Term"},
"body": {
"application": {
"function": {
"application": {
"function": {
"application": {
"function": {
"typeApplication": {
"body": {
"typeApplication": {
"body": {
"typeApplication": {"body": {"variable": "hydra.core.lib.eithers.either"}, "type": {"variable": "hydra.core.errors.DecodingError"}}},
"type": {"variable": "hydra.core.model.Term"}}},
"type": {
"either": {"left": {"variable": "hydra.core.errors.DecodingError"}, "right": {"variable": "hydra.core.topology.TarjanState"}}}}},
"argument": {
"lambda": {
"parameter": "err",
"domain": {"variable": "hydra.core.errors.DecodingError"},
"body": {
"typeApplication": {
"body": {
"typeApplication": {"body": {"either": {"left": {"variable": "err"}}}, "type": {"variable": "hydra.core.errors.DecodingError"}}},
"type": {"variable": "hydra.core.topology.TarjanState"}}}}}}},
"argument": {
"lambda": {
"parameter": "stripped",
"domain": {"variable": "hydra.core.model.Term"},
"body": {
"application": {
"function": {
"cases": {
"typeName": "hydra.core.model.Term",
"default": {
"typeApplication": {
"body": {
"typeApplication": {
"body": {
"either": {
"left": {
"wrap": {
"typeName": "hydra.core.errors.DecodingError",
"body": {"literal": {"string": "expected a record of type hydra.core.topology.TarjanState"}}}}}},
"type": {"variable": "hydra.core.errors.DecodingError"}}},
"type": {"variable": "hydra.core.topology.TarjanState"}}},
"cases": [
{
"name": "record",
"handler": {
"lambda": {
"parameter": "record",
"domain": {"variable": "hydra.core.model.Record"},
"body": {
"let": {
"bindings": [
{
"name": "fieldMap",
"term": {"application": {"function": {"variable": "hydra.core.extract.model.toFieldMap"}, "argument": {"variable": "record"}}},
"typeScheme": {
"variables": [],
"body": {"map": {"keys": {"variable": "hydra.core.model.Name"}, "values": {"variable": "hydra.core.model.Term"}}},
"constraints": []}}],
"body": {
"application": {
"function": {
"application": {
"function": {
"typeApplication": {
"body": {
"typeApplication": {
"body": {
"typeApplication": {"body": {"variable": "hydra.core.lib.eithers.bind"}, "type": {"variable": "hydra.core.errors.DecodingError"}}},
"type": {"literal": {"integer": "int32"}}}},
"type": {"variable": "hydra.core.topology.TarjanState"}}},
"argument": {
"application": {
"function": {
"application": {
"function": {
"application": {
"function": {
"application": {
"function": {
"typeApplication": {
"body": {
"typeApplication": {
"body": {
"typeApplication": {"body": {"variable": "hydra.core.extract.model.requireField"}, "type": {"variable": "hydra.core.graph.Graph"}}},
"type": {"variable": "hydra.core.model.Term"}}},
"type": {"literal": {"integer": "int32"}}}},
"argument": {"literal": {"string": "counter"}}}},
"argument": {
"lambda": {
"parameter": "cx",
"domain": {"variable": "hydra.core.graph.Graph"},
"body": {
"lambda": {
"parameter": "raw",
"domain": {"variable": "hydra.core.model.Term"},
"body": {
"application": {
"function": {
"application": {
"function": {
"application": {
"function": {
"typeApplication": {
"body": {
"typeApplication": {
"body": {
"typeApplication": {"body": {"variable": "hydra.core.lib.eithers.either"}, "type": {"variable": "hydra.core.errors.DecodingError"}}},
"type": {"variable": "hydra.core.model.Term"}}},
"type": {"either": {"left": {"variable": "hydra.core.errors.DecodingError"}, "right": {"literal": {"integer": "int32"}}}}}},
"argument": {
"lambda": {
"parameter": "err",
"domain": {"variable": "hydra.core.errors.DecodingError"},
"body": {
"typeApplication": {
"body": {
"typeApplication": {"body": {"either": {"left": {"variable": "err"}}}, "type": {"variable": "hydra.core.errors.DecodingError"}}},
"type": {"literal": {"integer": "int32"}}}}}}}},
"argument": {
"lambda": {
"parameter": "stripped",
"domain": {"variable": "hydra.core.model.Term"},
"body": {
"application": {
"function": {
"cases": {
"typeName": "hydra.core.model.Term",
"default": {
"typeApplication": {
"body": {
"typeApplication": {
"body": {
"either": {"left": {"wrap": {"typeName": "hydra.core.errors.DecodingError", "body": {"literal": {"string": "expected literal"}}}}}},
"type": {"variable": "hydra.core.errors.DecodingError"}}},
"type": {"literal": {"integer": "int32"}}}},
"cases": [
{
"name": "literal",
"handler": {
"lambda": {
"parameter": "v",
"domain": {"variable": "hydra.core.model.Literal"},
"body": {
"application": {
"function": {
"cases": {
"typeName": "hydra.core.model.Literal",
"default": {
"typeApplication": {
"body": {
"typeApplication": {
"body": {
"either": {
"left": {"wrap": {"typeName": "hydra.core.errors.DecodingError", "body": {"literal": {"string": "expected int32 literal"}}}}}},
"type": {"variable": "hydra.core.errors.DecodingError"}}},
"type": {"literal": {"integer": "int32"}}}},
"cases": [
{
"name": "integer",
"handler": {
"cases": {
"typeName": "hydra.core.model.IntegerValue",
"default": {
"typeApplication": {
"body": {
"typeApplication": {
"body": {
"either": {
"left": {"wrap": {"typeName": "hydra.core.errors.DecodingError", "body": {"literal": {"string": "expected int32 value"}}}}}},
"type": {"variable": "hydra.core.errors.DecodingError"}}},
"type": {"literal": {"integer": "int32"}}}},
"cases": [
{
"name": "int32",
"handler": {
"lambda": {
"parameter": "i",
"domain": {"literal": {"integer": "int32"}},
"body": {
"typeApplication": {
"body": {
"typeApplication": {"body": {"either": {"right": {"variable": "i"}}}, "type": {"variable": "hydra.core.errors.DecodingError"}}},
"type": {"literal": {"integer": "int32"}}}}}}}]}}}]}},
"argument": {"variable": "v"}}}}}}]}},
"argument": {"variable": "stripped"}}}}}}},
"argument": {
"application": {
"function": {
"application": {"function": {"variable": "hydra.core.extract.model.stripWithDecodingError"}, "argument": {"variable": "cx"}}},
"argument": {"variable": "raw"}}}}}}}}}}},
"argument": {"variable": "fieldMap"}}},
"argument": {"variable": "cx"}}}}},
"argument": {
"lambda": {
"parameter": "field_counter",
"domain": {"literal": {"integer": "int32"}},
"body": {
"application": {
"function": {
"application": {
"function": {
"typeApplication": {
"body": {
"typeApplication": {
"body": {
"typeApplication": {"body": {"variable": "hydra.core.lib.eithers.bind"}, "type": {"variable": "hydra.core.errors.DecodingError"}}},
"type": {"map": {"keys": {"variable": "hydra.core.topology.Vertex"}, "values": {"literal": {"integer": "int32"}}}}}},
"type": {"variable": "hydra.core.topology.TarjanState"}}},
"argument": {
"application": {
"function": {
"application": {
"function": {
"application": {
"function": {
"application": {
"function": {
"typeApplication": {
"body": {
"typeApplication": {
"body": {
"typeApplication": {"body": {"variable": "hydra.core.extract.model.requireField"}, "type": {"variable": "hydra.core.graph.Graph"}}},
"type": {"variable": "hydra.core.model.Term"}}},
"type": {"map": {"keys": {"variable": "hydra.core.topology.Vertex"}, "values": {"literal": {"integer": "int32"}}}}}},
"argument": {"literal": {"string": "indices"}}}},
"argument": {
"application": {
"function": {
"application": {
"function": {
"typeApplication": {
"body": {
"typeApplication": {"body": {"variable": "hydra.core.extract.model.decodeMap"}, "type": {"variable": "hydra.core.topology.Vertex"}}},
"type": {"literal": {"integer": "int32"}}}},
"argument": {"variable": "hydra.core.decode.topology.vertex"}}},
"argument": {
"lambda": {
"parameter": "cx",
"domain": {"variable": "hydra.core.graph.Graph"},
"body": {
"lambda": {
"parameter": "raw",
"domain": {"variable": "hydra.core.model.Term"},
"body": {
"application": {
"function": {
"application": {
"function": {
"application": {
"function": {
"typeApplication": {
"body": {
"typeApplication": {
"body": {
"typeApplication": {"body": {"variable": "hydra.core.lib.eithers.either"}, "type": {"variable": "hydra.core.errors.DecodingError"}}},
"type": {"variable": "hydra.core.model.Term"}}},
"type": {"either": {"left": {"variable": "hydra.core.errors.DecodingError"}, "right": {"literal": {"integer": "int32"}}}}}},
"argument": {
"lambda": {
"parameter": "err",
"domain": {"variable": "hydra.core.errors.DecodingError"},
"body": {
"typeApplication": {
"body": {
"typeApplication": {"body": {"either": {"left": {"variable": "err"}}}, "type": {"variable": "hydra.core.errors.DecodingError"}}},
"type": {"literal": {"integer": "int32"}}}}}}}},
"argument": {
"lambda": {
"parameter": "stripped",
"domain": {"variable": "hydra.core.model.Term"},
"body": {
"application": {
"function": {
"cases": {
"typeName": "hydra.core.model.Term",
"default": {
"typeApplication": {
"body": {
"typeApplication": {
"body": {
"either": {"left": {"wrap": {"typeName": "hydra.core.errors.DecodingError", "body": {"literal": {"string": "expected literal"}}}}}},
"type": {"variable": "hydra.core.errors.DecodingError"}}},
"type": {"literal": {"integer": "int32"}}}},
"cases": [
{
"name": "literal",
"handler": {
"lambda": {
"parameter": "v",
"domain": {"variable": "hydra.core.model.Literal"},
"body": {
"application": {
"function": {
"cases": {
"typeName": "hydra.core.model.Literal",
"default": {
"typeApplication": {
"body": {
"typeApplication": {
"body": {
"either": {
"left": {"wrap": {"typeName": "hydra.core.errors.DecodingError", "body": {"literal": {"string": "expected int32 literal"}}}}}},
"type": {"variable": "hydra.core.errors.DecodingError"}}},
"type": {"literal": {"integer": "int32"}}}},
"cases": [
{
"name": "integer",
"handler": {
"cases": {
"typeName": "hydra.core.model.IntegerValue",
"default": {
"typeApplication": {
"body": {
"typeApplication": {
"body": {
"either": {
"left": {"wrap": {"typeName": "hydra.core.errors.DecodingError", "body": {"literal": {"string": "expected int32 value"}}}}}},
"type": {"variable": "hydra.core.errors.DecodingError"}}},
"type": {"literal": {"integer": "int32"}}}},
"cases": [
{
"name": "int32",
"handler": {
"lambda": {
"parameter": "i",
"domain": {"literal": {"integer": "int32"}},
"body": {
"typeApplication": {
"body": {
"typeApplication": {"body": {"either": {"right": {"variable": "i"}}}, "type": {"variable": "hydra.core.errors.DecodingError"}}},
"type": {"literal": {"integer": "int32"}}}}}}}]}}}]}},
"argument": {"variable": "v"}}}}}}]}},
"argument": {"variable": "stripped"}}}}}}},
"argument": {
"application": {
"function": {
"application": {"function": {"variable": "hydra.core.extract.model.stripWithDecodingError"}, "argument": {"variable": "cx"}}},
"argument": {"variable": "raw"}}}}}}}}}}}}},
"argument": {"variable": "fieldMap"}}},
"argument": {"variable": "cx"}}}}},
"argument": {
"lambda": {
"parameter": "field_indices",
"domain": {"map": {"keys": {"variable": "hydra.core.topology.Vertex"}, "values": {"literal": {"integer": "int32"}}}},
"body": {
"application": {
"function": {
"application": {
"function": {
"typeApplication": {
"body": {
"typeApplication": {
"body": {
"typeApplication": {"body": {"variable": "hydra.core.lib.eithers.bind"}, "type": {"variable": "hydra.core.errors.DecodingError"}}},
"type": {"map": {"keys": {"variable": "hydra.core.topology.Vertex"}, "values": {"literal": {"integer": "int32"}}}}}},
"type": {"variable": "hydra.core.topology.TarjanState"}}},
"argument": {
"application": {
"function": {
"application": {
"function": {
"application": {
"function": {
"application": {
"function": {
"typeApplication": {
"body": {
"typeApplication": {
"body": {
"typeApplication": {"body": {"variable": "hydra.core.extract.model.requireField"}, "type": {"variable": "hydra.core.graph.Graph"}}},
"type": {"variable": "hydra.core.model.Term"}}},
"type": {"map": {"keys": {"variable": "hydra.core.topology.Vertex"}, "values": {"literal": {"integer": "int32"}}}}}},
"argument": {"literal": {"string": "lowLinks"}}}},
"argument": {
"application": {
"function": {
"application": {
"function": {
"typeApplication": {
"body": {
"typeApplication": {"body": {"variable": "hydra.core.extract.model.decodeMap"}, "type": {"variable": "hydra.core.topology.Vertex"}}},
"type": {"literal": {"integer": "int32"}}}},
"argument": {"variable": "hydra.core.decode.topology.vertex"}}},
"argument": {
"lambda": {
"parameter": "cx",
"domain": {"variable": "hydra.core.graph.Graph"},
"body": {
"lambda": {
"parameter": "raw",
"domain": {"variable": "hydra.core.model.Term"},
"body": {
"application": {
"function": {
"application": {
"function": {
"application": {
"function": {
"typeApplication": {
"body": {
"typeApplication": {
"body": {
"typeApplication": {"body": {"variable": "hydra.core.lib.eithers.either"}, "type": {"variable": "hydra.core.errors.DecodingError"}}},
"type": {"variable": "hydra.core.model.Term"}}},
"type": {"either": {"left": {"variable": "hydra.core.errors.DecodingError"}, "right": {"literal": {"integer": "int32"}}}}}},
"argument": {
"lambda": {
"parameter": "err",
"domain": {"variable": "hydra.core.errors.DecodingError"},
"body": {
"typeApplication": {
"body": {
"typeApplication": {"body": {"either": {"left": {"variable": "err"}}}, "type": {"variable": "hydra.core.errors.DecodingError"}}},
"type": {"literal": {"integer": "int32"}}}}}}}},
"argument": {
"lambda": {
"parameter": "stripped",
"domain": {"variable": "hydra.core.model.Term"},
"body": {
"application": {
"function": {
"cases": {
"typeName": "hydra.core.model.Term",
"default": {
"typeApplication": {
"body": {
"typeApplication": {
"body": {
"either": {"left": {"wrap": {"typeName": "hydra.core.errors.DecodingError", "body": {"literal": {"string": "expected literal"}}}}}},
"type": {"variable": "hydra.core.errors.DecodingError"}}},
"type": {"literal": {"integer": "int32"}}}},
"cases": [
{
"name": "literal",
"handler": {
"lambda": {
"parameter": "v",
"domain": {"variable": "hydra.core.model.Literal"},
"body": {
"application": {
"function": {
"cases": {
"typeName": "hydra.core.model.Literal",
"default": {
"typeApplication": {
"body": {
"typeApplication": {
"body": {
"either": {
"left": {"wrap": {"typeName": "hydra.core.errors.DecodingError", "body": {"literal": {"string": "expected int32 literal"}}}}}},
"type": {"variable": "hydra.core.errors.DecodingError"}}},
"type": {"literal": {"integer": "int32"}}}},
"cases": [
{
"name": "integer",
"handler": {
"cases": {
"typeName": "hydra.core.model.IntegerValue",
"default": {
"typeApplication": {
"body": {
"typeApplication": {
"body": {
"either": {
"left": {"wrap": {"typeName": "hydra.core.errors.DecodingError", "body": {"literal": {"string": "expected int32 value"}}}}}},
"type": {"variable": "hydra.core.errors.DecodingError"}}},
"type": {"literal": {"integer": "int32"}}}},
"cases": [
{
"name": "int32",
"handler": {
"lambda": {
"parameter": "i",
"domain": {"literal": {"integer": "int32"}},
"body": {
"typeApplication": {
"body": {
"typeApplication": {"body": {"either": {"right": {"variable": "i"}}}, "type": {"variable": "hydra.core.errors.DecodingError"}}},
"type": {"literal": {"integer": "int32"}}}}}}}]}}}]}},
"argument": {"variable": "v"}}}}}}]}},
"argument": {"variable": "stripped"}}}}}}},
"argument": {
"application": {
"function": {
"application": {"function": {"variable": "hydra.core.extract.model.stripWithDecodingError"}, "argument": {"variable": "cx"}}},
"argument": {"variable": "raw"}}}}}}}}}}}}},
"argument": {"variable": "fieldMap"}}},
"argument": {"variable": "cx"}}}}},
"argument": {
"lambda": {
"parameter": "field_lowLinks",
"domain": {"map": {"keys": {"variable": "hydra.core.topology.Vertex"}, "values": {"literal": {"integer": "int32"}}}},
"body": {
"application": {
"function": {
"application": {
"function": {
"typeApplication": {
"body": {
"typeApplication": {
"body": {
"typeApplication": {"body": {"variable": "hydra.core.lib.eithers.bind"}, "type": {"variable": "hydra.core.errors.DecodingError"}}},
"type": {"list": {"variable": "hydra.core.topology.Vertex"}}}},
"type": {"variable": "hydra.core.topology.TarjanState"}}},
"argument": {
"application": {
"function": {
"application": {
"function": {
"application": {
"function": {
"application": {
"function": {
"typeApplication": {
"body": {
"typeApplication": {
"body": {
"typeApplication": {"body": {"variable": "hydra.core.extract.model.requireField"}, "type": {"variable": "hydra.core.graph.Graph"}}},
"type": {"variable": "hydra.core.model.Term"}}},
"type": {"list": {"variable": "hydra.core.topology.Vertex"}}}},
"argument": {"literal": {"string": "stack"}}}},
"argument": {
"application": {
"function": {
"typeApplication": {"body": {"variable": "hydra.core.extract.model.decodeList"}, "type": {"variable": "hydra.core.topology.Vertex"}}},
"argument": {"variable": "hydra.core.decode.topology.vertex"}}}}},
"argument": {"variable": "fieldMap"}}},
"argument": {"variable": "cx"}}}}},
"argument": {
"lambda": {
"parameter": "field_stack",
"domain": {"list": {"variable": "hydra.core.topology.Vertex"}},
"body": {
"application": {
"function": {
"application": {
"function": {
"typeApplication": {
"body": {
"typeApplication": {
"body": {
"typeApplication": {"body": {"variable": "hydra.core.lib.eithers.bind"}, "type": {"variable": "hydra.core.errors.DecodingError"}}},
"type": {"set": {"variable": "hydra.core.topology.Vertex"}}}},
"type": {"variable": "hydra.core.topology.TarjanState"}}},
"argument": {
"application": {
"function": {
"application": {
"function": {
"application": {
"function": {
"application": {
"function": {
"typeApplication": {
"body": {
"typeApplication": {
"body": {
"typeApplication": {"body": {"variable": "hydra.core.extract.model.requireField"}, "type": {"variable": "hydra.core.graph.Graph"}}},
"type": {"variable": "hydra.core.model.Term"}}},
"type": {"set": {"variable": "hydra.core.topology.Vertex"}}}},
"argument": {"literal": {"string": "onStack"}}}},
"argument": {
"application": {
"function": {
"typeApplication": {"body": {"variable": "hydra.core.extract.model.decodeSet"}, "type": {"variable": "hydra.core.topology.Vertex"}}},
"argument": {"variable": "hydra.core.decode.topology.vertex"}}}}},
"argument": {"variable": "fieldMap"}}},
"argument": {"variable": "cx"}}}}},
"argument": {
"lambda": {
"parameter": "field_onStack",
"domain": {"set": {"variable": "hydra.core.topology.Vertex"}},
"body": {
"application": {
"function": {
"application": {
"function": {
"typeApplication": {
"body": {
"typeApplication": {
"body": {
"typeApplication": {"body": {"variable": "hydra.core.lib.eithers.bind"}, "type": {"variable": "hydra.core.errors.DecodingError"}}},
"type": {"list": {"list": {"variable": "hydra.core.topology.Vertex"}}}}},
"type": {"variable": "hydra.core.topology.TarjanState"}}},
"argument": {
"application": {
"function": {
"application": {
"function": {
"application": {
"function": {
"application": {
"function": {
"typeApplication": {
"body": {
"typeApplication": {
"body": {
"typeApplication": {"body": {"variable": "hydra.core.extract.model.requireField"}, "type": {"variable": "hydra.core.graph.Graph"}}},
"type": {"variable": "hydra.core.model.Term"}}},
"type": {"list": {"list": {"variable": "hydra.core.topology.Vertex"}}}}},
"argument": {"literal": {"string": "sccs"}}}},
"argument": {
"application": {
"function": {
"typeApplication": {
"body": {"variable": "hydra.core.extract.model.decodeList"},
"type": {"list": {"variable": "hydra.core.topology.Vertex"}}}},
"argument": {
"application": {
"function": {
"typeApplication": {"body": {"variable": "hydra.core.extract.model.decodeList"}, "type": {"variable": "hydra.core.topology.Vertex"}}},
"argument": {"variable": "hydra.core.decode.topology.vertex"}}}}}}},
"argument": {"variable": "fieldMap"}}},
"argument": {"variable": "cx"}}}}},
"argument": {
"lambda": {
"parameter": "field_sccs",
"domain": {"list": {"list": {"variable": "hydra.core.topology.Vertex"}}},
"body": {
"typeApplication": {
"body": {
"typeApplication": {
"body": {
"either": {
"right": {
"record": {
"typeName": "hydra.core.topology.TarjanState",
"fields": [
{"name": "counter", "term": {"variable": "field_counter"}},
{"name": "indices", "term": {"variable": "field_indices"}},
{"name": "lowLinks", "term": {"variable": "field_lowLinks"}},
{"name": "stack", "term": {"variable": "field_stack"}},
{"name": "onStack", "term": {"variable": "field_onStack"}},
{"name": "sccs", "term": {"variable": "field_sccs"}}]}}}},
"type": {"variable": "hydra.core.errors.DecodingError"}}},
"type": {"variable": "hydra.core.topology.TarjanState"}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}]}},
"argument": {"variable": "stripped"}}}}}}},
"argument": {
"application": {
"function": {
"application": {"function": {"variable": "hydra.core.extract.model.stripWithDecodingError"}, "argument": {"variable": "cx"}}},
"argument": {"variable": "raw"}}}}}}}}},
"annotation": {
"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "Decoder for hydra.core.topology.TarjanState"}}}]}}}}},
{
"term": {
"name": "hydra.core.decode.topology.vertex",
"signature": {
"typeParameters": [],
"parameters": [
{"name": "arg0", "type": {"variable": "hydra.core.graph.Graph"}, "isLazy": false},
{"name": "arg1", "type": {"variable": "hydra.core.model.Term"}, "isLazy": false}],
"result": {
"type": {"either": {"left": {"variable": "hydra.core.errors.DecodingError"}, "right": {"literal": {"integer": "int32"}}}}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "cx",
"domain": {"variable": "hydra.core.graph.Graph"},
"body": {
"lambda": {
"parameter": "raw",
"domain": {"variable": "hydra.core.model.Term"},
"body": {
"application": {
"function": {
"application": {
"function": {
"application": {
"function": {
"typeApplication": {
"body": {
"typeApplication": {
"body": {
"typeApplication": {"body": {"variable": "hydra.core.lib.eithers.either"}, "type": {"variable": "hydra.core.errors.DecodingError"}}},
"type": {"variable": "hydra.core.model.Term"}}},
"type": {"either": {"left": {"variable": "hydra.core.errors.DecodingError"}, "right": {"literal": {"integer": "int32"}}}}}},
"argument": {
"lambda": {
"parameter": "err",
"domain": {"variable": "hydra.core.errors.DecodingError"},
"body": {
"typeApplication": {
"body": {
"typeApplication": {"body": {"either": {"left": {"variable": "err"}}}, "type": {"variable": "hydra.core.errors.DecodingError"}}},
"type": {"literal": {"integer": "int32"}}}}}}}},
"argument": {
"lambda": {
"parameter": "stripped",
"domain": {"variable": "hydra.core.model.Term"},
"body": {
"application": {
"function": {
"cases": {
"typeName": "hydra.core.model.Term",
"default": {
"typeApplication": {
"body": {
"typeApplication": {
"body": {
"either": {"left": {"wrap": {"typeName": "hydra.core.errors.DecodingError", "body": {"literal": {"string": "expected literal"}}}}}},
"type": {"variable": "hydra.core.errors.DecodingError"}}},
"type": {"literal": {"integer": "int32"}}}},
"cases": [
{
"name": "literal",
"handler": {
"lambda": {
"parameter": "v",
"domain": {"variable": "hydra.core.model.Literal"},
"body": {
"application": {
"function": {
"cases": {
"typeName": "hydra.core.model.Literal",
"default": {
"typeApplication": {
"body": {
"typeApplication": {
"body": {
"either": {
"left": {"wrap": {"typeName": "hydra.core.errors.DecodingError", "body": {"literal": {"string": "expected int32 literal"}}}}}},
"type": {"variable": "hydra.core.errors.DecodingError"}}},
"type": {"literal": {"integer": "int32"}}}},
"cases": [
{
"name": "integer",
"handler": {
"cases": {
"typeName": "hydra.core.model.IntegerValue",
"default": {
"typeApplication": {
"body": {
"typeApplication": {
"body": {
"either": {
"left": {"wrap": {"typeName": "hydra.core.errors.DecodingError", "body": {"literal": {"string": "expected int32 value"}}}}}},
"type": {"variable": "hydra.core.errors.DecodingError"}}},
"type": {"literal": {"integer": "int32"}}}},
"cases": [
{
"name": "int32",
"handler": {
"lambda": {
"parameter": "i",
"domain": {"literal": {"integer": "int32"}},
"body": {
"typeApplication": {
"body": {
"typeApplication": {"body": {"either": {"right": {"variable": "i"}}}, "type": {"variable": "hydra.core.errors.DecodingError"}}},
"type": {"literal": {"integer": "int32"}}}}}}}]}}}]}},
"argument": {"variable": "v"}}}}}}]}},
"argument": {"variable": "stripped"}}}}}}},
"argument": {
"application": {
"function": {
"application": {"function": {"variable": "hydra.core.extract.model.stripWithDecodingError"}, "argument": {"variable": "cx"}}},
"argument": {"variable": "raw"}}}}}}}}},
"annotation": {
"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "Decoder for hydra.core.topology.Vertex"}}}]}}}}}]}