2 ms·
> Haskell also has features that require the developer declare something upfront (types and type derivation) Generally not. Type inference does that for you.
by tome 13y ago
> Haskell also has features that require the developer declare something upfront (types and type derivation)
Generally not. Type inference does that for you.
- Skinney 13y agoYou can't use custom types without defining them first. Sure, you don't have to decleare where you use them usually, due to type inference, but for type inference to work you actually need to define a type.