Re:Julia Computing raises $24M Series A
by mbauman on Monday July 19, 2021 @06:06PM
(#27887824)
There's no hidden dirty magic, but you're right: Complex numbers require `Real` components and Rationals require `Integer` numerators and denominators. Both `Real` and `Integer` are simply abstract types in the numeric type tree, but you're free to make your own. You can see how this works directly in their docstrings — it's that type parameter in curly braces that defines it, and `<:` means subtype:
[ Parent
| on HN ]
There are no comments on this comment yet.