view tests/datatypeMod.lac @ 157:adc4e42e3adc

Basic datatype importing works
author Adam Chlipala <adamc@hcoop.net>
date Thu, 24 Jul 2008 15:49:30 -0400
parents
children b4b70de488e9
line wrap: on
line source
structure M : sig datatype t = A | B end = struct
        datatype t = A | B
end

datatype u = datatype M.t

val a : M.t = A
val a2 : u = a