about summary refs log tree commit diff stats
path: root/fork.mu
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-01-17 23:15:03 -0800
committerKartik K. Agaram <vc@akkartik.com>2016-01-17 23:15:03 -0800
commit83d8299d2d966c39b4970828ff5743a5b05e3287 (patch)
treed2b0203d068b1c5651c58928c0f2fdf98d558789 /fork.mu
parent94fed2020040cf469bd47c8890ed4e609e3ed561 (diff)
downloadmu-83d8299d2d966c39b4970828ff5743a5b05e3287.tar.gz
2562
We want to use the type 'recipe' for recipe *variables*, because it
seems nicer to say `recipe number -> number` rather than recipe-ordinal,
etc. To support this we'll allow recipe names to be mentioned without
any type.

This might make a couple of places in this commit more brittle. I'm
dropping error messages, causing them to not happen in some situations.
Maybe I should just bite the bullet and require an explicit
:recipe-literal. We'll see.
Diffstat (limited to 'fork.mu')
-rw-r--r--fork.mu2
1 files changed, 1 insertions, 1 deletions
diff --git a/fork.mu b/fork.mu
index 1d717181..3aa37227 100644
--- a/fork.mu
+++ b/fork.mu
@@ -1,7 +1,7 @@
 # example program: running multiple routines
 
 recipe main [
-  start-running thread2:recipe
+  start-running thread2
   {
     $print 34
     loop