view tests/blog.ur @ 2269:f7bc7c11a656

Make SQL caches use more of the pure caching machinery, but it's brittle.
author Ziv Scully <ziv@mit.edu>
date Thu, 15 Oct 2015 00:52:04 -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