Skip to content

rafaqz/Accessors.jl

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Accessors

DocStable DocDev CI

The goal of Accessors.jl is to make updating immutable data simple. It is the successor of Setfield.jl.

Warning

Accessors.jl is currently in an experimental stage. We may introduce breaking changes without clear deprecation path. For a more stable package we recommend Setfield.jl.

Usage

Updating immutable data was never easier:

using Accessors
@set obj.a.b.c = d

To get started, see this tutorial and/or watch this video:

JuliaCon2020 Changing the immutable

About

Update immutable data

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Julia 100.0%