0 people like it.

foo

1: 
2: 
3: 
4: 
5: 
6: 
7: 
type IFoobar =
  member ConvertToBar : string -> unit

type MyFoobar () =
  let converter = fun s -> ()
  interface IFoobar with
    member this.ConvertToBar = converter
Multiple items
val string : value:'T -> string

Full name: Microsoft.FSharp.Core.Operators.string

--------------------
type string = System.String

Full name: Microsoft.FSharp.Core.string
type unit = Unit

Full name: Microsoft.FSharp.Core.unit
Multiple items
type MyFoobar =
  interface IFoobar
  new : unit -> MyFoobar
  override ConvertToBar : (obj -> unit)

Full name: Script.MyFoobar

--------------------
new : unit -> MyFoobar
val converter : ('a -> unit)
val s : 'a
type IFoobar

Full name: Script.IFoobar
val this : MyFoobar
override MyFoobar.ConvertToBar : (obj -> unit)

Full name: Script.MyFoobar.ConvertToBar
Raw view Test code New version

More information

Link:http://fssnip.net/7g
Posted:14 years ago
Author:
Tags: