view tests/dtfunctor.ur @ 2013:77cc9169d6e0

Change context-local memory allocation to return word-aligned addresses (based on patch by Evan Danaher)
author Adam Chlipala <adam@chlipala.net>
date Sun, 18 May 2014 18:58:50 -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/>