Skip to content

Instantly share code, notes, and snippets.

@chkn
Last active August 29, 2015 14:18
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 chkn/f69d10d899fc2dd20727 to your computer and use it in GitHub Desktop.
Save chkn/f69d10d899fc2dd20727 to your computer and use it in GitHub Desktop.
open System
open System.Collections.Generic
type Foo() =
let list = List<obj>()
member x.List = list
type Bar() =
let doSomething (foo : Foo) =
let inner() =
foo.List.Count
inner()
open System
open System.Collections.Generic
type Bar() =
let doSomething (foo : Foo) =
let inner() =
foo.List.Count
inner()
and Foo() =
let list = List<obj>()
member x.List = list
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment