Created
May 26, 2016 17:15
-
-
Save banshee/2af9cf426c0697e8cd4bebcae5e01de5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module FSharpConsumer | |
let a = FSharpNamespace.Class2.Something; | |
// Notice that in F# we use "open" for both modules and namespaces. | |
// See the F# spec section 14.1.3 Opening Modules and Namespace Declaration Groups | |
// for precise details. | |
open FSharpNamespace | |
let b = Class2.Something; | |
let c = Something; | |
let d: FSharpModule.Class1 = FSharpModule.Class1(); | |
open FSharpModule | |
let e = fn() | |
let f = new Class1(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment