@Adám ⎕FIXing scripted namespaces with definitions like ##.foo←{...} works for one-line dfns but generates a syntax error for multiline dfns.
The reason for doing ##.f←... is because I am using a Linked namespace and have a bunch of small utility functions that I don't want to scatter about in separate files.
@RubenVerg The left argument consists of how many partitions to begin at each position.
@B.Wilson That's because of quirks in how ⎕FIX deals with scripts. I throws multi-line definitions at ⎕FX and one-liners at ⍎. How about using a namespace script that ends with '#'⎕NS⎕THIS?
@Adám Would you mind spelling it out a bit for me? My mushy brain matter is only following mushily. Are you saying that ⎕FIX is failing with a syntax error for the same reason that ⎕fx'##.f←{_←1' '2'} returns 0?
@Adám Okay. And the reason that ##.f←{...} fails is because, as the docs say, it only creates "a function or operator in the workspace or current namespace"?
@finooiigee We need an APL function that takes the path to index.html as left arg and a vector of values for a new article as right arg, and updates the file.