view tests/include.lac @ 125:fd98dd10dce7

Corifying (non-mutual) 'val rec'
author Adam Chlipala <adamc@hcoop.net>
date Thu, 17 Jul 2008 10:23:04 -0400
parents fd8a81ecd598
children
line wrap: on
line source
signature S = sig
        type t
        val x : t
end

signature S' = sig
        include S
        val y : t
end

signature S'' = sig
        type u
        include S' where type t = int
        type v
end