about summary refs log tree commit diff stats
path: root/cpp/020call
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-03-13 17:39:32 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-03-13 17:42:44 -0700
commit781f24623374b5657cec6e408549d2a74ec94399 (patch)
treea853a822d9058c5f9050a44861fb98974f7c570f /cpp/020call
parente0b570c087a5c0d365a309261c256c97934ce779 (diff)
downloadmu-781f24623374b5657cec6e408549d2a74ec94399.tar.gz
900 - c++: calling 'recipes'
Diffstat (limited to 'cpp/020call')
-rw-r--r--cpp/020call8
1 files changed, 8 insertions, 0 deletions
diff --git a/cpp/020call b/cpp/020call
new file mode 100644
index 00000000..bcc29b3d
--- /dev/null
+++ b/cpp/020call
@@ -0,0 +1,8 @@
+:(scenario "calling_recipe")
+recipe main [
+  f
+]
+recipe f [
+  3:integer <- add 2:literal, 2:literal
+]
++mem: storing in location 3