[yield]

yield is a core slot, one of the keywords of the Hyperlambda language, in Hyperlambda, the language of Magic Cloud. Returns multiple child nodes or evaluated nodes to the caller.

  • Returns: Returns child nodes to the caller

Arguments

Required arguments come first, then the optional ones in the order they are declared.

Argument Type Required Description
any node name lambda no Returned child node after descendant expressions are unwrapped. Can be repeated.

JSON declaration

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

JSON declaration
{
  "name": "yield",
  "description": "Returns multiple child nodes or evaluated nodes to the caller",
  "signature": {
    "children": {
      "*": {
        "type": "lambda",
        "description": "Returned child node after descendant expressions are unwrapped",
        "required": false,
        "mode": "SourceLambda",
        "cardinality": "ZeroOrMore",
        "role": "Payload",
        "evaluation": "UnwrapDescendants",
        "projection": "Self"
      }
    },
    "output": {
      "mode": "Lambda",
      "kind": "node-list",
      "description": "Returns child nodes to the caller"
    }
  }
}

← yaml2lambda all core slots