comparison tests/linksF.lac @ 119:7fdc146b2bc2

Proper handling of non-function-call links
author Adam Chlipala <adamc@hcoop.net>
date Sun, 13 Jul 2008 16:11:25 -0400
parents
children
comparison
equal deleted inserted replaced
118:7207f794b916 119:7fdc146b2bc2
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>