Finally got around to making List immutable. It is basically a lisp-style list with heads and tails. The interface is pretty explanatory. List.first() gives you the head, List.rest() gives you the tail, and List.empty() tests whether the list is empty.
Finally got around to making List immutable. It is basically a lisp-style list with heads and tails. The interface is pretty explanatory. List.first() gives you the head, List.rest() gives you the tail, and List.empty() tests whether the list is empty.