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

Beads Land-Trujillo <>
Sat May 12 02:40:02 CEST 2012


Doh!

 

- Beads

 

http://tanglelabs.com/

 

 

From: Nicolas Charpentier [mailto:] 
Sent: Friday, May 11, 2012 6:49 PM
To: Beads Land-Trujillo
Cc: 
Subject: Re: [erlang-bugs] lists:suffix/2 (R15B01 x64)

 

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

http://erlang.org/mailman/listinfo/erlang-bugs

 

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


More information about the erlang-bugs mailing list