view tests/naughty.ur @ 1706:0152f65ced6a

Return to working version mode
author Adam Chlipala <adam@chlipala.net>
date Thu, 29 Mar 2012 11:23:35 -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*)