Created
January 20, 2016 20:50
-
-
Save chamook/aa1ff89dc46528d54f5e to your computer and use it in GitHub Desktop.
A class defined in F# can expect an FSharpFunc as a dependency
This file contains hidden or 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
| type SomeClassWithADependency (funcThing : string -> string) = | |
| member x.DoThing(s) = funcThing s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment