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
commitdb7cd221444afce64803e66594d56dc8e7a0843c (patch)
treeda2a0ab3f900743c5d1aaa01d30b665aa858f021 /demo/metaform.ur
parentaed3aa32e62846a16da55fc7be4cecba92ed5e2b (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>)