PlusPlus.jl

++ as array vcat and string concat
Author tlienart
Popularity
3 Stars
Updated Last
1 Year Ago
Started In
April 2020

PlusPlus

Small fun project stemming from this discussion on discourse

julia> using PlusPlus
julia> length(rand(5) ++ rand(7)) == 12
true

julia> "abc" ++ "def" == "abcdef"
true

julia> [1 2; 3 4] ++ [2 1]
3×2 Array{Int64,2}:
 1  2
 3  4
 2  1

Generally ++ is the same as vcat for anything numeric and the same as * for anything string or char.

Contributors

This package is effectively 3 LOC with 100% refactoring of said LOC by Cameron Bieganek.

Related

(unregistered) PlusPlus.jl by Patrick Kofod Mogensen.