Commit b6a094a 1 parent 617c009 commit b6a094a Copy full SHA for b6a094a
File tree 1 file changed +3
-1
lines changed
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,9 @@ type Iterate =
22
22
static member Iterate ( x : Lazy < 'T > , action ) = action x.Value : unit
23
23
static member Iterate ( x : seq < 'T > , action ) = Seq.iter action x
24
24
static member Iterate ( x : option < 'T > , action ) = Option.iter action x
25
+ #if ! NET45 && ! FABLE_ COMPILER_ 3
25
26
static member Iterate ( x : voption < 'T >, action ) = ValueOption.iter action x
27
+ #endif
26
28
static member Iterate ( x : list < 'T > , action ) = List.iter action x
27
29
static member Iterate (( _ : 'W , a : 'T ), action ) = action a : unit
28
30
static member Iterate ( x : 'T [] , action ) = Array.iter action x
@@ -42,7 +44,7 @@ type Iterate =
42
44
static member Iterate ( x : Async < 'T > , action : 'T -> unit ) = ( x |> Async.map action |> Async.AsTask) .Wait ()
43
45
#endif
44
46
static member Iterate ( x : Result < 'T , 'E > , action ) =
45
- #if ! NET45
47
+ #if ! NET45 && ! FABLE _ COMPILER _ 3
46
48
Result.iter action x
47
49
#else
48
50
match x with
You can’t perform that action at this time.
0 commit comments