view tests/naughty.ur @ 1791:2f8b8952fe27

Add more global mouse event hooks
author Adam Chlipala <adam@chlipala.net>
date Mon, 23 Jul 2012 08:38:39 -0400
parents deeeb036c8ed
children
line wrap: on
line source
fun main () : transaction page =
    if naughtyDebug "hello" = 0 then
        return <xml><body></body></xml>
    else
        error <xml>Uhoh!</xml>

(*fun main () : transaction page =
    let
        val a = naughtyDebug ""
    in
        return <xml><body></body></xml>
    end*)