Mercurial > urweb
comparison tests/linksF.ur @ 244:71bafe66dbe1
Laconic -> Ur
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Sun, 31 Aug 2008 08:32:18 -0400 |
parents | tests/linksF.lac@7fdc146b2bc2 |
children |
comparison
equal
deleted
inserted
replaced
243:2b9dfaffb008 | 244:71bafe66dbe1 |
---|---|
1 val pC : unit -> xhtml = fn () => <html><body> | |
2 <h1>Page C</h1> | |
3 </body></html> | |
4 | |
5 val pB : unit -> xhtml = fn () => <html><body> | |
6 <h1>Page B</h1> | |
7 | |
8 <li> <a link={pC ()}>C</a></li> | |
9 </body></html> | |
10 | |
11 val pA : unit -> xhtml = fn () => <html><body> | |
12 <h1>Page A</h1> | |
13 | |
14 <li> <a link={pB ()}>B</a></li> | |
15 <li> <a link={pC ()}>C</a></li> | |
16 </body></html> | |
17 | |
18 val main : unit -> xhtml = fn () => <html><body> | |
19 <h1>Main</h1> | |
20 | |
21 <li> <a link={pA ()}>A</a></li> | |
22 <li> <a link={pB ()}>B</a></li> | |
23 <li> <a link={pC ()}>C</a></li> | |
24 </body></html> |