Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
| Download
GAP 4.8.9 installation with standard packages -- copy to your CoCalc project to get it
Project: cocalc-sagemath-dev-slelievre
Views: 418346gap> START_TEST("flush.tst"); gap> DeclareGlobalVariable("cheesefun"); gap> DeclareGlobalVariable("cheeseval"); gap> cheesefun; << cheesefun to be defined>> gap> cheeseval; << cheeseval to be defined>> gap> InstallFlushableValueFromFunction(cheesefun, -> [1] ); gap> InstallFlushableValueFromFunction(cheeseval, -> [2] ); gap> cheesefun; [ 1 ] gap> cheeseval; [ 2 ] gap> cheesefun[2] := 6;; gap> cheeseval[2] := 5;; gap> cheesefun; [ 1, 6 ] gap> cheeseval; [ 2, 5 ] gap> FlushCaches(); gap> cheesefun; [ 1 ] gap> cheeseval; [ 2 ]