diff options
author | Adam Chlipala <adamc@hcoop.net> | 2008-10-21 17:34:20 -0400 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2008-10-21 17:34:20 -0400 |
commit | bda701f557d0e9aadd4717dd4fd6a38ac8ceb1eb (patch) | |
tree | e4635d5a6f6b89dfa6beb1fcc253363184d2a01e /demo/prose | |
parent | d4e5d7bbce0aac719ac2c6451e0a6bfb675ab641 (diff) |
Rec demo
Diffstat (limited to 'demo/prose')
-rw-r--r-- | demo/prose | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -38,6 +38,10 @@ link.urp <p>In <tt>link.ur</tt>, we see how easy it is to link to another page. The Ur/Web compiler guarantees that all links are valid. We just write some Ur/Web code inside an "antiquote" in our XML, denoting a transaction that will produce the new page if the link is clicked.</p> +rec.urp + +<p>Crafting webs of interlinked pages is easy, using recursion.</p> + form.urp <p>Here we see a basic form. The type system tracks which form inputs we include, and it enforces that the form handler function expects a record containing exactly those fields, with exactly the proper types.</p> |