summaryrefslogtreecommitdiff
path: root/demo/metaform.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
commit6237af88655d8989ac803d3561074c4304c08922 (patch)
treeda2a0ab3f900743c5d1aaa01d30b665aa858f021 /demo/metaform.ur
parent2b9a7afa2abf672396d5ee38d9301f88b9a06dff (diff)
Avoid any JavaScript when pages don't need it; update demo prose
Diffstat (limited to 'demo/metaform.ur')
-rw-r--r--demo/metaform.ur6
1 files changed, 3 insertions, 3 deletions
diff --git a/demo/metaform.ur b/demo/metaform.ur
index 0e2e5ee3..26462215 100644
--- a/demo/metaform.ur
+++ b/demo/metaform.ur
@@ -1,7 +1,7 @@
functor Make (M : sig
con fs :: {Unit}
val fl : folder fs
- val names : $(mapUT string fs)
+ val names : $(mapU string fs)
end) = struct
fun handler values = return <xml><body>
@@ -14,9 +14,9 @@ functor Make (M : sig
fun main () = return <xml><body>
<form>
- {foldUR [string] [fn cols :: {Unit} => xml form [] (mapUT string cols)]
+ {foldUR [string] [fn cols :: {Unit} => xml form [] (mapU string cols)]
(fn (nm :: Name) (rest :: {Unit}) [[nm] ~ rest] name
- (acc : xml form [] (mapUT string rest)) => <xml>
+ (acc : xml form [] (mapU string rest)) => <xml>
<li> {[name]}: <textbox{nm}/></li>
{useMore acc}
</xml>)