You cannot open a class in F#. Only namespaces and modules are openable. The fact that more completions show up in the intellisense is just a rough edge in the tooling (there is no context-sensitive filtering to know that only namespace/module completions should be shown in the open statement).

By on 10/24/2010 9:12 PM ()

> You cannot open a class in F#.

> Only namespaces and modules are openable.

Aha !! Thanks. I misunderstood what I read about this topic. I thought "module" was just F#-speak for "class". Apparently not.

So, is there some way to write a clump of code in C# or VB that F# would consider to be a module, and therefore openable ??

How about a C# static class, or a VB module ? Would those qualify as "modules" ?

thanks again

bk

By on 10/25/2010 6:13 AM ()

No; the word "module" in my previous message means "an F# module", which you cannot author in C# or VB.

By on 10/25/2010 9:06 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