view tests/let.ur @ 1601:78e0d56b594e

Better error messages when client-side constructs are detected in Cjrize
author Adam Chlipala <adam@chlipala.net>
date Sat, 19 Nov 2011 10:26:19 -0500
parents b77863cd0be2
children
line wrap: on
line source
fun main () : transaction page =
    let
        val x = 1
        val y = "Hello"
        val z = 3.45
    in
        return <xml>{[x]}, {[y]}, {[z]}</xml>
    end