-- -*- M2-comint -*- hash: 8595189575595531201

i1 : L=lieAlgebra{a,b}

o1 = L

o1 : LieAlgebra

i2 : M=lieAlgebra({a,b},Weights=>{{1,0},{2,1}},LastWeightHomological=>true)

o2 = M

o2 : LieAlgebra

i3 : degreeLength L

o3 = 2

i4 : weight\gens L

o4 = {{1, 0}, {1, 0}}

o4 : List

i5 : degreeLength M

o5 = 2

i6 : 
     
