AlgebraicJulia / AlgebraicJulia/Catlab.jl

FreePreorder should not use ObExpr and HomExpr

未關閉
#979 0 則留言 0 個 reaction 已指派 1 人 已被 @kris-brown 認領 在 GitHub 檢視
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 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。