annotate tests/rec2.ur @ 1813:4c61bb7acb9b

Minor js optimizations. * flatten() now uses accumulator and join. * reuse regexps instead of allocating new each time
author Vladimir Shabanov <vshabanoff@gmail.com>
date Thu, 30 Aug 2012 17:58:37 +0400
parents 71bafe66dbe1
children
rev   line source
adamc@130 1 val rec main = fn () => <html><body>
adamc@130 2 <a link={aux ()}>See another page</a>
adamc@130 3 </body></html>
adamc@130 4
adamc@130 5 and aux = fn () => <html><body>
adamc@130 6 <a link={main ()}>Back to square one</a>
adamc@130 7 </body></html>