3 ms·
totally stole your idea and found a way to do it in 46 characters :P f=filter q(h:t)= q(f(<=h)t)++h:q(f(>h)t) q a=a
by chamakits 15y ago
totally stole your idea and found a way to do it in 46 characters :P
f=filter
q(h:t)= q(f(<=h)t)++h:q(f(>h)t)
q a=a