annotate tests/let.ur @ 1437:493e087f5479

Exit periodic loop if a ROLLBACK fails, to avoid infinite looping when the database server is brought down
author Adam Chlipala <adam@chlipala.net>
date Fri, 18 Mar 2011 09:12:55 -0400
parents b77863cd0be2
children
rev   line source
adamc@446 1 fun main () : transaction page =
adamc@446 2 let
adamc@446 3 val x = 1
adamc@447 4 val y = "Hello"
adamc@447 5 val z = 3.45
adamc@446 6 in
adamc@447 7 return <xml>{[x]}, {[y]}, {[z]}</xml>
adamc@446 8 end