AlgebraicJulia / GATlab.jl

GATlab: a computer algebra system based on generalized algebraic theories (GATs)
https://algebraicjulia.github.io/GATlab.jl/
MIT License
23 stars 2 forks source link

Scaffolding for serialization of instances #61

Open epatters opened 1 year ago

epatters commented 1 year ago

Gatlab should provide scaffolding to simplify the seralization of instances of GATs. For example, when deserializing a morphism in a category, the domain and codomain objects should be deserialized first, and then these should be available when deserializing the data of the morphism itself. This logic is independent of the details or even the format of the serialization.