[lambda2html]

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

  • Value (html-tree), optional: Expression selecting the lambda hierarchy to transform
  • Returns: Resolves to the generated HTML markup

Arguments

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

Argument Type Required Description
any node name lambda no Nodes to convert, used when the slot has no value. Can be repeated.

Guide

How to use lambda2html

JSON declaration

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

JSON declaration
{
  "name": "lambda2html",
  "description": "Transforms a lambda hierarchy into HTML",
  "signature": {
    "input": {
      "kind": "html-tree",
      "description": "Expression selecting the lambda hierarchy to transform",
      "required": false,
      "mode": "Expression"
    },
    "children": {
      "*": {
        "type": "lambda",
        "description": "Nodes to convert, used when the slot has no value",
        "required": false,
        "mode": "SourceLambda",
        "cardinality": "ZeroOrMore",
        "role": "Payload",
        "projection": "Self"
      }
    },
    "output": {
      "mode": "Value",
      "kind": "html,text",
      "description": "Resolves to the generated HTML markup"
    }
  }
}

← lambda2csv all core slots lambda2hyper →