@luna oh my god this is amazing
I wish we had this in Rust π π
2 comments
@anselmschueler ...so I know that was a joke but that's actually really hard to achieve without replacing the Deref trait, because of its return type Ok I will stop over thinking this now π |
@cliffle @luna you can modify your std to implement dereferencing for integers to return a proxy object that can be multiplied to exponentiate, no-oneβs stopping you!