4 ms·
It's not redundant information and in Haskell you write exactly the same thing. doSomething :: HashSet Int -> HashSet Int
by brl 18y ago
It'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.