glguy / tries

BSD 3-Clause "New" or "Revised" License
11 stars 8 forks source link

Enable DerivingVia #34

Closed treeowl closed 2 years ago

treeowl commented 2 years ago

By tweaking the traversal types a bit (which admittedly makes the implementations more annoying to write), we allow the use of DerivingVia to produce TrieKey instances. This allows OrdKey and similar types to be much more useful.