News for hackers. Stuff that matters.
Re:What it's like to use Haskell by lostcolony on Wednesday March 26, 2014 @11:44AM (#7474178)
As dllthomas commented, 'p' would be better named "pivot".

xs is just convention. A variable containing an arbitrary number is often called 'x', right? Well, a list of such things is plural, so xs.

So pattern match a list, say the first item is the pivot, the remainder is just a list of arbitrary numbers, 'xs'.

There are no comments on this comment yet.