Hi! I attach a template which you could build on. Please post your class when you're done. :) Best regards, Mikael On Fri, Apr 30, 2021 at 1:11 AM Damien Mattei wrote: > hi, > i want to create a growable vector class in Guile, > such as std::vector or python list, > first i do not know if it exist already? seems not > > i want to use GOOPS but i do not understand how the superclass could be > accessed,used, instanciate... > for example in the doc there is: > (define-class () r i #:name "Complex") > > seems superclass is of no use > > for my growable vector i would like to use array as superclass? > but perhaps should it be just a slot as array are a subset of growable > array ,so a subclass > > anyway if i write something ike that: > (define-class () ..... > how can i use the object? > > i think perhaps i should not define a superclass or as super > class.... > any advice welcome... > > Damien >