about summary refs log tree commit diff stats
path: root/Readme
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2014-11-01 16:34:33 -0700
committerKartik K. Agaram <vc@akkartik.com>2014-11-01 16:34:33 -0700
commit002cbf13f181626ff5bc71f4d7269637ea0fdfea (patch)
treea1e99a25a2597894873b8e209e2101c7d7b0438a /Readme
parent2c9aa92f56c6f4051216774e9d10f795dd12bf0d (diff)
downloadmu-002cbf13f181626ff5bc71f4d7269637ea0fdfea.tar.gz
213 - bring back the fork example
Diffstat (limited to 'Readme')
-rw-r--r--Readme8
1 files changed, 8 insertions, 0 deletions
diff --git a/Readme b/Readme
index 609cb911..167a0cb3 100644
--- a/Readme
+++ b/Readme
@@ -20,11 +20,19 @@ Now try a test program.
 Location z contains the sum of locations x and y.
 (You have to imagine that location 3 maps to 'z' for now, sorry..)
 
+Another example, this time with concurrency.
+
+  $ ./anarki/arc mu.arc fork.mu
+
+Notice that it repeatedly prints either '34' or '35' at random. Hit ctrl-c to
+stop.
+
 == Now dive in
 
 Try running the tests:
 
   $ ./anark/arc mu.arc.t
+  #t  # all tests passed!
 
 Now start reading mu.arc.t. The html rendering mu.arc.t.html might be easier
 to read in your browser.