Re:C++17: I See a Monad in Your Future
by bjz_ on Thursday February 27, 2014 @06:57PM
(#7316260)
Unfortunately the term 'function' is somewhat misused in most programming languages, where 'procedure' would be a better term. The Wirth languages, Haskell, and Nimrod are the few that seem to get this right.
[ Parent
| on HN ]
Ada too, it has distinct procedures and functions; the latter producing only one output based only on its inputs (though I believe recently they added the ability to also have out parameters so multiple values can be returned).