Thoughts on API Design for Dependently-Typed Languages
API design is an important aspect of Library Design.
Having programmed, for what seems like an age, on personal-ish projects I often do not give this much thought:
I don’t have users.
Recently, however, I had a lightbulb type moment when constructing a module for checking that graphs have a certain structural properties.
Now I do not think this moment is special, unique, or something new.
It is an observation: