Mercurial > urweb
diff demo/metaform.ur @ 632:6c4643880df5
Demos compile again, with manual folders
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Tue, 24 Feb 2009 15:12:13 -0500 |
parents | ad7e854a518c |
children | aa2290c32ce2 |
line wrap: on
line diff
--- a/demo/metaform.ur Tue Feb 24 14:04:07 2009 -0500 +++ b/demo/metaform.ur Tue Feb 24 15:12:13 2009 -0500 @@ -1,5 +1,6 @@ functor Make (M : sig con fs :: {Unit} + val fl : folder fs val names : $(mapUT string fs) end) = struct @@ -8,7 +9,7 @@ (fn (nm :: Name) (rest :: {Unit}) [[nm] ~ rest] name value => <xml> <li> {[name]} = {[value]}</li> </xml>) - [M.fs] M.names values} + [M.fs] M.fl M.names values} </body></xml> fun main () = return <xml><body> @@ -20,7 +21,7 @@ {useMore acc} </xml>) <xml/> - [M.fs] M.names} + [M.fs] M.fl M.names} <submit action={handler}/> </form> </body></xml>