aboutsummaryrefslogtreecommitdiffhomepage
path: root/demo/tcSum.ur
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2009-03-10 10:44:26 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2009-03-10 10:44:26 -0400
commitdb7cd221444afce64803e66594d56dc8e7a0843c (patch)
treeda2a0ab3f900743c5d1aaa01d30b665aa858f021 /demo/tcSum.ur
parentaed3aa32e62846a16da55fc7be4cecba92ed5e2b (diff)
Avoid any JavaScript when pages don't need it; update demo prose
Diffstat (limited to 'demo/tcSum.ur')
-rw-r--r--demo/tcSum.ur2
1 files changed, 1 insertions, 1 deletions
diff --git a/demo/tcSum.ur b/demo/tcSum.ur
index 080de173..13cefc39 100644
--- a/demo/tcSum.ur
+++ b/demo/tcSum.ur
@@ -1,4 +1,4 @@
-fun sum (t ::: Type) (_ : num t) (fs ::: {Unit}) (fl : folder fs) (x : $(mapUT t fs)) =
+fun sum (t ::: Type) (_ : num t) (fs ::: {Unit}) (fl : folder fs) (x : $(mapU t fs)) =
foldUR [t] [fn _ => t]
(fn (nm :: Name) (rest :: {Unit}) [[nm] ~ rest] n acc => n + acc)
zero [fs] fl x