about summary refs log tree commit diff stats
path: root/continuation2.mu
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2017-11-06 01:28:53 -0800
committerKartik K. Agaram <vc@akkartik.com>2017-11-06 01:28:53 -0800
commitd55e77387fd9cc3eae2f17a6c1993f3bcb061a60 (patch)
treeff395f7d64f196c68560654b027fb1e59bf8bccc /continuation2.mu
parent3b776ac3843e925ee24f49e8df51ab6a1db6c085 (diff)
downloadmu-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 'continuation2.mu')
-rw-r--r--continuation2.mu9
1 files changed, 7 insertions, 2 deletions
diff --git a/continuation2.mu b/continuation2.mu
index dda9d566..a522b0bf 100644
--- a/continuation2.mu
+++ b/continuation2.mu
@@ -1,5 +1,10 @@
-# example program showing that a 'paused' continuation can be 'resumed'
-# multiple times from the same point (but with changes to data)
+# Example program showing that a 'paused' continuation can be 'resumed'
+# multiple times from the same point (but with changes to data).
+#
+# Expected output:
+#   1
+#   2
+#   3
 
 def main [
   local-scope