SymbolicML / DynamicQuantities.jl

Efficient and type-stable physical quantities in Julia
https://symbolicml.org/DynamicQuantities.jl/dev/
Apache License 2.0
120 stars 15 forks source link

Use BaseInterfaces.jl for checking array interface #145

Open MilesCranmer opened 2 weeks ago

MilesCranmer commented 2 weeks ago

I really like Interfaces.jl by @rafaqz and I think it would be cool to use the BaseInterfaces.jl module for QuantityArray at some point in the future: https://github.com/rafaqz/Interfaces.jl/blob/main/BaseInterfaces. So far I have basically been just writing my own tests for it based on the Julia docs but it seems a bit dangerous.

rafaqz commented 2 weeks ago

Base interfaces.jl isnt registered yet unfortunately, I need a bit of help and second opinions to get it complete and correct enough (if you're interested!)