« first day (1291 days earlier)      last day (1350 days later) » 

7:37 PM
@dzaima Little error in the monadic Group implementation causing the result length to have a minimum of 1. GroupBuiltin.java line 35 should initialize sz to -1, not 0.
 
@Marshall pushed fix
 
@dzaima Thanks! Now to work out all the bugs in my latest Group implementation...
 
 
3 hours later…
10:39 PM
Items in the pipeline arrive one at a time, so need to be buffered into an array. I didn't keep a record from yesterday, but I think this code 1,5,3|⍎ "{r←⎕new ArrayList⋄ _←{_←r.Add ⍵}¨⍵⋄+/⌷r }" to take the items from the APL array into a .Net collection, then materialise that, made the sum work. So I updated the code internally to use a .Net collection and materialise it ... and now the simple sum still doesn't work and that code doesn't work anylonger.
I have it set helper variables out in the powershell session so I can see what it's working with, and can't see a difference. So I suspect they somehow aren't going through the boxed int / System.int32 -> Dyalog number conversion.
@Adám I switched to it, but switched back - it looks like it behaves the same way in a few APL tests, but doesn't seem to behave the same way when added to my code.
@Adám equivalent to ... direction replicate-of-rank (rank of right)? hmm; that line ×/⍤⍴⍴⊢ is a SYNTAX ERROR when I try and copy it to try it?
 

« first day (1291 days earlier)      last day (1350 days later) »