JuliaFolds / BangBang.jl

Immutables as mutables, mutables as immutables.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BangBang

Stable Dev Codecov 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 functions implement the "widening" fallback for the case when 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

About

Immutables as mutables, mutables as immutables.

License:MIT License


Languages

Language:Julia 100.0%