Mercurial > urweb
comparison tests/rec3.ur @ 244:71bafe66dbe1
Laconic -> Ur
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Sun, 31 Aug 2008 08:32:18 -0400 |
parents | tests/rec3.lac@18299126a343 |
children |
comparison
equal
deleted
inserted
replaced
243:2b9dfaffb008 | 244:71bafe66dbe1 |
---|---|
1 val rec main = fn () => <html><body> | |
2 <a link={aux ()}>See another page</a> | |
3 </body></html> | |
4 | |
5 and aux = fn () => <html><body> | |
6 <h1>The Main Event</h1> | |
7 | |
8 {auxer ()} | |
9 </body></html> | |
10 | |
11 and auxer = fn () => <body> | |
12 <a link={main ()}>Back to square one</a> | |
13 </body> |