Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@banshee
Created May 26, 2016 17:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save banshee/2af9cf426c0697e8cd4bebcae5e01de5 to your computer and use it in GitHub Desktop.
Save banshee/2af9cf426c0697e8cd4bebcae5e01de5 to your computer and use it in GitHub Desktop.
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