[lambda2yaml]

lambda2yaml is a core slot, one of the keywords of the Hyperlambda language, in Hyperlambda, the language of Magic Cloud. Transforms a lambda hierarchy into YAML.

  • Value (node-list,lambda-tree), required: Expression selecting the nodes (rows) to transform
  • Returns: Resolves to the generated YAML string

Guide: How to use [lambda2yaml]

JSON declaration

This is the complete declaration of lambda2yaml, as the running system describes it. It is also published as slot.json.

JSON declaration
{
  "name": "lambda2yaml",
  "description": "Transforms a lambda hierarchy into YAML",
  "signature": {
    "input": {
      "kind": "node-list,lambda-tree",
      "description": "Expression selecting the nodes (rows) to transform",
      "required": true,
      "mode": "Expression"
    },
    "output": {
      "mode": "Value",
      "kind": "yaml,text",
      "description": "Resolves to the generated YAML string"
    }
  }
}

← lambda2xml all core slots lt →