
14 Aug
2009
14 Aug
'09
1:43 p.m.
On Sun, 12 Jul 2009, Magnus Therning wrote:
Stephan Friedrichs wrote:
Johan Tibell wrote:
[...]
I also think void is clearer than ignore.
So do I. Another point is, that it's familiar from other languages; a function "void f(...)" doesn't return anything but may have an effect on the environment.
That depends on what languages you are familiar with, of course. To me void is a type (C/C++) while ignore is a function (OCaml) ;-)
In the Modula-II derivative Cluster it is named FORGET, in Modula-3 it is named EVAL. http://www.henning-thielemann.de/Cluster/Handbuch.pdf http://www.cs.tut.fi/lintula/manual/modula3/m3defn/html/eval.html