I looked at the pdf, and it's pretty nice stuff.
However, what I personally find lacking about this sort of api is how it forces you to forfeit type checking on the objects you stuff into these Collections. I mean, no way seems to be foreseen to declare (say) a sequence as ADT.Sequence(string|Stdio.File) or something like that.
AFAIK (which is not too say too much) the java collections api suffers from a similar shortcoming, perhaps Pike might be able to improve on that somehow?
Just my 0.02.
/ rjb
Previous text:
2003-03-05 10:20: Subject: Name of ADT
I've completed a new ADT, but have some problems with what to name It to. It is basically a Sequence, see w1.313.telia.com/~u31318241/CommonAPI.pdf for my definition of a Sequence (basically an array where you can do insert and remove).
The suggested names are -ADT.Vector -ADT.Array -ADT.Sequence
I'm personally leaning towards Vector or Sequence because Array could cause name conflicts. The ADT is currently named ArrayAdapter (not a very good name).
/ Peta, jo det är jag