mumu 0.10.0

Lava Mumu is a language for those in the now and that know
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{
  "id": "fn-math-min",
  "dataComponent": "math",
  "heading": {
    "title": "min",
    "badges": ["Math", "JSMath", "PARTIAL"]
  },
  "synopsis": "Returns the smallest of a set of numeric arguments (variadic). Partial usage accumulates arguments until final call.",
  "codeBlocks": [
    "extend(\"math\")\\n\\nsput( math:min(5, 2, 10, 0) )\\n# => 0\\n\\n# Variadic\\nsput( math:min(100, 50, -20, 999) )\\n# => -20\\n\\n# Partial usage\\npartMin = math:min(30)\\nsput( partMin(50, 2, 40) )\\n# => 2"
  ],
  "notes": [
    "Any number of numeric arguments. If bridging sees no final arguments, the result might be +Infinity or an error.",
    "Partial usage: supply arguments in stages until final invocation."
  ]
}