Conversation

Replying to
I also run into similar issues with Rust's traits - where you might want to let the clients of an API customise types for efficiency, either with parameters or associated types… but that can make the API overwhelmingly complicated and prevents the use of dynamic dispatch.
1
2
I think Arend also has a cool way to partially 'fill up' the fields of records, which I think is a pretty neat approach? Can never really remember where in the docs it is documented though.
2
7
Always interested in learning about other approaches to this issue, and if there are any other ideas for integrating this stuff ergonomically into dependently typed module systems!
3