|
|
|
|
|
by WalterBright
1180 days ago
|
|
Yes, but Wirth (Pascal's inventor) was an academic, which is why Pascal has a separate notion of functions and procedures. `void` is a hackish special case in the type system, and not just for function returns. It's unsound. |
|