3 ms·
Retarded, indeed. Almost half of that code is a redundant repetition of type information.
by fhars 18y ago
Retarded, indeed. Almost half of that code is a redundant repetition of type information.
- brl 18y agoIt's not redundant information and in Haskell you write exactly the same thing. doSomething :: HashSet Int -> HashSet Int
- wernerv0nbraun 18y agono again. in the case of a haskell analogue to HashSet (Set, Map, etc), you could use type inference due to haskell's type classes. go look at the definitions of these libraries, they use them.