aboutsummaryrefslogtreecommitdiffstats
path: root/prototypes/connections/program.c
diff options
context:
space:
mode:
authoreunhhu <[email protected]>2026-09-26 11:35:20 +0100
committereunhhu <[email protected]>2026-09-26 11:35:20 +0100
commit92f5545efb7aab0b3a4a4c73a65364ef519cd5d4 (patch)
tree10633f366478737d6bb25286ac074e7f4ded7b20 /prototypes/connections/program.c
parent6ca1a1e598b9aa2f0b8f3947c27883b45b366346 (diff)
downloadpure-92f5545efb7aab0b3a4a4c73a65364ef519cd5d4.tar.gz
pure-92f5545efb7aab0b3a4a4c73a65364ef519cd5d4.zip
Add first: the index of the first item a block keeps
A fifth fold kind, first, runs its block over the items until one leaves a non-zero number and pushes that item's index, typed as an index of the list, or fails not_found when none does. Handlers can so find the item to change by a condition, as a message naming a task by its title would.
Diffstat (limited to 'prototypes/connections/program.c')
0 files changed, 0 insertions, 0 deletions