view tests/wildify.ur @ 2203:39faa4a037f4

ML half of initial prototype. (Doesn't compile because there's no C yet.)
author Ziv Scully <ziv@mit.edu>
date Tue, 25 Mar 2014 02:04:06 -0400
parents 79b2bcac6200
children
line wrap: on
line source
signature S = sig
    type t
    val x : t
end

signature T = sig
    structure M : S

    type u
    val y : u

    structure N : S
end

structure M : T = struct
    structure M = struct
        val x = True
    end

    val y = 0

    structure N = struct
        val x = "hi"
    end
end