Csenki, Attila. “Difference Lists in Prolog”. Teaching Mathematics and Computer Science, vol. 8, no. 1, June 2010, pp. 73-87, https://doi.org/10.5485/TMCS.2010.0242.