AlgebraicJulia / GATlab.jl

GATlab: a computer algebra system based on generalized algebraic theories (GATs)
https://algebraicjulia.github.io/GATlab.jl/
MIT License
23 stars 2 forks source link

Nullary operations in default instances #98

Closed olynch closed 11 months ago

olynch commented 11 months ago

The support in GATlab for passing around specific models neatly solves the problem of nullary operations that we had in Catlab, because now munit() can be disambiguated. However, this problem remains for "default instances"; we need to support the workaround Catlab used to use, which is passing the return type as the first argument.