Skip to content

tlienart/PlusPlus.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

++ as array vcat and string concat

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages