BangBang.jl

Immutables as mutables, mutables as immutables.
Author JuliaFolds
Popularity
25 Stars
Updated Last
3 Months Ago
Started In
June 2019

BangBang

Stable Dev Build Status Codecov Coveralls Aqua QA GitHub commits since tagged version

BangBang.jl implements functions whose name ends with !!. Those functions provide a uniform interface for mutable and immutable data structures. Furthermore, those function implement the "widening" fallback for the case the usual mutating function does not work (e.g., push!!(Int[], 1.5) creates a new array Float64[1.5]).

See the supported functions in the documentation