Skip to content

Instantly share code, notes, and snippets.

@shrutis360
Created May 10, 2016 07: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 shrutis360/d191f5a85426e6e6e659c7dba975bb33 to your computer and use it in GitHub Desktop.
Save shrutis360/d191f5a85426e6e6e659c7dba975bb33 to your computer and use it in GitHub Desktop.
>
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