I want to ensure that my package, CliffordNumbers.jl, interoperates with Unitful.jl, and that parametric types dependent on both packages (like Quantity{<:AbstractCliffordNumber}
) have operations defined on them consistently (such as the wedge product, ∧
).
However, I’ve found myself wondering whether the package extension should belong to CliffordNumbers.jl or Unitful.jl. On one hand, CliffordNumbers.jl provides a numeric type, and I think it makes more sense for Unitful.jl to own the extension, since it is what wraps the AbstractCliffordNumber
instances in its own AbstractQuantity
type. On the other hand, I’m the one working on support for this feature and I own CliffordNumbers.jl.
Outside of considerations of who is doing the development: is there any reason to favor having the extension reside in one package over the other?