Closed gabrielhdt closed 1 year ago
I also ran ormolu on the resulting file, which increases the diff. Let me know if someone prefers a minimised diff.
Looking good, but I'd like to hold off on changing the API until we're sure of what we want.
Also, do you have any thoughts on whether Handle polymorphism should be used here as well ?
I agree we proabably don't need polymorphism in our case. I propose to close the pull request for now, and we'll reopen it when we discuss the API.
This PR proposes to implement the "Handle" design pattern.