From 1ead356219bb2eb59487d1012f837bd07ec336f5 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Tue, 8 Mar 2016 01:30:14 -0800 Subject: 2735 - define recipes using 'def' I'm dropping all mention of 'recipe' terminology from the Readme. That way I hope to avoid further bike-shedding discussions while I very slowly decide on the right terminology with my students. I could be smarter in my error messages and use 'recipe' when code uses it and 'function' otherwise. But what about other words like ingredient? It would all add complexity that I'm not yet sure is worthwhile. But I do want separate experiences for veteran programmers reading about Mu on github and for people learning programming using Mu. --- 040brace.cc | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) (limited to '040brace.cc') diff --git a/040brace.cc b/040brace.cc index 6c5adcb5..d9d60078 100644 --- a/040brace.cc +++ b/040brace.cc @@ -21,7 +21,7 @@ :(scenarios transform) :(scenario brace_conversion) -recipe main [ +def main [ { break 1:number <- copy 0 @@ -145,7 +145,7 @@ long long int matching_brace(long long int index, const list