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
@@ -268,6 +268,34 @@ module Operators =
268
268
/// <category index="2">Applicative</category>
269
269
let inlinemap3(f:'T->'U->'V->'W)(x:'``ZipApplicative<'T>``)(y:'``ZipApplicative<'U>``)(z:'``ZipApplicative<'V>``):'``ZipApplicative<'W>`` = Map3.Invoke f x y z
270
270
271
+
/// <summary>
272
+
/// Applies 2 lifted arguments to a non-lifted function with pointwise and/or parallel semantics.
273
+
/// Operator version of 'map2'.
274
+
/// </summary>
275
+
/// <category index="2">Applicative</category>
276
+
let inline(<<||)(f:'T->'U->'V)(x:'``ZipApplicative<'T>``, y: '``ZipApplicative<'U>``):'``ZipApplicative<'V>`` = Map2.Invoke f x y
277
+
278
+
/// <summary>
279
+
/// Applies 2 lifted arguments to a non-lifted function with pointwise and/or parallel semantics.
280
+
/// Operator version of 'map2' but with arguments flipped.
281
+
/// </summary>
282
+
/// <category index="2">Applicative</category>
283
+
let inline(||>>)(x:'``ZipApplicative<'T>``, y: '``ZipApplicative<'U>``)(f:'T->'U->'V):'``ZipApplicative<'V>`` = Map2.Invoke f x y
284
+
285
+
/// <summary>
286
+
/// Applies 3 lifted arguments to a non-lifted function with pointwise and/or parallel semantics.
287
+
/// Operator version of 'map3'.
288
+
/// </summary>
289
+
/// <category index="2">Applicative</category>
290
+
let inline(<<|||)(f:'T->'U->'V->'W)(x:'``ZipApplicative<'T>``, y: '``ZipApplicative<'U>``,z:'``ZipApplicative<'V>``):'``ZipApplicative<'W>`` = Map3.Invoke f x y z
291
+
292
+
/// <summary>
293
+
/// Applies 3 lifted arguments to a non-lifted function with pointwise and/or parallel semantics.
294
+
/// Operator version of 'map3' but with arguments flipped.
295
+
/// </summary>
296
+
/// <category index="2">Applicative</category>
297
+
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