[tw5] Re: Exclude first N items from the list

2020-10-14 Thread Shareda
So simple! Thank you! I've already take that to my Tiddlywiki! 

среда, 14 октября 2020 г. в 03:33:48 UTC+6, Eric Shulman: 

> On Tuesday, October 13, 2020 at 2:25:26 PM UTC-7, Shareda wrote:
>>
>> What is more pretty and fast way to exclude first N items from the list?
>> Now I have
>> \define fastFilter() [all[tiddlers]b{!!b} 
>> +[putlast:$(curN)$[]limit[$(CountMinusN)$]]
>>
>
> The rest[] operator does this.  Thus:
> \define fastFilter() [all[tiddlers]b{!!b}rest[$(curN)$]]
>
> -e
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/6c936670-44ab-4157-b120-8ef458bdb243n%40googlegroups.com.


[tw5] Re: Exclude first N items from the list

2020-10-13 Thread Eric Shulman
On Tuesday, October 13, 2020 at 2:25:26 PM UTC-7, Shareda wrote:
>
> What is more pretty and fast way to exclude first N items from the list?
> Now I have
> \define fastFilter() [all[tiddlers]b{!!b} 
> +[putlast:$(curN)$[]limit[$(CountMinusN)$]]
>

The rest[] operator does this.  Thus:
\define fastFilter() [all[tiddlers]b{!!b}rest[$(curN)$]]

-e

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/9c52dae6-9329-40fa-861e-eb8b5e5a92b5o%40googlegroups.com.