about summary refs log tree commit diff stats
path: root/072recipe.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2018-02-21 20:49:04 -0800
committerKartik K. Agaram <vc@akkartik.com>2018-02-21 20:49:04 -0800
commit816ffe20eb4d4df7a33d92c7305310226c19ff42 (patch)
tree1d40be2b3dd9bd8da978eb930ca6ba4195c05598 /072recipe.cc
parentc1bb5eca952243e4ec4b8b0db218407a5a0260b3 (diff)
downloadmu-816ffe20eb4d4df7a33d92c7305310226c19ff42.tar.gz
4214
Diffstat (limited to '072recipe.cc')
-rw-r--r--072recipe.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/072recipe.cc b/072recipe.cc
index fc53df09..99411e31 100644
--- a/072recipe.cc
+++ b/072recipe.cc
@@ -445,10 +445,11 @@ def foo {f: (recipe num -> num)} [
 
 :(before "End Mu Types Initialization")
 put(Type_abbreviations, "function", new_type_tree("recipe"));
+put(Type_abbreviations, "fn", new_type_tree("recipe"));
 
 :(scenario call_function)
 def main [
-  {1: (function number -> number)} <- copy f
+  {1: (fn number -> number)} <- copy f
   2:num <- call {1: (function number -> number)}, 34
 ]
 def f x:num -> y:num [