Re:The Array Cast – A podcast about the array programming la...
by geocar on Friday May 21, 2021 @11:24AM
(#27235246)
us←{'_'@{¯1⌽⍵⍷⍨(⊂⊃K),'*'}⍵}
Re:The Array Cast – A podcast about the array programming la...
by rak1507 on Friday May 21, 2021 @11:50AM
(#27235601)
Ah, ⍷, clever, don't even need the outer {...⍵},
us←'_'@{¯1⌽⍵⍷⍨(⊂⊃K),'*'}
us←⊃,⍥⊆2{(⍺≡⊃K)∧⍵≡,'*':,'_'⋄⍵}/⊢ is shorter anyway