We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d97c5eb commit 8309509Copy full SHA for 8309509
src/FSharpPlus/Operators.fs
@@ -55,6 +55,12 @@ module Operators =
55
/// <category index="0">Common Combinators</category>
56
let inline (/>) x = flip x
57
58
+ /// <summary>
59
+ /// Executes a side-effect function and returns the original input value. Same as 'tap' but with arguments flipped.
60
+ /// </summary>
61
+ /// <category index="0">Common Combinators</category>
62
+ let inline (|-) source ([<InlineIfLambda>]f: 'T -> unit) = f source; source
63
+
64
/// <summary>
65
/// Executes a side-effect function and returns the original input value.
66
/// </summary>
0 commit comments