News for hackers. Stuff that matters.
Re:Hindley-Milner Type Inference (2012) by eru on Saturday July 11, 2020 @12:21AM (#23799462)
Yes, the main reason to give type annotations is to make debugging easier and as documentation.

In eg Haskell, you often write the types first, even though in principle you seldom would have to write the types at all.

There are no comments on this comment yet.