jw3126 / Setfield.jl
Licence: other
Update deeply nested immutable structs.
Stars: ✭ 90
Programming Languages
julia
2034 projects
Projects that are alternatives of or similar to Setfield.jl
Optics Ts
Type-safe, ergonomic, polymorphic optics for TypeScript
Stars: ✭ 132 (+46.67%)
Mutual labels: immutable, lens
optic
An Erlang/OTP library for reading and updating deeply nested immutable data.
Stars: ✭ 34 (-62.22%)
Mutual labels: immutable, lens
Python Lenses
A python lens library for manipulating deeply nested immutable structures
Stars: ✭ 179 (+98.89%)
Mutual labels: immutable, lens
Partial.lenses
Partial lenses is a comprehensive, high-performance optics library for JavaScript
Stars: ✭ 846 (+840%)
Mutual labels: immutable, lens
Immutable Array Prototype
A collection of Immutable Array prototype methods(Per method packages).
Stars: ✭ 56 (-37.78%)
Mutual labels: immutable
Lensfunpy
📷 Lens distortion correction for Python, a wrapper for lensfun
Stars: ✭ 83 (-7.78%)
Mutual labels: lens
Steamvr Undistort
SteamVR lens distortion adjustment utility for spherical lenses
Stars: ✭ 33 (-63.33%)
Mutual labels: lens
Immutable Tuple
Immutable finite list objects with constant-time equality testing (===) and no memory leaks.
Stars: ✭ 29 (-67.78%)
Mutual labels: immutable
Js Joda
🕑 Immutable date and time library for javascript
Stars: ✭ 1,298 (+1342.22%)
Mutual labels: immutable
Freezer
A tree data structure that emits events on updates, even if the modification is triggered by one of the leaves, making it easier to think in a reactive way.
Stars: ✭ 1,268 (+1308.89%)
Mutual labels: immutable
Pfun
Functional, composable, asynchronous, type-safe Python.
Stars: ✭ 75 (-16.67%)
Mutual labels: immutable
Immutable Xjc
immutable-xjc is a JAXB 2.0 XJC plugin for making schema derived classes immutable with optional builder pattern generator.
Stars: ✭ 57 (-36.67%)
Mutual labels: immutable
Terminusdb
Open source graph database and document store. Designed for collaboratively building data-intensive applications and knowledge graphs.
Stars: ✭ 1,250 (+1288.89%)
Mutual labels: immutable
Immutable Styles
A library for styling web interfaces with a focus on predictability and robustness. It uses immutability to remove side effects often tied to CSS, allowing UI bugs to be caught ahead of time!
Stars: ✭ 69 (-23.33%)
Mutual labels: immutable
Ef S Adapter
https://twitter.com/JanHenrikH/status/1317520812761546753
Stars: ✭ 69 (-23.33%)
Mutual labels: lens
Setfield
Update deeply nested immutable structs.
Lifecycle
We plan to maintain Setfield.jl
for a long time (written 2020-09-21). We will however not add new features. For an experimental stage
successor, see Accessors.jl.
Usage
Updating deeply nested immutable structs was never easier:
using Setfield
@set obj.a.b.c = d
For more information, see the documentation and/or watch this video:
Some creative usages of Setfield
-
VegaLite.jl overloads
getproperty
and lens API to manipulate JSON-based nested objects. -
Kaleido.jl is a library of additional lenses.
-
PhaseSpaceIO.jl overloads
getproperty
andsetproperties
to get/set values from/in packed bits.
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].