view tests/dtfunctor.ur @ 1988:abb6981a2c4c

Merge with small clean-ups
author Adam Chlipala <adam@chlipala.net>
date Tue, 18 Feb 2014 07:07:01 -0500
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/>