Skip to content

Simplifying Arranged type #137

@ryzhyk

Description

@ryzhyk

In the past few days I've been working on code that manipulates sets of Arranged objects with different trace types (TraceAgent, TraceEnter, and TraceFilter). This has proved to be a major source of pain, e.g., I had to refactor my code just to prevent the compiler from failing because of types getting too complex. This is not a show stopper; I am sure I will be able to dance around these issues, but I was just wondering if there is a way to simplify the Arranged type by removing the trace type variable T from its signature, e.g., by converting Arranged.trace into a trace object.

As usual, I am speaking out of my ignorance here as I don't understand the code base well enough to grasp the implications of this change, but I guess there is no harm in asking...

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions