Closed kris-brown closed 1 year ago
inspiration from https://github.com/AlgebraicJulia/Catlab.jl/pull/599
Not required for this PR, but if you have a spare moment it would be great to reimplement #599 along these lines since that PR has been stale for a while.
It can be very helpful when debugging to see why an ACSet transformation is unnatural. When the keyword
debug
is set to true, a list of violations is is returned. (This is type unstable, butis_natural
shouldn't be used in a hot loop, anyways).