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 /continuation5.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 'continuation5.mu')
-rw-r--r-- | continuation5.mu | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/continuation5.mu b/continuation5.mu index fb00a4f5..663d99c2 100644 --- a/continuation5.mu +++ b/continuation5.mu @@ -3,6 +3,11 @@ # # Print out a list of numbers, first adding 0 to the first, 1 to the second, 2 # to the third, and so on. +# +# Expected output: +# 1 +# 3 +# 5 def main [ local-scope |