Skip to content

Instantly share code, notes, and snippets.

@dbrattli
Last active October 16, 2018 18:25
Show Gist options
  • Save dbrattli/d8428b1c3ae4b9e79a12 to your computer and use it in GitHub Desktop.
Save dbrattli/d8428b1c3ae4b9e79a12 to your computer and use it in GitHub Desktop.
IEnumerable
type IDisposable =
abstract member Dispose: unit -> unit
type IEnumerator<'a> =
inherit IDisposable
abstract member Current : 'a with get
abstract member MoveNext : unit -> bool
abstract member Reset : unit -> unit
type IEnumerable<'a> =
abstract member GetEnumerator : unit -> IEnumerator<'a>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment