Skip to content

Commit

Permalink
add compat note for Splat (#45643)
Browse files Browse the repository at this point in the history
  • Loading branch information
mcabbott authored Jun 11, 2022
1 parent 688a7d3 commit 329fd49
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions base/operators.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1200,6 +1200,9 @@ its argument into the original function. This is useful as an adaptor to pass
a multi-argument function in a context that expects a single argument, but
passes a tuple as that single argument. Additionally has pretty printing.
!!! compat "Julia 1.9"
This function was introduced in Julia 1.9, replacing `Base.splat(f)`.
# Example usage:
```jldoctest
julia> map(Base.Splat(+), zip(1:3,4:6))
Expand Down

0 comments on commit 329fd49

Please sign in to comment.