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

Björn Gustavsson <>
Mon Oct 11 15:47:40 CEST 2010

2010/10/11 Tuncer Ayaz <>:
> I have to re-ask:
> Is it wrong to match ok=foreach/2 even though the spec says
> that and it's what the current implementation does?

In practice, no, since we have no intention to change
the return value.

Björn Gustavsson, Erlang/OTP, Ericsson AB

More information about the erlang-patches mailing list