« first day (1375 days earlier)      last day (1266 days later) » 

7:35 AM
@dzaima Does ? not work?
 
@Razetime it should
 
7:58 AM
the docs say ? is NYI
Im assuming that not yet implemented
 
@Razetime ah. the docs are outdated
 
 
4 hours later…
12:24 PM
In reading the ISO spec for ⌽, I think I understand the vector-left-argument form. However, I need to make sure my implementation is correct. Would it be too much to ask if someone who has actually used this form in real life could provide me with a couple of examples that highlights some edge-cases? I need some examples to put in my test-suite.
So if someone has a suggestion, please post them and I'll include them in the test suite.
 
12:34 PM
@EliasMårtenson I can't think of any really strange cases, but you should test with ranks 2 and more than 2, and first, last, and middle axes. Include rotation amounts larger than the corresponding axis length.
And I guess you're just going to follow ISO, but this design is not especially useful, and cases like rotating columns by different amounts can't be implemented quickly. In J, a vector left argument rotates different axes by different amounts, and to get ISO-style multiple rotation you'd use the rank operator.
To rotate columns by different amounts (but why would you want to do that?) you have to transpose, but I think with a good transpose implementation that's actually the fastest way to implement that operation as well.
 
12:52 PM
@Marshall well, I get different rotation amounts using an array left argument in GNU APL.
So I was following that. I didn't read the ISO description in that much detail yet, but it does seem to describe the same behaviour.
Oh wait. Columns.
 
@EliasMårtenson Yes, GNU claims to be ISO-compliant.
 
How is the Dyalog implementation different?
 
@EliasMårtenson It's the same. That's how rotate works in most APLs historically; I just don't think it's a good design.
 
 
7 hours later…
7:37 PM
wtf does r←2↓∊(⎕UCS 13 10)∘,¨{⍵/⍨'⍝'≠⊃¨⍵}{1↓¨⍵/⍨∧\'⍝'=⊃¨⍵}{⍵{((∨\⍵)∧⌽∨\⌽⍵)/⍺}' '≠⍵}¨(1+2⊃⎕LC)↓↓(⊃⊃⎕CLASS 1⊃⎕RSI).(180⌶)2⊃⎕SI do
 
@rak1507 my guess is reads commented text after the source code where its called
 
8:01 PM
@rak1507 Yeah, ^ it a hack to "quote" large amounts of plain-text.
 

« first day (1375 days earlier)      last day (1266 days later) »