We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6d3eb1 commit cc263ecCopy full SHA for cc263ec
src/FSharpPlus/Data/DList.fs
@@ -267,7 +267,7 @@ module DList =
267
268
/// Returns a list of the DList elements.
269
let toList (source: DList<'T>) =
270
- #if FABLE_COMPILER
+ #if FABLE_COMPILER || NET45
271
DList<'T>.foldBack List.cons source []
272
#else
273
let mutable coll = new ListCollector<_> ()
@@ -277,7 +277,7 @@ module DList =
277
278
/// Returns an array of the DList elements.
279
let toArray (source: DList<'T>) =
280
281
source :> seq<'T> |> Seq.toArray
282
283
let mutable coll = new ArrayCollector<_> ()
0 commit comments