[erlang-questions] list comprehensions speed

Pierre Fenoll pierrefenoll@REDACTED
Tue Feb 25 18:44:50 CET 2014


On 25 February 2014 17:33, Oleg <lego12239@REDACTED> wrote:

> If we can use =:= for the string matching, why does string module contain
> equal()?
>

No idea why the API is such. But here is the definition of string:equal/2:
https://github.com/erlang/otp/blob/maint/lib/stdlib/src/string.erl#L68-L76


Cheers,
-- 
Pierre Fenoll
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20140225/e65478a1/attachment.htm>


More information about the erlang-questions mailing list