Replace Primitive class with inspection #235
Labels
deferred_but_still_an_issue
enhancement
New feature or request
good first issue
Good for newcomers
minor
Something not critical that should be done at some point.
In #234, we introduced an optional class hierarchy for genetic programming primitives to allow a small optimization. But all these classes do is allow the arity of primitives to be queried.
@markcoletti points out that we could us reflection via
inspect
to access this information instead—eliminating the need for the class rappers.The text was updated successfully, but these errors were encountered: