Re: Filter out consecutive elements based on comparison between adiacent two
On Thursday, 31 January 2019 at 13:25:21 UTC, Alex wrote: On Thursday, 31 January 2019 at 13:18:39 UTC, Langer wrote: Hi all, Ditto... something like: filter!((a,b) => a.foo != b.foo) Thank you! but... why not ´´´ arr.uniq ´´´ thank you, uniq is perfect.
Filter out consecutive elements based on comparison between adiacent two
Hi all, Ditto... something like: filter!((a,b) => a.foo != b.foo) Thank you!