annotate tests/sidecheck.ur @ 2257:28a541bd2d23

Use referenced (rather than all) free variables as keys for pure caches.
author Ziv Scully <ziv@mit.edu>
date Sun, 27 Sep 2015 14:46:12 -0400
parents 154cfe2eb366
children
rev   line source
adam@1595 1 fun main () : transaction page =
adam@1595 2 s <- source 0;
adam@1595 3 n <- get s;
adam@1595 4 set s (n + 1);
adam@1595 5 n' <- get s;
adam@1595 6 return <xml>{[n']}</xml>