Skip to main content
Stack Overflow for Teams is now Stack Internal: See how we’re powering the human intelligence layer of enterprise AI. Read more >

New answers tagged

1 vote

Implement an argwhere function

Uiua, 6 bytes (⊚≡^)! pad An inline macro that accepts a function and a list. Only keeps inputs that do follow the function.
phidas's user avatar
  • 81
1 vote

Implement an argwhere function

Tcl, 57 bytes proc W L\ f {lmap e $L {incr i expr $e$f?$i:\[continue]}} Try it online!
sergiol's user avatar
  • 4,135

Top 50 recent answers are included