packages feed

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

{
  "name": "hydra.core.variants",
  "metadata": {
    "description": "Variant types which describe the structure of Hydra core types and terms.",
    "comments": [],
    "seeAlso": [],
    "provisions": []},
  "dependencies": [],
  "definitions": [
    {
      "type": {
        "name": "hydra.core.variants.LiteralVariant",
        "body": {
          "variables": [],
          "body": {
            "annotated": {
              "body": {
                "union": [
                  {"name": "binary", "type": "unit"},
                  {"name": "boolean", "type": "unit"},
                  {"name": "decimal", "type": "unit"},
                  {"name": "float", "type": "unit"},
                  {"name": "integer", "type": "unit"},
                  {"name": "string", "type": "unit"}]},
              "annotation": {
                "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The identifier of a literal constructor"}}}]}}},
          "constraints": []}}},
    {
      "type": {
        "name": "hydra.core.variants.TermVariant",
        "body": {
          "variables": [],
          "body": {
            "annotated": {
              "body": {
                "union": [
                  {"name": "annotated", "type": "unit"},
                  {"name": "application", "type": "unit"},
                  {"name": "cases", "type": "unit"},
                  {"name": "either", "type": "unit"},
                  {"name": "inject", "type": "unit"},
                  {"name": "lambda", "type": "unit"},
                  {"name": "let", "type": "unit"},
                  {"name": "list", "type": "unit"},
                  {"name": "literal", "type": "unit"},
                  {"name": "map", "type": "unit"},
                  {"name": "optional", "type": "unit"},
                  {"name": "pair", "type": "unit"},
                  {"name": "project", "type": "unit"},
                  {"name": "record", "type": "unit"},
                  {"name": "set", "type": "unit"},
                  {"name": "typeApplication", "type": "unit"},
                  {"name": "typeLambda", "type": "unit"},
                  {"name": "unit", "type": "unit"},
                  {"name": "unwrap", "type": "unit"},
                  {"name": "variable", "type": "unit"},
                  {"name": "wrap", "type": "unit"}]},
              "annotation": {
                "map": [
                  {
                    "key": {"variable": "description"},
                    "value": {"literal": {"string": "The identifier of a term expression constructor"}}}]}}},
          "constraints": []}}},
    {
      "type": {
        "name": "hydra.core.variants.TypeVariant",
        "body": {
          "variables": [],
          "body": {
            "annotated": {
              "body": {
                "union": [
                  {"name": "annotated", "type": "unit"},
                  {"name": "application", "type": "unit"},
                  {"name": "effect", "type": "unit"},
                  {"name": "either", "type": "unit"},
                  {"name": "forall", "type": "unit"},
                  {"name": "function", "type": "unit"},
                  {"name": "list", "type": "unit"},
                  {"name": "literal", "type": "unit"},
                  {"name": "map", "type": "unit"},
                  {"name": "optional", "type": "unit"},
                  {"name": "pair", "type": "unit"},
                  {"name": "record", "type": "unit"},
                  {"name": "set", "type": "unit"},
                  {"name": "union", "type": "unit"},
                  {"name": "unit", "type": "unit"},
                  {"name": "variable", "type": "unit"},
                  {"name": "void", "type": "unit"},
                  {"name": "wrap", "type": "unit"}]},
              "annotation": {
                "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The identifier of a type constructor"}}}]}}},
          "constraints": []}}}]}