You just need to use "and" to declare mutually recursive types:

1
2
3
4
5
6
7
type a () = 
  member a.X = 1 
  member a.Bx=(b()).X 

and b()= 
  member b.X = 2 
  member b.Ax=(a()).X 
By on 1/8/2011 7:01 PM ()

oh

thx ! kvb

i remember that

thx again

By on 1/8/2011 7:12 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