[erlang-bugs] lists:suffix/2 (R15B01 x64)

Nicolas Charpentier nc@REDACTED
Sat May 12 00:48:59 CEST 2012


http://www.erlang.org/doc/man/lists.html#suffix-2

suffix(List1, List2) -> boolean()

Returns true if List1 is a suffix of List2, otherwise false



I think you wanted to call lists:suffix("a", "ala").



/Nicolas



On 11 May 2012, at 23:40, Beads Land-Trujillo wrote:

> Not the behaviour I was expecting:
>  
> Running Erlang
> Eshell V5.9.1  (abort with ^G)
> 1> lists:suffix("ala", "a")
> false
>  
> Is this a release-wide issue?
>  
> - Beads
>  
> http://tanglelabs.com/
>  
>  
> _______________________________________________
> erlang-bugs mailing list
> erlang-bugs@REDACTED
> http://erlang.org/mailman/listinfo/erlang-bugs

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20120511/a49506e8/attachment.htm>


More information about the erlang-bugs mailing list