deploy: ffe06d7afa
This commit is contained in:
commit
a4c04666b4
217 files changed
+506293
No files matched your search
Executable
+30
@@ -0,0 +1,30 @@
|
||||
---
|
||||
markup: occlusion
|
||||
title: Functions and named calls
|
||||
description: Callable headings, narrative inputs and readable named calls
|
||||
---
|
||||
|
||||
# main
|
||||
|
||||
| 返回 | 类型 | 说明 |
|
||||
|---|---|---|
|
||||
| result | any | None; execute this page's documented steps in order and observe their output or stated effects |
|
||||
|
||||
Headings expose callable definitions. The input contract sits directly below the heading, and its body names the recipient in prose; callers supply that value by name.
|
||||
|
||||
Call with `>` and named args `param=value`:
|
||||
|
||||
We now **[Call greet](> greet who="World")**.
|
||||
|
||||
## greet
|
||||
|
||||
| 参数 | 类型 | 默认 | 说明 |
|
||||
|---|---|---|---|
|
||||
| who | any | required | Recipient name inserted into the greeting |
|
||||
|
||||
| 返回 | 类型 | 说明 |
|
||||
|---|---|---|
|
||||
| result | any | None; display the computed content on stdout |
|
||||
Input `who`, used by the steps below.
|
||||
|
||||
We now **[Display this step's result](> print text="Hello `who`!")**.
|
||||
Reference in new issue
Block a user