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/Operators.fs
+28Lines changed: 28 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -256,6 +256,34 @@ module Operators =
256
256
/// <categoryindex="2">Applicative</category>
257
257
let inlinemap3(f:'T->'U->'V->'W)(x:'``ZipApplicative<'T>``)(y:'``ZipApplicative<'U>``)(z:'``ZipApplicative<'V>``):'``ZipApplicative<'W>`` = Map3.Invoke f x y z
258
258
259
+
/// <summary>
260
+
/// Applies 2 lifted arguments to a non-lifted function with pointwise and/or parallel semantics.
261
+
/// Operator version of 'map2'.
262
+
/// </summary>
263
+
/// <categoryindex="2">Applicative</category>
264
+
let inline(<<||)(f:'T->'U->'V)(x:'``ZipApplicative<'T>``, y: '``ZipApplicative<'U>``):'``ZipApplicative<'V>`` = Map2.Invoke f x y
265
+
266
+
/// <summary>
267
+
/// Applies 2 lifted arguments to a non-lifted function with pointwise and/or parallel semantics.
268
+
/// Operator version of 'map2' but with arguments flipped.
269
+
/// </summary>
270
+
/// <categoryindex="2">Applicative</category>
271
+
let inline(||>>)(x:'``ZipApplicative<'T>``, y: '``ZipApplicative<'U>``)(f:'T->'U->'V):'``ZipApplicative<'V>`` = Map2.Invoke f x y
272
+
273
+
/// <summary>
274
+
/// Applies 3 lifted arguments to a non-lifted function with pointwise and/or parallel semantics.
275
+
/// Operator version of 'map3'.
276
+
/// </summary>
277
+
/// <categoryindex="2">Applicative</category>
278
+
let inline(<<|||)(f:'T->'U->'V->'W)(x:'``ZipApplicative<'T>``, y: '``ZipApplicative<'U>``,z:'``ZipApplicative<'V>``):'``ZipApplicative<'W>`` = Map3.Invoke f x y z
279
+
280
+
/// <summary>
281
+
/// Applies 3 lifted arguments to a non-lifted function with pointwise and/or parallel semantics.
282
+
/// Operator version of 'map3' but with arguments flipped.
283
+
/// </summary>
284
+
/// <categoryindex="2">Applicative</category>
285
+
let inline(|||>>)(x:'``ZipApplicative<'T>``, y: '``ZipApplicative<'U>``,z:'``ZipApplicative<'V>``)(f:'T->'U->'V->'W):'``ZipApplicative<'W>`` = Map3.Invoke f x y z
0 commit comments