3 ms·
In what language? I thought Haskell and OCaml for example, had generics.
by EdwardDiego 7y ago
In what language? I thought Haskell and OCaml for example, had generics.
- mrkeen 7y agoThe situation is a bit better than just generics (as they are in Java). For instance, if I had a List<Int>, I can treat it like a List<I>, but why can't I treat it like an <L>Int? Or an <L><I>?