Hi,
the FS file can contain only one top-level namespace or module name declaration (which is written like this):

1
2
3
4
5
 
#light
namespace Base
// or
module Base.Module1

but you can declare multiple modules in a sigle namespace like this:

1
2
3
4
5
6
7
8
#light
namespace Base

module Module1 = 
  let foo ...

module Module2 = 
  let foo ...

Hope this helps, if you'll have some more troubles, please post the code that causes the errors, so we can see what's causing it.

By on 10/23/2007 12:42 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