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
{{ message }}
Repository navigation
Commit ef6cf5f
Browse filesBrowse the repository at this point in the historyBrowse files
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
@@ -270,6 +270,18 @@ module Operators =
270
270
/// <categoryindex="2">Applicative</category>
271
271
let inlinemap3(f:'T->'U->'V->'W)(x:'``ZipApplicative<'T>``)(y:'``ZipApplicative<'U>``)(z:'``ZipApplicative<'V>``):'``ZipApplicative<'W>`` = Map3.Invoke f x y z
272
272
273
+
/// <summary>
274
+
/// Applies two applicatives left-to-right in a non-sequential way, discarding the value of the first argument.
275
+
/// </summary>
276
+
/// <categoryindex="2">Applicative</category>
277
+
let inline(.>)(x:'``ZipApplicative<'T>``)(y:'``ZipApplicative<'U>``):'``ZipApplicative<'U>`` =((fun(_: 'T)(k: 'U)-> k)<!> x : '``ZipApplicative<'U->'U>``)<.> y
278
+
279
+
/// <summary>
280
+
/// Applies two applicatives left-to-right in a non-sequential way, discarding the value of the second argument.
281
+
/// </summary>
282
+
/// <categoryindex="2">Applicative</category>
283
+
let inline(<.)(x: '``ZipApplicative<'U>``)(y: '``ZipApplicative<'T>``): '``ZipApplicative<'U>`` =((fun (k: 'U)(_: 'T)-> k )<!> x : '``ZipApplicative<'T->'U>``)<.>y
0 commit comments