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
+12Lines changed: 12 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -268,6 +268,18 @@ module Operators =
268
268
/// <categoryindex="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 two applicatives left-to-right in a non-sequential way, discarding the value of the first argument.
273
+
/// </summary>
274
+
/// <categoryindex="2">Applicative</category>
275
+
let inline(.>)(x:'``ZipApplicative<'T>``)(y:'``ZipApplicative<'U>``):'``ZipApplicative<'U>`` =((fun(_: 'T)(k: 'U)-> k)<!> x : '``ZipApplicative<'U->'U>``)<.> y
276
+
277
+
/// <summary>
278
+
/// Applies two applicatives left-to-right in a non-sequential way, discarding the value of the second argument.
279
+
/// </summary>
280
+
/// <categoryindex="2">Applicative</category>
281
+
let inline(<.)(x: '``ZipApplicative<'U>``)(y: '``ZipApplicative<'T>``): '``ZipApplicative<'U>`` =((fun (k: 'U)(_: 'T)-> k )<!> x : '``ZipApplicative<'T->'U>``)<.>y
0 commit comments