view tests/let.ur @ 1045:36efaf119b85

Refactor compile functions; allow empty tag contents
author Adam Chlipala <adamc@hcoop.net>
date Wed, 25 Nov 2009 08:52:32 -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