Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download

GAP 4.8.9 installation with standard packages -- copy to your CoCalc project to get it

563554 views
gap> START_TEST("HAP library");
gap> fn:=function(i) return i^2; end;;
gap> L:=LazyList(fn);;
gap> L[4];
16
gap> Length(L);
infinity
gap> Position(L,36);
6
gap> STOP_TEST( "tst.tst", 1000 );