O(1). A destructive operation changing the "rest" part of a cons-cell.
NOTE: Make sure you do NOT create cycles as infinite lists are not handled well in the compiler.


function listSetRest<A>
  input list<A> inConsCell "A non-empty list";
  input list<A> inNewRest;
end listSetRest;

Generated at 2020-05-31T01:40:00Z by OpenModelicaOpenModelica 1.16.0~dev-419-gf0d7921 using GenerateDoc.mos