about summary refs log tree commit diff stats
path: root/static-dispatch.mu
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2017-11-10 00:47:45 -0800
committerKartik K. Agaram <vc@akkartik.com>2017-11-10 00:47:45 -0800
commite5e3640cfbfb7621c80c30a3f25eeae34c272322 (patch)
tree6438fd505994f4a167a3725b7b7e3128cc447dd9 /static-dispatch.mu
parent51b3503143ae9bd21feb33b470245ecc4f7beaa7 (diff)
downloadmu-e5e3640cfbfb7621c80c30a3f25eeae34c272322.tar.gz
4119
Running example programs after a long time.
Diffstat (limited to 'static-dispatch.mu')
-rw-r--r--static-dispatch.mu8
1 files changed, 8 insertions, 0 deletions
diff --git a/static-dispatch.mu b/static-dispatch.mu
index 7aec6fa1..ccb3de6a 100644
--- a/static-dispatch.mu
+++ b/static-dispatch.mu
@@ -1,3 +1,11 @@
+# Example program showing how multiple functions with the same name can
+# coexist, and how we select between them.
+#
+# Expected output:
+#   4
+#   7
+#   7
+
 def test a:num -> b:num [
   local-scope
   load-ingredients