AlgebraicJulia / AlgebraicJulia/Catlab.jl
Dict vs NamedTuple in DynamicACSetTransformations
Aperta
acsets
cleanup
- Lingua principale
- Julia
- Stelle
- 724
- Fork
- 73
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
DynamicACSetTransformations (Tight and Loose) currently use NamedTuples to store their components, but the spirit of Dynamic data structures is to not have data in the types, so these fields ought use `AbstractDict{Symbol}` instead. This requires some changes elsewhere in the code, such as `compose`, where small changes should be made to make code generic w/r/t Dicts vs NamedTuples (e.g. use `mapvalues(f,comp1,comp2)` rather than `map(f,comp1,comp2)`).
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.