view tests/blog.ur @ 685:c73c5fe72388

Stop holding client locks throughout request processing
author Adam Chlipala <adamc@hcoop.net>
date Thu, 02 Apr 2009 10:55:00 -0400
parents 787d4931fb07
children
line wrap: on
line source
fun main wrap =
    let
        fun edit id =
            let
                val r = 0
                fun save () = <xml/>
            in
                wrap (save ())
            end
    in
        edit 0
    end

fun wrap (inside : xbody) = return <xml/>

val main () = main wrap