diff options
| author | Kai Stevenson <kai@kaistevenson.com> | 2025-11-09 21:08:12 -0800 |
|---|---|---|
| committer | Kai Stevenson <kai@kaistevenson.com> | 2025-11-09 21:08:30 -0800 |
| commit | 413eaa284e164143c5416cdce5a1de0f9f992409 (patch) | |
| tree | d999e8cbaddefcce9df3265c594083177427b6cb /examples/README.md | |
| parent | 93992029bd349185d15de02e0f633e95c62695a9 (diff) | |
map + reduce
Diffstat (limited to 'examples/README.md')
| -rw-r--r-- | examples/README.md | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/examples/README.md b/examples/README.md index 33c957d..1d0e0c1 100644 --- a/examples/README.md +++ b/examples/README.md @@ -1,6 +1,7 @@ ## A guided tour of KaiScript through examples -Open this in your IDE of choice--make sure your LSP is running so you can inspect types. +Open this in your IDE of choice--make sure your LSP is running so you can inspect types. Feel free to run `tsx` on each file to verify the runtime outputs. +If you're reading this without an LSP, I've added type annotations in comments above each result. I promise these match what you'd see if you hovered over the value! 1. [Breaking the second wall](./mapper.ts) @@ -11,3 +12,5 @@ Open this in your IDE of choice--make sure your LSP is running so you can inspec 4. [Turing completeness](./branching.ts) 5. [Infinite computation](./recursion.ts) + +6. [Infinite transformation](./mapReduce.ts) |
