Understanding how to implement numbers in Julia

I don’t think the interface for numbers is formally and extensively documented (yet?), but there are a couple of threads here on discourse where this topic was discussed. You might find valuable information there:

From what I see and off the top of my head, I’d say that apart from promotion rules, you’ll still be missing:

  • a unary minus operator
  • comparison operators
  • probably a zero method
5 Likes