Skip to content

docs: add recursive function call tracing example#202

Merged
gnidan merged 1 commit intocall-returnfrom
writer-recursive-example
Apr 2, 2026
Merged

docs: add recursive function call tracing example#202
gnidan merged 1 commit intocall-returnfrom
writer-recursive-example

Conversation

@gnidan
Copy link
Copy Markdown
Member

@gnidan gnidan commented Apr 2, 2026

Summary

  • Adds a recursive count/succ example to the tracing docs, showing nested invoke/return contexts from recursive function calls
  • Source string in tracing-examples.ts with proper indentation (safe from prettier)
  • Placed alongside the Adder example in the "Tracing through a function call" section

Add a recursive count/succ example to the tracing docs,
showing how nested invoke/return contexts appear when
functions call themselves repeatedly.
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 2, 2026

PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-04-02 09:25 UTC

@gnidan gnidan merged commit 26cec59 into call-return Apr 2, 2026
4 checks passed
@gnidan gnidan deleted the writer-recursive-example branch April 2, 2026 09:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant