diff options
Diffstat (limited to 'continuation3.mu')
-rw-r--r-- | continuation3.mu | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/continuation3.mu b/continuation3.mu index 043828d5..57d54084 100644 --- a/continuation3.mu +++ b/continuation3.mu @@ -1,5 +1,13 @@ -# example program showing that a function call can be 'paused' multiple times, -# creating different continuation values +# Example program showing that a function call can be 'paused' multiple times, +# creating different continuation values. +# +# Expected output: +# caller 0 +# callee 0 +# caller 1 +# callee 1 +# caller 2 +# callee 2 def main [ local-scope |