annotate 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
rev   line source
adamc@157 1 structure M : sig datatype t = A | B end = struct
adamc@157 2 datatype t = A | B
adamc@157 3 end
adamc@157 4
adamc@157 5 datatype u = datatype M.t
adamc@157 6
adamc@157 7 val a : M.t = A
adamc@157 8 val a2 : u = a