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
Copy file name to clipboardExpand all lines: src/FSharpPlus/Control/Applicative.fs
+3-8Lines changed: 3 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,6 @@ open Microsoft.FSharp.Quotations
8
8
9
9
openFSharpPlus.Internals
10
10
openFSharpPlus
11
-
openFSharpPlus.Data
12
11
13
12
14
13
typeApply=
@@ -18,7 +17,6 @@ type Apply =
18
17
19
18
static member ``<*>`` (struct(f:Lazy<'T->'U>,x:Lazy<'T>),_output:Lazy<'U>,[<Optional>]_mthd:Apply)= Lazy.apply f x : Lazy<'U>
20
19
static member ``<*>`` (struct(f:seq<_>,x:seq<'T>),_output:seq<'U>,[<Optional>]_mthd:Apply)= Seq.apply f x : seq<'U>
21
-
static member ``<*>`` (struct(f:NonEmptySeq<_>,x:NonEmptySeq<'T>),_output:NonEmptySeq<'U>,[<Optional>]_mthd:Apply)= NonEmptySeq.apply f x : NonEmptySeq<'U>
22
20
static member ``<*>`` (struct(f:IEnumerator<_>,x:IEnumerator<'T>),_output:IEnumerator<'U>,[<Optional>]_mthd:Apply)= Enumerator.map2 id f x : IEnumerator<'U>
23
21
static member ``<*>`` (struct(f:list<_>,x:list<'T>),_output:list<'U>,[<Optional>]_mthd:Apply)= List.apply f x : list<'U>
24
22
static member ``<*>`` (struct(f:_ [],x:'T []),_output:'U [],[<Optional>]_mthd:Apply)= Array.apply f x : 'U []
@@ -101,8 +99,7 @@ type Lift2 =
101
99
inherit Default1
102
100
103
101
static memberLift2(f,(x:Lazy<_>,y:Lazy<_>),_mthd:Lift2)= Lazy.map2 f x y
104
-
static memberLift2(f,(x:seq<_>,y:seq<_>),_mthd:Lift2)= Seq.lift2 f x y
105
-
static memberLift2(f,(x:NonEmptySeq<_>,y:NonEmptySeq<_>),_mthd:Lift2)= NonEmptySeq.lift2 f x y
102
+
static memberLift2(f,(x:seq<_>,y:seq<_>),_mthd:Lift2)= Seq.lift2 f x y
106
103
static memberLift2(f,(x:IEnumerator<_>,y:IEnumerator<_>),_mthd:Lift2)= Enumerator.map2 f x y
107
104
static memberLift2(f,(x ,y ),_mthd:Lift2)= List.lift2 f x y
108
105
static memberLift2(f,(x ,y ),_mthd:Lift2)= Array.lift2 f x y
@@ -150,8 +147,7 @@ type Lift3 =
150
147
inherit Default1
151
148
152
149
static memberLift3(f,(x:Lazy<_>,y:Lazy<_>,z:Lazy<_>),_mthd:Lift3)= Lazy.map3 f x y z
153
-
static memberLift3(f,(x:seq<_>,y:seq<_>,z:seq<_>),_mthd:Lift3)= Seq.lift3 f x y z
154
-
static memberLift3(f,(x:NonEmptySeq<_>,y:NonEmptySeq<_>,z:NonEmptySeq<_>),_mthd:Lift3)= NonEmptySeq.lift3 f x y z
150
+
static memberLift3(f,(x:seq<_>,y:seq<_>,z:seq<_>),_mthd:Lift3)= Seq.lift3 f x y z
155
151
static memberLift3(f,(x:IEnumerator<_>,y:IEnumerator<_>,z:IEnumerator<_>),_mthd:Lift3)= Enumerator.map3 f x y z
156
152
static memberLift3(f,(x ,y ,z ),_mthd:Lift3)= List.lift3 f x y z
157
153
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
212
-
static memberZip((x:seq<'T>,y:seq<'U>,_output:seq<'T*'U>),_mthd:Zip)= Seq.zip x y
213
-
static memberZip((x:NonEmptySeq<'T>,y:NonEmptySeq<'U>,_output:NonEmptySeq<'T*'U>),_mthd:Zip)= NonEmptySeq.zip x y
209
+
static memberZip((x:seq<'T>,y:seq<'U>,_output:seq<'T*'U>),_mthd:Zip)= Seq.zip x y
214
210
static memberZip((x:IDictionary<'K,'T>,y:IDictionary<'K,'U>,_output:IDictionary<'K,'T*'U>),_mthd:Zip)= Dict.zip x y
215
211
static memberZip((x:IReadOnlyDictionary<'K,'T>,y:IReadOnlyDictionary<'K,'U>,_output:IReadOnlyDictionary<'K,'T*'U>),_mthd:Zip)= IReadOnlyDictionary.zip x y
216
212
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 ()}
300
-
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>
342
-
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>
343
333
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
344
334
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
-2Lines changed: 0 additions & 2 deletions
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