diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2017-12-03 23:25:40 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2017-12-03 23:25:40 -0800 |
commit | 4a48bedcd1d708a43d43dc6259a4e45c52ea3d00 (patch) | |
tree | 85c1b7310cca932797d727a3de8da96eb175d8da /static-dispatch.mu | |
parent | ef7d834fdd826977cd8d43253052a7b8e1c5aa72 (diff) | |
download | mu-4a48bedcd1d708a43d43dc6259a4e45c52ea3d00.tar.gz |
4134 - 'input' = 'ingredient'
Diffstat (limited to 'static-dispatch.mu')
-rw-r--r-- | static-dispatch.mu | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/static-dispatch.mu b/static-dispatch.mu index ccb3de6a..a0157d13 100644 --- a/static-dispatch.mu +++ b/static-dispatch.mu @@ -8,22 +8,22 @@ def test a:num -> b:num [ local-scope - load-ingredients + load-inputs b <- add a, 1 ] def test a:num, b:num -> c:num [ local-scope - load-ingredients + load-inputs c <- add a, b ] def main [ local-scope - a:num <- test 3 # selects single-ingredient version + a:num <- test 3 # selects single-input version $print a, 10/newline - b:num <- test 3, 4 # selects double-ingredient version + b:num <- test 3, 4 # selects double-input version $print b, 10/newline - c:num <- test 3, 4, 5 # prefers double- to single-ingredient version + c:num <- test 3, 4, 5 # prefers double- to single-input version $print c, 10/newline ] |