Explain the type system for Haskel?
Answers
Answered by
0
To understand why the type system is so important, we have to first consider the advantages and disadvantages of static typing in the first place. One important benefit of static typing is that many bugs are found at compile time, rather than run time. With a dynamically typed language, you might ship code that seems to work perfectly well. But then in production a user stumbles on an edge case where, for instance, you forget to cast something as a number. And your program crashes.
Similar questions
English,
7 months ago
Social Sciences,
7 months ago
Computer Science,
7 months ago
Science,
1 year ago
Math,
1 year ago
Math,
1 year ago