Dear all, In the OpenDreamKit project (https://opendreamkit.org/), Michael Torpey and Markus Pfeiffer developed a package called "Memoisation": it is not (yet?) redistributed with GAP, so you will have to get it from its webpage:
https://gap-packages.github.io/Memoisation/ It seems to me that it may be helpful to Bob. I am CCing Michael who may be able to provide further help. Best wishes Alexander > On 29 Jun 2020, at 17:26, Hulpke,Alexander <alexander.hul...@colostate.edu> > wrote: > > Dear Forum, Dear Bob Heffernan, > >> What I would really like to do is set attributes for groups in the small >> groups library in such a way that this information persists between >> sessions. > > There is no such feature in the small group library (or more general in GAP > beyond saving workspaces, which will be version specific). You would have to > create your own scheme, say by wring out files (such as -- assuming MacOS or > Unix for the file names -- > > PrintTo("/Users/myname/mydatabase","database:=",database,";\n"); > > ) of basic data (lists, integers -- objects such as groups will not store all > their attributes) and reading them in again in the next session, maybe with > some added protection to avoid data loss if errors occur: > > Exec("mv /Users/myname/mydatabase /Users/myname/mydatabase.old"); > PrintTo("/Users/myname/mydatabase.tmp","database:=",database,";\n"); > Exec("mv /Users/myname/mydatabase.tmp /Users/myname/mydatabase"); > > > Best, > > Alexander Hulpke > > > > _______________________________________________ > Forum mailing list > Forum@gap-system.org > https://mail.gap-system.org/mailman/listinfo/forum -- Dr. Alexander Konovalov, Lecturer School of Computer Science, University of St Andrews Software Sustainability Institute Fellow https://alex-konovalov.github.io/ -- The University of St Andrews is a charity registered in Scotland:No.SC013532 _______________________________________________ Forum mailing list Forum@gap-system.org https://mail.gap-system.org/mailman/listinfo/forum