Hello everyone, I am currently working on a package for handling arrangements of hyperplanes.

I already managed to get the operators "+" and "=" working to my confidence, but I am still struggling with "[".So I want it to behave the same for our newstruct "arr" (which is basically a list) as it does for lists/ideals.

With

Code:

system("install", "arr" , "[", arrGet ,2);

I managed to get access, i.e. A[2]; returns me the second second hyperplane for an arrangement A.However I cannot figure out to overload this for assignement, i.e. that A[2] = h; would actually save h as the second hyperplane of my arrangement.