macaulayOrders(P, AllOrders=>Boolean)
With AllOrders=>false, the list returned by the method will have at most one element.
i1 : B = booleanLattice 3 o1 = B o1 : Poset
i2 : #(macaulayOrders B) o2 = 12
i3 : macaulayOrders(B, AllOrders=>false) o3 = {{000, 001, 010, 100, 011, 101, 110, 111}} o3 : List
The object AllOrders is a symbol.
The source of this document is in MacaulayPosets.m2:1624:0.