[erlang-patches] [PATCH] Fix lists:foreach/2's documented spec

Björn Gustavsson <>
Mon Oct 11 15:22:28 CEST 2010

On Mon, Oct 11, 2010 at 3:04 PM, Kostis Sagonas <> wrote:
> It would be a much better world if all void() functions were made to return
> some consistent value such as 'ok'.

I will accept for 'pu' a patch that changes all
occurrences of void() to 'ok' (or a patch that
only keeps void() for funs and callback function
to indicate that the return value is not important).
However, I think that the decision to graduate
such a branch should be taken by the OTP
Technical Board.

Björn Gustavsson, Erlang/OTP, Ericsson AB

More information about the erlang-patches mailing list