3 ms·
Well, let's see. Go: map[string]int64 Java: HashMap<String, long> Rust: HashMap<&str, i64> I think Haskell is one of the only statically typed languages whi
by falcolas 9y ago
Well, let's see.
Go: map[string]int64
Java: HashMap<String, long>
Rust: HashMap<&str, i64>
I think Haskell is one of the only statically typed languages which doesn't really care about algebraic typing. And yes, if you're talking about static typing, you get the baggage of dealing with algebraic typing to go with it as a rule. You can't arbitrarily separate the two until more languages follow Haskell's route.