1 (* !!take care!!, this is not a pure data structure *)
3 class ['a
] oarray
: int -> 'a
->
5 inherit ['a
] Osequence.osequence
7 (* ocollection concrete instantiation of virtual methods *)
9 method add
: (int * 'a
) -> 'o
11 method iter
: (int * 'a
-> unit) -> unit
12 method view
: (int * 'a
, 'o
) Ocollection.view
14 method del
: (int * 'a
) -> 'o
15 method mem
: int * 'a
-> bool
19 (* oassoc concrete instantiation of virtual methods *)
20 method assoc
: int -> 'a
21 method delkey
: int -> 'o
25 (* osequence concrete instantiation of virtual methods *)
28 method nth
: int -> 'a