chiark / gitweb /
A bit more Split fettling in 04
authorBen Harris <bjh21@bjh21.me.uk>
Sat, 4 May 2024 12:02:59 +0000 (13:02 +0100)
committerBen Harris <bjh21@bjh21.me.uk>
Sat, 4 May 2024 12:02:59 +0000 (13:02 +0100)
commita730fc5426804996df4b00f312a470c9b2915e26
treeaf35006a9136495def1f132fd5a1e2e17eeb8225
parent317f9b46c2328f6ab55527963659725d9c9464e7
A bit more Split fettling in 04

It was silly to have an operator that immediately called its operand on
its argument and did nothing else with the operand.  Better to have a
function that takes the output of the operand as its left argument.
That avoids the confusion I had over whether the operator should take a
function that acts on a single element or on the whole list: it now
takes neither.

This doesn't even make calling the function any harder. It just changes
F _split x into F⊸Split x.
04/04a.bqn
04/04b.bqn