Re:From Julia to Rust
by adgjlsfhk1 on Tuesday June 08, 2021 @12:20AM
(#27430613)
One thing that makes this very difficult is that fancy types like this seem like they might make the specificity algorithm a complete nightmare.
Map should have type
None of that can be expressed in the Julia type system as is. There is no AbstractCallable type that functions would be subtypes of, and there is no Iterable trait (AbstractArray comes closest but without multiple inheritance of AbstractTypes you can not rely on it).