Mercurial > urweb
view tests/dtfunctor.ur @ 2219:ff38b3e0cdfd
Add interface to UnionFind.
author | Ziv Scully <ziv@mit.edu> |
---|---|
date | Mon, 24 Nov 2014 20:41:24 -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/>