JuliaFolds2 / BangBang.jl

Immutables as mutables, mutables as immutables.

Home Page:https://juliafolds2.github.io/BangBang.jl/dev/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BangBang

Stable Dev Codecov Aqua QA GitHub commits since latest release (branch)

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.

https://juliafolds2.github.io/BangBang.jl/dev/

License:MIT License


Languages

Language:Julia 100.0%