view tests/blog.ur @ 2262:34ad83d9b729

Fix recording bugs to do with nesting and buffer reallocation. Stop MonoFooify printing spurious errors.
author Ziv Scully <ziv@mit.edu>
date Wed, 07 Oct 2015 08:58:08 -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