AlgebraicJulia / GATlab.jl

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

Repr replaces macros with LineNumberNodes #144

Open quffaro opened 4 months ago

quffaro commented 4 months ago

We overloaded Base.repr as part of an effort to document theories. However the @op macro is instead rendered as a LineNumberNode in the docstring.

It's desirable to have all content defined in the body of a theory be represented in the docstring.