Path: utzoo!mnetor!uunet!mcvax!enea!tut!santra!news From: news@santra.UUCP (news) Newsgroups: comp.lang.misc Subject: Yields clause in CLU Message-ID: <11958@santra.UUCP> Date: 14 Apr 88 07:43:34 GMT Reply-To: nbo@hut.UUCP (Nassim Bouteldja) Organization: Helsinki University of Technology Lines: 4 Keywords: Iterator abstraction, CLU, ADT Why is the "Yields" clause in the iterator abstraction in CLU optional. This means that I can write an iterator abstraction that is not meant to return any object, but rather for its side-effect. Isn't that contradictory with the idea of an iterator abstraction?