Julia 中文文档concatenates them. """ function *(x::AbstractString, y::AbstractString, z::AbstractString...) # ... [insert secret sauce here] ... end help?> * search: * .* *(x, y, z...) Multiplication operator. x * at parse time. For example, @static Sys.iswindows() ? foo : bar will evaluate Sys.iswindows() and insert either foo or bar into the expression. This is useful in cases where a construct would be invalid CHAPTER 42. 集合和数据结构 42.8 双端队列 Base.push! – Function. push!(collection, items...) -> collection Insert one or more items at the end of collection. Examples julia> push!([1, 2, 3], 4, 5, 6) 6-element0 码力 | 1238 页 | 4.59 MB | 1 年前3
julia 1.10.10to return the value of x in case of an error: try bad() catch x end Instead, use a semicolon or insert a line break after catch: try bad() catch; x end try bad() catch x end The power of the try/catch idea for complex functions with many arguments (in particular keyword arguments). In that case, insert it after the general description of the function, under an # Arguments header, with one - bullet concatenates them. """ function *(x::AbstractString, y::AbstractString, z::AbstractString...) # ... [insert secret sauce here] ... end help?> * search: * .* *(x, y, z...) Multiplication operator. x *0 码力 | 1692 页 | 6.34 MB | 3 月前3
Julia 1.10.9to return the value of x in case of an error: try bad() catch x end Instead, use a semicolon or insert a line break after catch: try bad() catch; x end try bad() catch x end The power of the try/catch idea for complex functions with many arguments (in particular keyword arguments). In that case, insert it after the general description of the function, under an # Arguments header, with one - bullet concatenates them. """ function *(x::AbstractString, y::AbstractString, z::AbstractString...) # ... [insert secret sauce here] ... end help?> * search: * .* *(x, y, z...) Multiplication operator. x *0 码力 | 1692 页 | 6.34 MB | 3 月前3
Julia v1.6.6 Documentationto return the value of x in case of an error: try bad() catch x end Instead, use a semicolon or insert a line break after catch: try bad() catch; x end try bad() catch x end The power of the try/catch idea for complex functions with many arguments (in particular keyword arguments). In that case, insert it after the general description of the function, under an # Arguments header, with one - bullet concatenates them. """ function *(x::AbstractString, y::AbstractString, z::AbstractString...) # ... [insert secret sauce here] ... end help?> * search: * .* *(x, y, z...) Multiplication operator. x *0 码力 | 1324 页 | 4.54 MB | 1 年前3
Julia 1.6.5 Documentationto return the value of x in case of an error: try bad() catch x end Instead, use a semicolon or insert a line break after catch: try bad() catch; x end try bad() catch x end The power of the try/catch idea for complex functions with many arguments (in particular keyword arguments). In that case, insert it after the general description of the function, under an # Arguments header, with one - bullet concatenates them. """ function *(x::AbstractString, y::AbstractString, z::AbstractString...) # ... [insert secret sauce here] ... end help?> * search: * .* *(x, y, z...) Multiplication operator. x *0 码力 | 1325 页 | 4.54 MB | 1 年前3
Julia 1.6.7 Documentationto return the value of x in case of an error: try bad() catch x end Instead, use a semicolon or insert a line break after catch: try bad() catch; x end try bad() catch x end The power of the try/catch idea for complex functions with many arguments (in particular keyword arguments). In that case, insert it after the general description of the function, under an # Arguments header, with one - bullet concatenates them. """ function *(x::AbstractString, y::AbstractString, z::AbstractString...) # ... [insert secret sauce here] ... end help?> * search: * .* *(x, y, z...) Multiplication operator. x *0 码力 | 1324 页 | 4.54 MB | 1 年前3
Julia 1.6.1 Documentationto return the value of x in case of an error: try bad() catch x end Instead, use a semicolon or insert a line break after catch: try bad() catch; x end try bad() catch x end The power of the try/catch idea for complex functions with many arguments (in particular keyword arguments). In that case, insert it after the general description of the function, under an # Arguments header, with one - bullet concatenates them. """ function *(x::AbstractString, y::AbstractString, z::AbstractString...) # ... [insert secret sauce here] ... end help?> * search: * .* *(x, y, z...) Multiplication operator. x *0 码力 | 1397 页 | 4.59 MB | 1 年前3
Julia 1.6.4 Documentationto return the value of x in case of an error: try bad() catch x end Instead, use a semicolon or insert a line break after catch: try bad() catch; x end try bad() catch x end The power of the try/catch idea for complex functions with many arguments (in particular keyword arguments). In that case, insert it after the general description of the function, under an # Arguments header, with one - bullet concatenates them. """ function *(x::AbstractString, y::AbstractString, z::AbstractString...) # ... [insert secret sauce here] ... end help?> * search: * .* *(x, y, z...) Multiplication operator. x *0 码力 | 1324 页 | 4.54 MB | 1 年前3
Julia 1.7.0 DEV Documentationto return the value of x in case of an error: try bad() catch x end Instead, use a semicolon or insert a line break after catch: try bad() catch; x end try bad() catch x end The power of the try/catch idea for complex functions with many arguments (in particular keyword arguments). In that case, insert it after the general description of the function, under an # Arguments header, with one - bullet concatenates them. """ function *(x::AbstractString, y::AbstractString, z::AbstractString...) # ... [insert secret sauce here] ... end help?> * search: * .* *(x, y, z...) Multiplication operator. x *0 码力 | 1399 页 | 4.59 MB | 1 年前3
Julia 1.6.0 DEV Documentationto return the value of x in case of an error: try bad() catch x end Instead, use a semicolon or insert a line break after catch: try bad() catch; x end try bad() catch x end The power of the try/catch idea for complex functions with many arguments (in particular keyword arguments). In that case, insert it after the general description of the function, under an # Arguments header, with one - bullet concatenates them. """ function *(x::AbstractString, y::AbstractString, z::AbstractString...) # ... [insert secret sauce here] ... end help?> * search: * .* *(x, y, z...) Multiplication operator. x *0 码力 | 1383 页 | 4.56 MB | 1 年前3
共 87 条
- 1
- 2
- 3
- 4
- 5
- 6
- 9













