Groups
Groups
Sign in
Groups
Groups
TiddlyWiki
Conversations
Labels
About
Send feedback
Help
Exclude first N items from the list
71 views
Skip to first unread message
Shareda
unread,
Oct 13, 2020, 5:25:26 PM
10/13/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to TiddlyWiki
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)$]]
Eric Shulman
unread,
Oct 13, 2020, 5:33:48 PM
10/13/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to TiddlyWiki
The rest[] operator does this. Thus:
\
define fastFilter
()
[
all
[
tiddlers
]
b
{!!
b
}
rest
[
$
(
curN
)
$
]]
-e
Shareda
unread,
Oct 14, 2020, 2:54:56 PM
10/14/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to TiddlyWiki
So simple! Thank you! I've already take that to my Tiddlywiki!
среда, 14 октября 2020 г. в 03:33:48 UTC+6, Eric Shulman:
Reply all
Reply to author
Forward
0 new messages