Skip to content

Next steps for wider adoption #5

@milesfrain

Description

@milesfrain

This Slack discussion outlines some ideas of what may be required for this library to gain wider adoption. Compiler support may be required.

unfortunately it seems like it'll take some time for something like this to percolate through the library ecosystem though, no?
given that we can't have orphan instances, so everything needs to come pre-equipped with it, or the library needs to be forked

Yeah, that’s the main obstacle

If we adopt Debug, I think it's important to have compiler deriving for it. (Maybe even special rules for allowing orphan instances)

We can derive Debug via Generic with relatively little ceremony already

I'd like to make sure we can reliably omit Debug instances from production bundles... That also means to not have any of the Generic instances that solely exist to implement Debug
I fear relying on DCE after the fact will be brittle
Maybe I'm overthinking it..

Ah I see
I think DCE is smart enough to do that already, but I’m not certain
At least purs bundle ought to be

Basically I'd like to avoid the situation where I need to add 5 instances before I can start debugging something, only to then have to delete those again
having Debug instances for everything ought to be the default, so we need to make sure it's "free"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions