As a new Mozart-Oz user, I have what's probably a simple question. (I have a number of simple questions, but I'll start with this one.)
Why is it necessary to declare local variables in procedures and functions. Considering how much effort was put into making Oz an easy language to write, why force explicit declarations? After all, the compiler could implicitly declare any variable at the procedure level if it is not otherwise declared. This would parallel the way that variables on the right-hand-side of prolog clauses are implicitly declared.
Thanks.
By the way, to push myself to use Oz, I decided to teach an AI course with it. My plan is to work our way through the book and use Oz computational capabilities to write one or more Sudoku solving programs. If anyone is interested, the course web page is:
http://cs.calstatela.edu/~wiki/index.php/CS-460-1.Fall-2005:Main_Page. This is a wiki. If you have anything useful to add, please do so.
-- Russ Abbott
_____________________________________________
Russ Abbott
Professor, Computer Science
California State University, Los Angeles
o Check out my blog at http://russabbott.blogspot.com/
_____________________________________________
Russ Abbott
Professor, Computer Science
California State University, Los Angeles
o Check out my blog at http://russabbott.blogspot.com/
_________________________________________________________________________________ mozart-users mailing list [email protected] http://www.mozart-oz.org/mailman/listinfo/mozart-users
