diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-10-09 13:26:28 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-10-09 13:26:28 -0400 |
| commit | 074cf22ad462eafe963e4a749b2b74cab51211a1 (patch) | |
| tree | e1d7f938f2d949cc5dcf67ca648f200663e36562 /docs/booleans.md | |
| parent | 47fca946065508cff4151a32b3008c161983fd9d (diff) | |
Change function syntax from `func(args)->ret` to `func(args -> ret)`
Diffstat (limited to 'docs/booleans.md')
| -rw-r--r-- | docs/booleans.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/booleans.md b/docs/booleans.md index 7d2c29a4..75259662 100644 --- a/docs/booleans.md +++ b/docs/booleans.md @@ -16,7 +16,7 @@ boolean values are case-insensitive variations of `yes`/`no`, `y`/`n`, **Usage:** ```tomo -from_text(text: Text, success: Bool = !&Bool) -> Bool +from_text(text: Text, success: Bool = !&Bool -> Bool) ``` **Parameters:** @@ -49,7 +49,7 @@ Generates a random boolean value based on a specified probability. **Usage:** ```tomo -random(p: Float = 0.5) -> Bool +random(p: Float = 0.5 -> Bool) ``` **Parameters:** |
