diff options
author | Adam Chlipala <adamc@hcoop.net> | 2009-03-10 10:44:26 -0400 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2009-03-10 10:44:26 -0400 |
commit | db7cd221444afce64803e66594d56dc8e7a0843c (patch) | |
tree | da2a0ab3f900743c5d1aaa01d30b665aa858f021 /demo/sum.ur | |
parent | aed3aa32e62846a16da55fc7be4cecba92ed5e2b (diff) |
Avoid any JavaScript when pages don't need it; update demo prose
Diffstat (limited to 'demo/sum.ur')
-rw-r--r-- | demo/sum.ur | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demo/sum.ur b/demo/sum.ur index d2c03004..d967454c 100644 --- a/demo/sum.ur +++ b/demo/sum.ur @@ -1,4 +1,4 @@ -fun sum (fs ::: {Unit}) (fl : folder fs) (x : $(mapUT int fs)) = +fun sum (fs ::: {Unit}) (fl : folder fs) (x : $(mapU int fs)) = foldUR [int] [fn _ => int] (fn (nm :: Name) (rest :: {Unit}) [[nm] ~ rest] n acc => n + acc) 0 [fs] fl x |