Skip to content

Commit 329fd49

Browse files
authored
add compat note for Splat (#45643)
1 parent 688a7d3 commit 329fd49

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

base/operators.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1200,6 +1200,9 @@ its argument into the original function. This is useful as an adaptor to pass
12001200
a multi-argument function in a context that expects a single argument, but
12011201
passes a tuple as that single argument. Additionally has pretty printing.
12021202
1203+
!!! compat "Julia 1.9"
1204+
This function was introduced in Julia 1.9, replacing `Base.splat(f)`.
1205+
12031206
# Example usage:
12041207
```jldoctest
12051208
julia> map(Base.Splat(+), zip(1:3,4:6))

0 commit comments

Comments
 (0)