Mercurial > urweb
view tests/record_page.ur @ 1871:c3119c263bd3
Add -ccompiler command line argument
This allows user to overwrite the compiler set during the configure phase
author | Sergey Mironov <grrwlf@gmail.com> |
---|---|
date | Tue, 20 Aug 2013 17:13:50 +0400 |
parents | 71bafe66dbe1 |
children |
line wrap: on
line source
type t = {A : string, B : {C : string, D : string}} val page = fn x : t => <html><body> {cdata x.A},{cdata x.B.C},{cdata x.B.D} </body></html> val main : unit -> page = fn () => <html><body> <li><a link={page {A = "A", B = {C = "B", D = "C"}}}>First</a></li> <li><a link={page {A = "D", B = {C = "E", D = "F"}}}>Second</a></li> </body></html>