Open List Consing
lTo ÒconsÓ an element to an open list, we simply put the element in a new cell and hook the cell to the original list:
lconsing x to the front [x | [a, b, c, d]] yields
x
caution: rex, not Java, notation