Created
May 10, 2016 07:18
-
-
Save shrutis360/d191f5a85426e6e6e659c7dba975bb33 to your computer and use it in GitHub Desktop.
This file contains 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
> | |
F# Interactive for F# 4.0 (Open Source Edition) | |
Freely distributed under the Apache 2.0 Open Source License | |
For help type #help;; | |
> type I<'t> = | |
abstract W : 't -> unit | |
;; | |
type S () = | |
interface I<char> with | |
member __.W (v : char) = () | |
;; | |
type I<'t> = | |
interface | |
abstract member W : 't -> unit | |
end | |
> type S = | |
class | |
interface I<char> | |
new : unit -> S | |
end | |
> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment