Science, asked by Jenny6315, 1 year ago

Explain the type system for Haskel?

Answers

Answered by rockyak4745
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