view tests/let.ur @ 1194:601a77af0477

'AS' clauses for expression columns may be omitted
author Adam Chlipala <adamc@hcoop.net>
date Thu, 25 Mar 2010 16:41:51 -0400
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