summaryrefslogtreecommitdiff
path: root/demo/metaform.ur
diff options
context:
space:
mode:
Diffstat (limited to 'demo/metaform.ur')
-rw-r--r--demo/metaform.ur9
1 files changed, 4 insertions, 5 deletions
diff --git a/demo/metaform.ur b/demo/metaform.ur
index 729b7d08..c6a6e54b 100644
--- a/demo/metaform.ur
+++ b/demo/metaform.ur
@@ -15,11 +15,10 @@ functor Make (M : sig
fun main () = return <xml><body>
<form>
{@foldUR [string] [fn cols => xml form [] (mapU string cols)]
- (fn [nm :: Name] [rest ::_] [[nm] ~ rest] name
- (acc : xml form [] (mapU string rest)) => <xml>
- <li> {[name]}: <textbox{nm}/></li>
- {useMore acc}
- </xml>)
+ (fn [nm :: Name] [rest ::_] [[nm] ~ rest] name acc => <xml>
+ <li> {[name]}: <textbox{nm}/></li>
+ {useMore acc}
+ </xml>)
<xml/>
M.fl M.names}
<submit action={handler}/>