See

[link:lorgonblog.spaces.live.com]

the basic ideas being 'file order matters' and usually you need 'ModuleOrNamespace.TheFunc' to call it.

By on 11/5/2009 9:58 AM ()

I still don't success to do that..

In one file I wrote

moudle PARSER

and I defined a calss type called Parser

in other file I wrote

open PARSER and It's wrote me an error:

the module is not defined

what I should do?

*It's in the same project

By on 11/6/2009 1:07 AM ()

duplicate post sorry

By on 11/6/2009 8:27 AM ()
1
2
3
4
5
6
7
8
9
type Parser = {foo:int}

[<CompilationRepresentation(CompilationRepresentationFlags.ModuleSuffix)>]


module Parser =    


  //...
By on 11/6/2009 8:27 AM ()

You can reference one project from another just as with C# projects.

By on 11/5/2009 4:18 AM ()
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