Use "let rec", or more generally use a set of mutually recursive classes, e.g.

1
2
3
4
5
6
 

let rec f x = ...

and g x = ...

or

1
2
3
4
5
6
 

type C(x) = class ... end

and D(x) = class ... end

Mutual recursion between modules and compilation units is currently planned for the next major release of F#. Forward declarations won't be needed, though occasional uses of explicit type signatures may be.

Regards,

don

By on 4/24/2007 12:11 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