diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2017-11-06 01:28:53 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2017-11-06 01:28:53 -0800 |
commit | d55e77387fd9cc3eae2f17a6c1993f3bcb061a60 (patch) | |
tree | ff395f7d64f196c68560654b027fb1e59bf8bccc /continuation1.mu | |
parent | 3b776ac3843e925ee24f49e8df51ab6a1db6c085 (diff) | |
download | mu-d55e77387fd9cc3eae2f17a6c1993f3bcb061a60.tar.gz |
4117 - done with delimited continuations
At least this particular implementation of them. Let's play with them now for a while, see if they're fully equivalent to shift/reduce.
Diffstat (limited to 'continuation1.mu')
-rw-r--r-- | continuation1.mu | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/continuation1.mu b/continuation1.mu index 23e92f8f..11811c1d 100644 --- a/continuation1.mu +++ b/continuation1.mu @@ -1,6 +1,11 @@ -# example program showing that 'return-continuation-until-mark' can 'pause' a +# Example program showing that 'return-continuation-until-mark' can 'pause' a # function call, returning a continuation, and that calling the continuation # can 'resume' the paused function call. +# +# Expected output: +# 1 +# 2 +# 3 def main [ local-scope |