Mercurial > urweb
annotate tests/dtfunctor.ur @ 2084:0d48cfb59b29
More aggressive inlining of 'let' with record literals, plus some changes to Monoization of queries, to make inlining more common
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Thu, 04 Dec 2014 02:47:24 -0500 |
parents | 21ecf340f05c |
children |
rev | line source |
---|---|
adam@1704 | 1 functor Make(M : sig end) = struct |
adam@1704 | 2 datatype t = A | B |
adam@1704 | 3 end |
adam@1704 | 4 |
adam@1704 | 5 structure A = Make(struct end) |
adam@1704 | 6 structure B = Make(struct end) |
adam@1704 | 7 |
adam@1704 | 8 fun main (x : A.t) (y : B.t) : transaction page = |
adam@1704 | 9 return <xml/> |