view tests/letwhere.ur @ 2135:a159625975a7

Allow file directives to contain slashes Previously, adding a line such as "file /c/foo.css css/foo.css" would cause the compiler to raise an InvalidArc exception.
author Julian Squires <julian@cipht.net>
date Fri, 24 Apr 2015 07:51:47 -0400
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