AlgebraicJulia / Catlab.jl

A framework for applied category theory in the Julia language
https://www.algebraicjulia.org
MIT License
599 stars 56 forks source link

Add missing SigmaMigrationFunctor constructors for DynamicACSets #882

Closed KevinDCarlson closed 5 months ago

KevinDCarlson commented 5 months ago

Add functionality and tests for building SigmaMigrationFunctors and yoneda embeddings with dynamic acsets. Before the methods of SigmaMigrationFunctor assumed that constructor(X) would be a Type for any acset X, but this is only true for StructACSets.

This caused a bug for @aaguinal today so might be worth a patch release, though it's an easy workaround.