view tests/blog.ur @ 1198:b52929351402

Forward reference to URI convention
author Adam Chlipala <adamc@hcoop.net>
date Sat, 17 Apr 2010 13:57:10 -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