annotate tests/sidecheck.ur @ 2044:42ae25a354f8

Retweak the last tweak to allow type inference to succeed in a strict superset of the places where it used to succeed
author Adam Chlipala <adam@chlipala.net>
date Tue, 29 Jul 2014 14:46:06 -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>