GAP 4.8.9 installation with standard packages -- copy to your CoCalc project to get it
DeclareOperation("HasseDiagramAsList",[IsRecord]);