Mercurial > urweb
comparison tests/link.lac @ 144:f0d3402184d1
Simple forms work
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Tue, 22 Jul 2008 15:12:20 -0400 |
parents | 2d6116de9cca |
children |
comparison
equal
deleted
inserted
replaced
143:4b9c2bd6157c | 144:f0d3402184d1 |
---|---|
1 val ancillary : {} -> xhtml = fn () => <html> | 1 val ancillary = fn () => <html> |
2 Welcome to the ancillary page! | 2 Welcome to the ancillary page! |
3 </html> | 3 </html> |
4 | 4 |
5 val main : {} -> xhtml = fn () => <html><body> | 5 val main : unit -> page = fn () => <html><body> |
6 <a link={ancillary ()}>Enter the unknown!</a> | 6 <a link={ancillary ()}>Enter the unknown!</a> |
7 </body></html> | 7 </body></html> |