|
|
|
|
|
by xvinci
537 days ago
|
|
> One of Haskell’s most basic innovations (well, I’d guess it probably wasn’t first, but compared to other relatively mainstream languages) was the ability to write the type of a function separately from writing the function body. Anyone familiar with the initial versions of C / C++? Both languages have offerd the ability to define your function signatures in header files for as long as I have known them, so if you wished to separate from the actual function body you should have been able to do that. But then Haskell can hardly have been the first mainstream? But maybe someone with more ancient knowledge could share some insights - thx. |
|