view tests/dtfunctor.ur @ 1816:ae8b0e05522a

Manual addition for last changeset
author Adam Chlipala <adam@chlipala.net>
date Tue, 04 Sep 2012 16:30:22 -0400
parents 21ecf340f05c
children
line wrap: on
line source
functor Make(M : sig end) = struct
    datatype t = A | B
end

structure A = Make(struct end)
structure B = Make(struct end)

fun main (x : A.t) (y : B.t) : transaction page =
    return <xml/>