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'
[ Parent
| on HN ]