|
|
|
|
|
by wyager
4105 days ago
|
|
>Match failure occurs at runtime as in any other safe typed language such as Haskell or ML. That is incredibly disingenuous. The only way a Haskell or ML program could be as colossally unsafe as a unityped language program is if the programmer used only one giant sum type for the entire program, and most functions in the program were non-total with respect to that type. "Unityping" provides no static type safety. It is isomorphic to, and usually a euphemism for, the lack of any static type system. |
|