AlgebraicJulia / AlgebraicJulia/Catlab.jl
FreePreorder should not use ObExpr and HomExpr
Ouverte
bug
- Langage dominant
- Julia
- Étoiles
- 724
- Forks
- 73
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
As Nate Osgood as shown over Zulip, making the symbolic model use a `HomExpr` comes with the assumption that the theory has `dom` and `codom` available (this gets used in the `show` method for the hom generators). This assumption is not valid for `ThPreorder` which has `lhs` and `rhs` as its accessors, so there is an error when trying to show them.
A possible solution is to just make the symbolic model use GATExprs.
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.