Subject: oops
From: Jonathan Aldrich (jonal@cs.washington.edu)
Date: Mon Jan 17 2000 - 13:22:37 PST
Oops, I meant
-- for each MyCollection <= Collection define:
method copy_empty[`R <= WhatMyCollectionCanHold](c@:MyCollection[S])
: MyCollection[R] {
new_my_collection[R]();
}
The code below doesn't help you actually write the copy_empty method.
Jonathan :-)
--------------------------
-- for each MyCollection <= Collection define:
signature copy_empty[`R <= WhatMyCollectionCanHold](c@:MyCollection[S])
: MyCollection[R]
where signature new_my_collection[R]();
This archive was generated by hypermail 2b25 : Tue Oct 03 2000 - 15:21:20 PDT