Yes, it works, thanks. :-)
On Thu, 10 Jan 2013 15:15:31 -0500You can use an explicit coercion: (self#ant a0 : ant :> _ mlist)
bob zhang <bobzhang1988@gmail.com> wrote:
> Hi List,
> I have came across a corner case in ocaml typing here,
> The source code is pasted below(extracted from a large code base), it
> triggers the warning 18.
> My question, is there any elegant solution without introducing local
> types?
Cheers,
Jeremie