becasue when I did 1 (1 2 3) some_matrix, it returned them boxed
neat
today I understood that J and Dyalog APL are complementary, so I'm glad that I've set as a goal to master them both. I'm reading the 'APL since 1978' paper, and reached the point where the 'split' in the APL community is explained (floating vs grounded arrays).
complementary as in the Yin/Yang
as in the position/momentum in quantum mech
:)
glad to read after that that the APL/J community managed to heal the wounds.
-or worked towards that direction
I've seen some communities becoming toxic (eg. currently the Scala community is amidst a civil war), and it's not nice...
@Adám I vaguely remember reading on a website (I think it was a tips page written by yourself for newbies?) something about ]rows, and being able to configure the session to not wrap your long output. I'm running on a new session and I've lost the behavior and it's super annoying. Any idea what resource I might be referencing?
@Adám - I was reading some fiction that mentioned the rule, and my warped mind made the connection, and I started wondering which calculation was "correct". I note that in the following discussion, nobody even expressed an opinion on the question I asked ... :)
@Adám - That depends on how you choose to interpret your age. There's always "You're only as old as you feel", and a frequent "perv" modifcation, "You're only as old as who you feel"... }:)
@rak1507 There are two definitions: One is that it has to give no result whatsoever. The other allows giving a result that takes 0 lines to display (when boxing is not on max).
@elliptic00 Correct. You have to manually set up your keybindings using the interface or by editing your configuration file. However, feel free to log an issue on GitHub for a more automated feature.
m
┌→────┐
↓1 2 3│
│4 5 6│
│7 8 9│
└~────┘
take ←{1↑⍵}
drop ←{1↓⍵}
f ← {(≢⍵) > 0 : (∇ drop ⍵),(take ⍵) ⋄ ⍬}
f m
LENGTH ERROR
f[0] f←{(≢⍵)>0:(∇ drop ⍵),(take ⍵) ⋄ ⍬}
@elliptic00 Because ∇ drop ⍵ recurses and eventually returns ⍬ which is then concatenated to take ⍵. But take ⍵ is a 1-row matrix, and you can't concatenate a 0-element vector to a 1-row matrix.
Hello! I'm in the happy position to announce that the first (online) meet of the newly created "APL ∊ BCN" meetup.com group will take place on Saturday 2021-12-18 at 19:00 CET. meetup.com/apl-bcn/events/282411026
@Fmbalbuena Yes, because the system detects that your exe won't do anything, because you've not set ⎕LX to the expression you want to kick-start the code.
@Fmbalbuena Huh? I suppose you mean that you don't have time to talk to me right now, as you keep leaving, but I certainly was doing everything I could to help you. Feel free to ping me when convenient.
> This is both because of the limited numbers involved, but also because there is no obvious place for potential employees and employers to find each other.
What is the syntax for a vector (array) of functions in APL?
I have tried the following but these are interpreted as a 3-train and a 2-train, respectively:
{1},{2}
{1} {2}
PS. I am looking to do this with more complex (and possibly named) functions by the way, the {1} above is just so the examp...