diff options
Diffstat (limited to 'demo/counter.ur')
-rw-r--r-- | demo/counter.ur | 1 |
1 files changed, 1 insertions, 0 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/> |