Are "all tids" the default input to filter?

Yametazamwa mara 42
Ruka hadi kwenye ujumbe wa kwanza ambao haujasomwa

Mat

hayajasomwa,
2 Ago 2019, 06:20:2602/08/2019
kwa TiddlyWiki
I feel I should know this already but have to ask: Is it correct to say that "the original input to a filter are 'all tiddlers' "? 

I ask this after noting the example for the new match filter op that reads:

[match[HelloThere]] --> HelloThere

...and in the docs for the match op, it says "input : a selection of titles"

...but, of course, a empty filter does not output all tiddlers. (maybe "no operator" is a special case which outputs nothing?)

<:-)

Xavier Cazin

hayajasomwa,
2 Ago 2019, 06:43:3802/08/2019
kwa tiddl...@googlegroups.com
Hi Mat,

https://tiddlywiki.com/#Filter%20Operators starts with an important remark that probably deserves to appear in more places:

Each first step of a filter run not given any input titles receives the output of [all[tiddlers]] as its input.

Cheers,
-- Xavier Cazin


--
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+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/3b35ef3d-bb87-4809-9cc2-b75245d4af24%40googlegroups.com.

Mat

hayajasomwa,
2 Ago 2019, 06:51:4002/08/2019
kwa TiddlyWiki
Thanks Xavier!

And so the empty filter is an exception then, outputting nothing.

<:-)

Jeremy Ruston

hayajasomwa,
2 Ago 2019, 10:03:0202/08/2019
kwa tiddl...@googlegroups.com
Hi Xavier, Mat,


On 2 Aug 2019, at 11:43, Xavier Cazin <caz...@gmail.com> wrote:


https://tiddlywiki.com/#Filter%20Operators
 starts with an important remark that probably deserves to appear in more places:

Each first step of a filter run not given any input titles receives the output of [all[tiddlers]] as its input.


That’s the default; in some situations a filter gets a specific set of tiddlers as the default title list. For example, the “render” command takes a filter for specifying the filename of each file. That filter is fed with a list consisting of a single entry, the title of the tiddler that is being rendered.

Best wishes

Jeremy

Mark S.

hayajasomwa,
2 Ago 2019, 15:50:0302/08/2019
kwa TiddlyWiki
Tiddler operators tagged as  "Selection Constructors" start a new title list, ignoring input.
Jibu wote
Mjibu mchapishaji
Sambaza
Ujumbe 0 mpya