Here is a simple example which calculates $\int_{{\bar M}_{1,1}} \lambda_1$.
i1 : R = hodgeRing (1, 1); |
i2 : lambda_1 o2 = lambda 1 o2 : R |
i3 : integral(1, 1, lambda_1) warning: clearing value of symbol tempCh to allow access to subscripted variables based on it : debug with expression debug 1257 or with command line option --debug 1257 1 o3 = -- 24 o3 : R |
The object lambda is an indexed variable table.