Created by dmwpowers on October 31, 2014
0 users favorited this

Description: Two way partitioning forces equals into one or other partition, leading to quadratic behaviour in the number of duplicates if they are retrained. Difference lists are a logic programming technique to avoid explicit append, and hence extra passes through lists that increase the computational time, and sometimes order. This extends the Difference List examples in the style of the Michael Hanus smap. The 3-way example is stable but still has a quadratic worst case related to preordering.