[erlang-questions] Erlang/OTP 21.0-rc1 (Release Candidate)
Dmitry Klionsky
dm.klionsky@REDACTED
Wed May 2 15:10:39 CEST 2018
No, it's fine.
https://github.com/erlang/otp/blob/master/lib/stdlib/src/lists.erl#L1402-L1413
On 05/02/2018 04:06 PM, Frans Schneider wrote:
> Is the fun/1 really the second argument in the call lists:search/2?
>
> lists:search(list,fun/1) -> {ok, Value} | false
>
> Doesn't feel consistent with the other functions in the list module
> which have the fun/1 as the first argument.
>
> Cheers,
>
> Frans
>
> On 05/02/2018 01:37 PM, Henrik Nord X wrote:
>> lists:search(list,fun/1) -> {ok, Value} | false
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
--
BR,
Dmitry
More information about the erlang-questions
mailing list