News for hackers. Stuff that matters.
Re:Random walk in 2 lines of J by rak1507 on Saturday October 15, 2022 @08:57PM (#33220128)
⊃ is 'first', ⍸ is where, f⍤g is like function composition, and ⍤1 means apply to each rank 1 (vector), so ⊃⍤⍸⍤1 means 'the first true for each vector'
Re:Random walk in 2 lines of J by mgraczyk on Saturday October 15, 2022 @09:09PM (#33220197)
Interesting, thanks for explaining!