AlgebraicJulia / AlgebraicJulia/Catlab.jl
FreePreorder should not use ObExpr and HomExpr
未關閉
bug
- 主要語言
- Julia
- 星號
- 724
- 分支
- 73
- PR 合併指標
- 30 天內沒有已合併 PR
描述
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.
貢獻指南
評估
這個 Issue 還沒有評估資料。