view tests/letwhere.ur @ 2110:9e9c915f554c

A new MonoReduce optimization for lifting 'let' out of field projection; JavaScript compilation for exponentiation
author Adam Chlipala <adam@chlipala.net>
date Sun, 01 Feb 2015 12:29:14 -0500
parents afeeabdcce77
children
line wrap: on
line source
fun main () : transaction page =
    let
        return <xml>Hi {[alice]} and {[bob]}!</xml>
    where
        val alice = "Alice"
        val bob = "Bob"
    end