|
|
|
|
|
by rtperson
5661 days ago
|
|
The thing with Haskell is that it doesn't automatically coerce types the way other languages do. It uses Hindley-Milner type inference up front if you don't specify your types, but this is far from foolproof. Once it's decided you're using type Foo, you're stuck. You need explicit typing in many cases. One of the first things you learn as a Haskell programmer is to treat type inference with suspicion. |
|