> What do you think about your personal website, and I wonder if there is any other code I should add. Thanks so much already. Site content is KOSGEB loan, Eligible Loans, Interest Free Loans Eligible Loans ORG
@DJMcMayhem I can only imagine a google employee rigging google translate and posting a normal question (but not in english) just to see if it gets deleted :p
@dzaima If it doesn't, then you have a logic problem in your code. Of course you could make the operator Prefix←{⊃(⍺⍺/)x y←⍵} to throw an error on non-2-item arguments. But that is oddly specific, isn't it?
@dzaima Fancy: Prefix←{⍺≠≢⍵:⎕SIGNAL⊂('EN' 5)('Message'('Right argument must have length ',⍕⍺)) ⋄ ⊃(⍺⍺/⍵)}
@Adám I've had use cases when I had a 2 item array (for ease of inputting it) and applying a function that can easily access both either requires me to use ⊃⍵ and 2⊃⍵ in the code or using the bulky {(2⊃⍵) ⍺⍺ ⊃⍵} (though even those don't error-check). I suppose the problem stems from that APL doesn't have a good way to get more than 2 (to 4) arguments
(which lead me to considering making a language which can have an arbitrary amount of right and left arguments)
@Riker (Shouldn't that be CMQ?) Because APL was and is developed by some really clever people, as opposed to other programming languages which (after the initial idea by some clever persons) are developed by the general populace.
@J.Sallé (I've turned boxing on in that link.) First we pick the 3rd element's 2nd element, then we index into that to get the 1st letter. Then we lowercase that in-place, in the style of other languages' compound assignment += but we use a user-defined function instead of the +.
@J.Sallé If it was on by default, it would probably only be for output generated in the session (i.e. the Input field on TIO), and not for output generated by functions. In any case, TIO runs with an empty session, so no SALT. And boxing requires SALT. (and UCMDs).
@ngn Sure. But I'd want us to come up with some really fancy thing. Something like a combination of selective and indexed-with-elided-axes or something.
@ngn Yeah, I think that was a kludge made to shoehorn dfns into an interpreter that wasn't designed with it in mind. I'm surprised it doesn't have significant performance impact.