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
@@ -258,6 +258,18 @@ module Operators =
258
258
/// <categoryindex="2">Applicative</category>
259
259
let inlinemap3(f:'T->'U->'V->'W)(x:'``ZipApplicative<'T>``)(y:'``ZipApplicative<'U>``)(z:'``ZipApplicative<'V>``):'``ZipApplicative<'W>`` = Map3.Invoke f x y z
260
260
261
+
/// <summary>
262
+
/// Applies two applicatives left-to-right in a non-sequential way, discarding the value of the first argument.
263
+
/// </summary>
264
+
/// <categoryindex="2">Applicative</category>
265
+
let inline(.>)(x:'``Applicative<'T>``)(y:'``Applicative<'U>``):'``Applicative<'U>`` =((fun(_: 'T)(k: 'U)-> k)<!> x : '``Applicative<'U->'U>``)<.> y
266
+
267
+
/// <summary>
268
+
/// Applies two applicatives left-to-right in a non-sequential way, discarding the value of the second argument.
269
+
/// </summary>
270
+
/// <categoryindex="2">Applicative</category>
271
+
let inline(<.)(x: '``Applicative<'U>``)(y: '``Applicative<'T>``): '``Applicative<'U>`` =((fun (k: 'U)(_: 'T)-> k )<!> x : '``Applicative<'T->'U>``)<.>y
0 commit comments