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
Maybe our faux constructors can actually create types:
e.g. Polytope{Rational}(...) could create BigObject{Polytope{Rational}}
this way we could leverage dispatch for auto-generated functions (and their docs).
Right now e.g. polytope.dim function is created three times (with the same signature, so we don't see warnings) and docs are overwritten, so we need to do hacks like this:
can we we see the hierarchy somehow in json?
these three definitions for dim would cover that without the necessity of duplicating the hierarchy, but maybe that will probably only work for methods....
Maybe our faux constructors can actually create types:
e.g.
Polytope{Rational}(...)
could createBigObject{Polytope{Rational}}
this way we could leverage dispatch for auto-generated functions (and their docs).
Right now e.g.
polytope.dim
function is created three times (with the same signature, so we don't see warnings) and docs are overwritten, so we need to do hacks like this:Polymake.jl/src/meta.jl
Line 189 in 2c5910f
The text was updated successfully, but these errors were encountered: