view tests/dtfunctor.ur @ 1808:90ebfac7e1a3

Better error message for funky command lines
author Adam Chlipala <adam@chlipala.net>
date Sat, 18 Aug 2012 13:51:41 -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/>