File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,9 @@ type Iterate =
2222 static member Iterate ( x : Lazy < 'T > , action ) = action x.Value : unit
2323 static member Iterate ( x : seq < 'T > , action ) = Seq.iter action x
2424 static member Iterate ( x : option < 'T > , action ) = Option.iter action x
25+ #if ! NET45 && ! FABLE_ COMPILER_ 3
2526 static member Iterate ( x : voption < 'T >, action ) = ValueOption.iter action x
27+ #endif
2628 static member Iterate ( x : list < 'T > , action ) = List.iter action x
2729 static member Iterate (( _ : 'W , a : 'T ), action ) = action a : unit
2830 static member Iterate ( x : 'T [] , action ) = Array.iter action x
@@ -42,7 +44,7 @@ type Iterate =
4244 static member Iterate ( x : Async < 'T > , action : 'T -> unit ) = ( x |> Async.map action |> Async.AsTask) .Wait ()
4345 #endif
4446 static member Iterate ( x : Result < 'T , 'E > , action ) =
45- #if ! NET45
47+ #if ! NET45 && ! FABLE _ COMPILER _ 3
4648 Result.iter action x
4749 #else
4850 match x with
You can’t perform that action at this time.
0 commit comments