New answers tagged functional-programming
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.
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!
Top 50 recent answers are included
Related Tags
functional-programming × 48code-golf × 41
haskell × 6
lambda-calculus × 6
combinatory-logic × 6
math × 5
array × 5
integer × 4
string × 3
tips × 3
number × 2
code-challenge × 2
decision-problem × 2
number-theory × 2
interpreter × 2
javascript × 2
atomic-code-golf × 2
programming-puzzle × 2
arithmetic × 1
restricted-source × 1
matrix × 1
parsing × 1
open-ended-function × 1
polynomials × 1
set-partitions × 1