We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a3a85b commit f0e28afCopy full SHA for f0e28af
1 file changed
src/FSharpPlus/Data/DList.fs
@@ -194,17 +194,11 @@ type DList<'T> (length: int, data: DListData<'T>) =
194
| Join (x, y) -> yield! walk (y::rights) x }
195
(walk [] data).GetEnumerator ()
196
197
- interface IEnumerable<'T> with
198
- member s.GetEnumerator () = s.toSeq ()
199
-
200
- interface IReadOnlyCollection<'T> with
201
- member s.Count = s.Length
202
203
interface IReadOnlyList<'T> with
204
member s.Item with get index = s.Item index
205
206
- interface System.Collections.IEnumerable with
207
- override s.GetEnumerator () = (s.toSeq () :> System.Collections.IEnumerator)
+ member s.Count = s.Length
+ member s.GetEnumerator () = s.toSeq ()
+ member s.GetEnumerator () = s.toSeq () :> System.Collections.IEnumerator
208
209
210
[<RequireQualifiedAccess>]
0 commit comments