Hacker News new | ask | show | jobs
by wyager 3970 days ago
If you aren't aware of it, the dimensional library for Haskell does this. https://hackage.haskell.org/package/dimensional
1 comments

Yep! That was my inspiration. I'd love to be able to do this in Rust. Soon, hopefully!
You should take a look at its source code. You'll see that the path you're taking is not the path that library takes.