diff options
author | Adam Chlipala <adam@chlipala.net> | 2010-09-30 18:29:59 -0400 |
---|---|---|
committer | Adam Chlipala <adam@chlipala.net> | 2010-09-30 18:29:59 -0400 |
commit | 975b1f43784dfc1769ec93dd5dd408434791464e (patch) | |
tree | 049d9d5397185e0cc0589cbfe86e882d41087b63 /demo | |
parent | 3b47d68d29a931de92e0c9d2543b4085cfc45e32 (diff) |
Demo improvements
Diffstat (limited to 'demo')
-rw-r--r-- | demo/counter.ur | 1 | ||||
-rw-r--r-- | demo/prose | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/demo/counter.ur b/demo/counter.ur index b11fc936..23768ad3 100644 --- a/demo/counter.ur +++ b/demo/counter.ur @@ -1,3 +1,4 @@ +(* Workhorse function, which [main] will call *) fun counter n = return <xml><body> Current counter: {[n]}<br/> <a link={counter (n + 1)}>Increment</a><br/> @@ -5,7 +5,7 @@ <blockquote><pre>./configure make sudo make install -urweb -demo /Demo demo</pre></blockquote></p> +urweb -noEmacs -demo /Demo demo</pre></blockquote></p> <p>The <tt>-demo /Demo</tt> flag says that we want to build a demo application that expects its URIs to begin with <tt>/Demo</tt>. The final argument <tt>demo</tt> gives the path to a directory housing demo files. One of the files in that directory is <tt>prose</tt>, a file describing the different demo pieces with HTML. Some lines of <tt>prose</tt> have the form <tt><i>foo</i>.urp</tt>, naming particular project files (with the extension <tt>.urp</tt>) in that directory.</p> |