|
|
|
|
|
by the_af
2450 days ago
|
|
> This is the same in any statically typed language Surely not in any statically typed language. Languages like Java cannot encode the same useful information (or rather, you cannot force them to) as languages like Haskell. Specifically, you cannot make them enforce lack/presence of IO in their types. Most mainstream statically typed languages cannot do that, in fact. |
|