[lambda2csv]

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

  • Value (node-list), required: Expression selecting the nodes (rows) to transform
  • Returns: Resolves to the CSV content in value and column type nodes as children

Arguments

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

Argument Type Required Description
[null-value] string no String used to represent null values. Default: [NULL].

Guide: How to use [lambda2csv]

JSON declaration

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

JSON declaration
{
  "name": "lambda2csv",
  "description": "Transforms a lambda hierarchy into CSV",
  "signature": {
    "input": {
      "kind": "node-list",
      "description": "Expression selecting the nodes (rows) to transform",
      "required": true,
      "mode": "Expression"
    },
    "children": {
      "null-value": {
        "type": "string",
        "kind": "null-value",
        "description": "String used to represent null values",
        "required": false,
        "mode": "ValueOrExpression",
        "cardinality": "ZeroOrOne",
        "default": "[NULL]",
        "role": "Option",
        "projection": "Value"
      }
    },
    "output": {
      "mode": "Both",
      "kind": "csv,text",
      "description": "Resolves to the CSV content in value and column type nodes as children"
    }
  }
}

← json2yaml all core slots lambda2html →