|
|
|
|
|
by timclark
5317 days ago
|
|
Not only dynamically typed languages, the signature would also look remarkably close to (a → b) → [a] → [b] in ML and Haskell. Your ML and Haskell compiler would also make check that it was called correctly at compile time without extra unit tests. |
|
If Scala only did what ML and Haskell do, the type signatures would be exactly that.