21 Dec
2014
21 Dec
'14
4:48 p.m.
Hi Marc, Leo has just fixed my bug in the array iterator code. Thanks! A new snapshot is available. Christian On Sun, Dec 21, 2014 at 12:05 PM, Marc van Grootel <marc.van.grootel@gmail.com> wrote:
Hi,
I think I've spotted a bug in array:fold-left (using 20141219 snapshot)
array:tail([1,2,3]) => [2,3]
array:fold-left( array:tail([1,2,3]), (), function($result, $fn) { ($result, $fn) } )
=> (1,2)
Using array:fold-right in the above example returns (2,3).
-- --Marc