Mutally recursive types need to be declared using the "and" keyword (like in ocaml):

type A =

class

val b: B

end

and B =

class

val a: A

end

You may want to consider trying to reduce mutal dependenices using type parameters:

type A<'a> =

class

val b: 'a

end

By on 12/19/2008 9:51 PM ()
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper