You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
static member ``<*>`` (f:Lazy<'T->'U>,x:Lazy<'T>,[<Optional>]_output:Lazy<'U>,[<Optional>]_mthd:Apply)= Lazy.apply f x : Lazy<'U>
23
-
static member ``<*>`` (f:seq<_>,x:seq<'T>,[<Optional>]_output:seq<'U>,[<Optional>]_mthd:Apply)= Seq.apply f x : seq<'U>
24
-
static member ``<*>`` (f:NonEmptySeq<_>,x:NonEmptySeq<'T>,[<Optional>]_output:NonEmptySeq<'U>,[<Optional>]_mthd:Apply)= NonEmptySeq.apply f x : NonEmptySeq<'U>
22
+
static member ``<*>`` (f:seq<_>,x:seq<'T>,[<Optional>]_output:seq<'U>,[<Optional>]_mthd:Apply)= Seq.apply f x : seq<'U>
25
23
static member ``<*>`` (f:IEnumerator<_>,x:IEnumerator<'T>,[<Optional>]_output:IEnumerator<'U>,[<Optional>]_mthd:Apply)= Enumerator.map2 id f x : IEnumerator<'U>
26
24
static member ``<*>`` (f:list<_>,x:list<'T>,[<Optional>]_output:list<'U>,[<Optional>]_mthd:Apply)= List.apply f x : list<'U>
27
25
static member ``<*>`` (f:_ [],x:'T [],[<Optional>]_output:'U [],[<Optional>]_mthd:Apply)= Array.apply f x : 'U []
@@ -93,8 +91,7 @@ type Lift2 =
93
91
inherit Default1
94
92
95
93
static memberLift2(f,(x:Lazy<_>,y:Lazy<_>),_mthd:Lift2)= Lazy.map2 f x y
96
-
static memberLift2(f,(x:seq<_>,y:seq<_>),_mthd:Lift2)= Seq.lift2 f x y
97
-
static memberLift2(f,(x:NonEmptySeq<_>,y:NonEmptySeq<_>),_mthd:Lift2)= NonEmptySeq.lift2 f x y
94
+
static memberLift2(f,(x:seq<_>,y:seq<_>),_mthd:Lift2)= Seq.lift2 f x y
98
95
static memberLift2(f,(x:IEnumerator<_>,y:IEnumerator<_>),_mthd:Lift2)= Enumerator.map2 f x y
99
96
static memberLift2(f,(x ,y ),_mthd:Lift2)= List.lift2 f x y
100
97
static memberLift2(f,(x ,y ),_mthd:Lift2)= Array.lift2 f x y
@@ -140,8 +137,7 @@ type Lift3 =
140
137
inherit Default1
141
138
142
139
static memberLift3(f,(x:Lazy<_>,y:Lazy<_>,z:Lazy<_>),_mthd:Lift3)= Lazy.map3 f x y z
143
-
static memberLift3(f,(x:seq<_>,y:seq<_>,z:seq<_>),_mthd:Lift3)= Seq.lift3 f x y z
144
-
static memberLift3(f,(x:NonEmptySeq<_>,y:NonEmptySeq<_>,z:NonEmptySeq<_>),_mthd:Lift3)= NonEmptySeq.lift3 f x y z
140
+
static memberLift3(f,(x:seq<_>,y:seq<_>,z:seq<_>),_mthd:Lift3)= Seq.lift3 f x y z
145
141
static memberLift3(f,(x:IEnumerator<_>,y:IEnumerator<_>,z:IEnumerator<_>),_mthd:Lift3)= Enumerator.map3 f x y z
146
142
static memberLift3(f,(x ,y ,z ),_mthd:Lift3)= List.lift3 f x y z
147
143
static memberLift3(f,(x ,y ,z ),_mthd:Lift3)= Array.lift3 f x y z
static memberZip((x:IEnumerator<'T>,y:IEnumerator<'U>,_output:IEnumerator<'T*'U>),_mthd:Zip)= Enumerator.zip x y
207
-
static memberZip((x:seq<'T>,y:seq<'U>,_output:seq<'T*'U>),_mthd:Zip)= Seq.zip x y
208
-
static memberZip((x:NonEmptySeq<'T>,y:NonEmptySeq<'U>,_output:NonEmptySeq<'T*'U>),_mthd:Zip)= NonEmptySeq.zip x y
204
+
static memberZip((x:seq<'T>,y:seq<'U>,_output:seq<'T*'U>),_mthd:Zip)= Seq.zip x y
209
205
static memberZip((x:IDictionary<'K,'T>,y:IDictionary<'K,'U>,_output:IDictionary<'K,'T*'U>),_mthd:Zip)= Dict.zip x y
210
206
static memberZip((x:IReadOnlyDictionary<'K,'T>,y:IReadOnlyDictionary<'K,'U>,_output:IReadOnlyDictionary<'K,'T*'U>),_mthd:Zip)= IReadOnlyDictionary.zip x y
211
207
static memberZip((x:Dictionary<'K,'T>,y:Dictionary<'K,'U>,_output:Dictionary<'K,'T*'U>),_mthd:Zip)= Dict.zip x y :?> Dictionary<'K,'T*'U>
static memberTryWith(computation:unit ->'R ->_ ,catchHandler:exn ->'R ->_ ,_:Default2,_)=(fun s ->try(computation ()) s with e -> catchHandler e s): 'R ->_
static memberTryFinally((computation:unit ->seq<_>,compensation:unit ->unit),_:Default2,_,_)=seq{tryfor e in computation ()doyield e finally compensation ()}
267
-
static memberTryFinally((computation:unit ->NonEmptySeq<_>,compensation:unit ->unit),_:Default2,_,_)=seq{tryfor e in computation ()doyield e finally compensation ()}|> NonEmptySeq.unsafeOfSeq
static memberUsing(resource:'T when 'T :>IDisposable,body:'T ->seq<'U>,_:Using)=seq{tryfor e in body resource doyield e finallyifnot(isNull (box resource))then resource.Dispose ()}: seq<'U>
309
-
static memberUsing(resource:'T when 'T :>IDisposable,body:'T ->NonEmptySeq<'U>,_:Using)=seq{tryfor e in body resource doyield e finallyifnot(isNull (box resource))then resource.Dispose ()}|> NonEmptySeq.unsafeOfSeq : NonEmptySeq<'U>
310
300
static memberUsing(resource:'T when 'T :>IDisposable,body:'T ->'R ->'U ,_:Using )=(fun s ->try body resource s finallyifnot(isNull (box resource))then resource.Dispose ()): 'R->'U
311
301
static memberUsing(resource:'T when 'T :>IDisposable,body:'T ->Async<'U>,_:Using )= async.Using (resource, body)
Copy file name to clipboardexpand all lines: src/FSharpPlus/Control/Monoid.fs
-2
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,6 @@ open System.Runtime.InteropServices
8
8
openMicrosoft.FSharp.Quotations
9
9
openSystem.Threading.Tasks
10
10
openFSharpPlus
11
-
openFSharpPlus.Data
12
11
openFSharpPlus.Internals
13
12
openFSharpPlus.Internals.Prelude
14
13
@@ -156,7 +155,6 @@ type Plus with
156
155
#if!FABLE_COMPILER
157
156
static member inline ``+`` (x:IReadOnlyDictionary<'K,'V>,y:IReadOnlyDictionary<'K,'V>,[<Optional>]_mthd:Default3)= IReadOnlyDictionary.unionWith Plus.Invoke x y
158
157
#endif
159
-
static member inline ``+`` (x:_ NonEmptySeq ,y:_ NonEmptySeq ,[<Optional>]_mthd:Default3)= NonEmptySeq.append x y
0 commit comments