view tests/localfun.ur @ 1989:210fb3dfc483

Some more nested functor bug-fixing, including generating fresh internal names at applications; still need to debug issues with datatype constructors
author Adam Chlipala <adam@chlipala.net>
date Thu, 20 Feb 2014 10:27:15 -0500
parents 5f478ecf65e4
children
line wrap: on
line source
fun boom s =
    let
        val bonk =
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s

        val boonk = fn () =>
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s

        fun booonk () =
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s;
            debug s
    in
        bonk; bonk; boonk (); boonk (); booonk (); booonk ()
    end

fun main () : transaction page =
    boom "test";
    return <xml/>