[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] Penlight Libraries, First release
- From: David Manura <dm.lua@...>
- Date: Wed, 13 May 2009 09:16:42 -0400
On Wed, May 13, 2009 at 3:04 AM, steve donovan wrote:
> On Wed, May 13, 2009 at 8:24 AM, David Manura wrote:
>
>> List:map, List:mapm, List:partition, and List:slice return new lists.
>> I think at least the map functions should not.
>
> As I understand, you mean that tablex.map does not return a List.
No, this point is unrelated to what tablex does. I mean that the List
operation t:map() does not modify t but rather returns a new object.
This differs from t:reverse(), which modifies t in-place and returns
itself.
- References:
- Re: [ANN] Penlight Libraries, First release, Flemming Madsen
- Re: [ANN] Penlight Libraries, First release, steve donovan
- Re: [ANN] Penlight Libraries, First release, David Manura
- Re: [ANN] Penlight Libraries, First release, steve donovan
- Re: [ANN] Penlight Libraries, First release, Mark Hamburg
- Re: [ANN] Penlight Libraries, First release, David Manura
- Re: [ANN] Penlight Libraries, First release, steve donovan