/// <summary> /// Constructor that creates a cons cell with an element /// (head) and a reference to the rest of the list (tail) /// </summary> /// <param name="head">The elemnet stored by the cons cell</param> /// <param name="tail">Reference to the rest of the list</param> public FuncList(T head, FuncList <T> tail) { IsEmpty = false; Head = head; Tail = tail; }