Skip to content

Instantly share code, notes, and snippets.

@kjnilsson
Created November 2, 2017 10:58
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 kjnilsson/86d080d5fc0fdfb5dc3fc5a62aecafba to your computer and use it in GitHub Desktop.
Save kjnilsson/86d080d5fc0fdfb5dc3fc5a62aecafba to your computer and use it in GitHub Desktop.
module A
let f1 x = ()
let f2 x = ()
let doStuff () ->
//f2 is still in scope here
f1 1
// VS
module B
let doStuff { Func1 = f1 } =
// f2 is not inscope here
f1 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment