view tests/reactive2.ur @ 2204:01c8aceac480

Finishes initial prototype, caching parameterless pages with table-match-based invalidation. Still has problems parsing non-Postgres SQL dialects properly.
author Ziv Scully <ziv@mit.edu>
date Tue, 27 May 2014 21:14:13 -0400
parents 3d56940120b1
children
line wrap: on
line source
fun main () : transaction page =
  x <- source <xml>TEST</xml>;
  set x <xml>HI</xml>;
  return <xml><body>
    <dyn signal={signal x}/>
  </body></xml>