AlgebraicJulia / GATlab.jl

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

Syntax for using pushouts #12

Closed olynch closed 1 year ago

olynch commented 1 year ago

This PR adds using syntax for constructing theories; see Algebras.jl for example usage.

The semantics for this are slightly janky. We assume that each theory that we include with using has the parent theory (i.e., when ThRing <: ThSet is the head of the theory, then ThSet is the parent) as a prefix.

We should later support more general theory inclusions.