Created
April 3, 2013 22:15
-
-
Save thinkbeforecoding/5305933 to your computer and use it in GitHub Desktop.
F# Statically resolved types
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
let inline count (counter: ^T) = | |
let value = (^T: (member Count : int) counter) | |
value |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment