!each - a good idea?

50 views
Skip to first unread message

Stephan Hradek

unread,
Feb 19, 2018, 11:26:42 AM2/19/18
to TiddlyWikiDev
Do you think it's a good idea to define what happens for ! each?

Currently "each" will put for each input value exactly just one output value into the list of the results, effectivly deleting duplicates.

Currently "!" is not defined for each.

So why not use it for finding duplicates? Stupid idea, maybe, but maybe usefull?

<$list filter="[[test]] [[test2]] [[test]] [[test3]] +[each:value[]]">
  -- will give you test, test2 test3

<$list filter="[[test]] [[test2]] [[test]] [[test3]] +[!each:value[]]">
  -- would give you test

Tell me that it's a stupid idea ;)

Stephan Hradek

unread,
Feb 23, 2018, 11:57:55 AM2/23/18
to TiddlyWikiDev
No reply? So not a stupid idea?

PMario

unread,
Feb 23, 2018, 2:44:58 PM2/23/18
to TiddlyWikiDev
On Friday, February 23, 2018 at 5:57:55 PM UTC+1, Stephan Hradek wrote:
No reply? So not a stupid idea?

I'm not sure, if it makes sense. ... For me "not each" would return every other tiddler, except those in the list.

-m
Reply all
Reply to author
Forward
0 new messages