You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@olynch and @kris-brown, I know that you have been motivated by Slice Categories as a driving example for categories as contexts approach. I was trying to implement contravariant functors on FinSet in Catlab and got stuck on how the OppositeCategory type works in Catlab.
If we had Categories as Contexts implemented, then when you do op(FinSet) you could get a new context that knows that morphisms should have the same type as in FinSet, but that composition of morphisms is just in the opposite order. With the current wrapper type implementation, if you want to implement FinSetOp, you would have to make wrapper types for OpFinFunction.
The text was updated successfully, but these errors were encountered:
@olynch and @kris-brown, I know that you have been motivated by Slice Categories as a driving example for categories as contexts approach. I was trying to implement contravariant functors on FinSet in Catlab and got stuck on how the OppositeCategory type works in Catlab.
If we had Categories as Contexts implemented, then when you do
op(FinSet)
you could get a new context that knows that morphisms should have the same type as in FinSet, but that composition of morphisms is just in the opposite order. With the current wrapper type implementation, if you want to implement FinSetOp, you would have to make wrapper types for OpFinFunction.The text was updated successfully, but these errors were encountered: