12345678910111213141516171819202122232425262728293031323334353637383940typet=|Row(* Fill rows first *)|Column(* Fill columns first *)|Row_dense(* Fill rows first, packing items *)|Column_dense(* Fill columns first, packing items *)letdefault=Rowletto_string=function|Row->"row"|Column->"column"|Row_dense->"row dense"|Column_dense->"column dense"letequalab=match(a,b)with|Row,Row->true|Column,Column->true|Row_dense,Row_dense->true|Column_dense,Column_dense->true|_->falseletcompareab=letto_int=function|Row->0|Column->1|Row_dense->2|Column_dense->3inInt.compare(to_inta)(to_intb)letppfmtt=Format.pp_print_stringfmt(to_stringt)letis_dense=function|Row|Column->false|Row_dense|Column_dense->trueletprimary_axis=function|Row|Row_dense->Geometry.Abstract_axis.Inline|Column|Column_dense->Geometry.Abstract_axis.Block