Understanding Difference Lists
The key to understanding difference lists is understanding what they are on the level of the nested compound term that represents lists. Normally, we see a list like that: [a, b, c] This is now a list with three elements. The exactly same nested term using the dot as the list functor, ./2, and the … Read more