Just for the hell of it:
sub qs { local ($x, @xs) = @_ and return qs(grep($_ < $x, @xs)), $x, q +s(grep($_ >= $x, @xs)) or () }
ihb
In reply to Re^3: RFC: A Perlesque Introduction to Haskell, Part One (draft)
by ihb
in thread RFC: A Perlesque Introduction to Haskell, Part One (DRAFT)
by FoxtrotUniform
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |