Functional linear list with adding functionality