[Oberon] Renaming imported procs

Chris Burrows chris at cfbsoftware.com
Fri Jun 25 13:57:20 MEST 2010


> -----Original Message-----
> From: oberon-bounces at lists.inf.ethz.ch 
> [mailto:oberon-bounces at lists.inf.ethz.ch] On Behalf Of spir
> Sent: Friday, 25 June 2010 7:53 PM
> To: oberon at lists.inf.ethz.ch
> Subject: Re: [Oberon] Renaming imported procs (was: concrete 
> use of open array)
> 
> 
> Right, I will need such a pattern for higher-order funcs. Not 
> that I appreciate the functional paradigm, but some match 
> typical patterns, eg for collections (find --> element; 
> filter, map --> collection; any, every --> boolean). I 
> particuliarly like the clarity of code 'every' enables:
> 	IF numbers.every(isNaturalNumber) THEN ...
> 	IF objects.every(isNotNil) THEN ...
> 	IF inputData.every(isValid) THEN ...
> 
> 
> Thank you very much, Chris.
> 
> Denis

No problem. Something I should have mentioned earlier which might have
answered some of your questions is to recommend Hanspeter Mössenböck's
excellent book: "Object-Oriented Programming in Oberon-2":

http://www.ssw.uni-linz.ac.at/Research/Books/

It can still be purchased from Amazon. If I had a $ for every time I'd
recommended this book I'd be a rich man ;-)

If you want a taste of what is in the book read his earlier paper with the
same title which was presented at the 2nd International Modula-2 Conference.
It can be downloaded in Postscript format from:

http://www.ssw.uni-linz.ac.at/Research/Papers/Moe91.html

Regards,
Chris Burrows

CFB Software
http://www.cfbsoftware.com



More information about the Oberon mailing list