Implement partitionWithKey.
Implement partition.
Bring forceTuple to top level.

Also rename 'forceTuple (a,_,b)' to forceTriple.