Moto 0.19.0 Release

David Hakim <dhakim-Gkm/TONP9n1Wk0Htik3J/[email protected]> Thu, 13 Mar 2003 15:25:43 -0500
Newsgroups gmane.comp.lang.moto.user,gmane.comp.lang.moto.devel
Message-ID <[email protected]>
Moto 0.19.0 has been released! You can go and get it at 
http://projectmoto.org/moto_0_19_0.tar.gz

This release adds the first round of Higher Order Programming 
constructs to Moto. These constructs allow developers to use delegates 
and callbacks with ease through a syntax that 'Java always should have 
had' . Functions and methods may be assigned to variables. Functions 
and methods can take functions as arguments or return functions. New 
functions can even be defined on the fly by applying arguments to 
existing functions or methods!

A new documentation section on Higher Order Functions has been added 
here:

http://www.projectmoto.org/docs.moto?_chapter=5

New examples that demonstrate the power of the syntax have been posted 
online as well. But real briefly, instead of this:

	Enumeration e = myhash.keys();
	while(e.hasNext())
		mylist.add(e.next());

You can now write this:

	myhash.keys().each(mylist.add);

Much else is new and improved with this release. MySQL and PGSQL driver 
configuration has been greatly enhanced with support for many more 
database distributions, and version dependencies. Problems with 
PosixFileIO have been fixed (the MidAfternoon Commander example should 
now work fine). A new variable DESTDIR has been added to the Makefile 
to facilitate building RPMs and other binary distributions. Many other 
features and fixes are also included. The full release notes are 
available on the download page

http://www.projectmoto.org/download.moto

-Dave