[Nice-commit] Nice/debian changelog,1.131,1.132
Brought to you by:
bonniot
|
From: <ar...@us...> - 2003-02-25 12:54:50
|
Update of /cvsroot/nice/Nice/debian
In directory sc8-pr-cvs1:/tmp/cvs-serv18136/F:/nice/debian
Modified Files:
changelog
Log Message:
Added dispatch on integer and character literals.
Index: changelog
===================================================================
RCS file: /cvsroot/nice/Nice/debian/changelog,v
retrieving revision 1.131
retrieving revision 1.132
diff -C2 -d -r1.131 -r1.132
*** changelog 18 Feb 2003 14:21:21 -0000 1.131
--- changelog 25 Feb 2003 12:54:46 -0000 1.132
***************
*** 1,4 ****
--- 1,14 ----
nice (0.7.7) unstable; urgency=low
+ * Method can also dispatch on integer and character literals, but there is
+ always a default case required. An example:
+ long fac(long n);
+ fac(@0) = 1;
+ fac(n) = n*fac(n-1);
+ The '@' before a literal is optional, so the following is allowed:
+ int fib(int n);
+ fib(1) = 1;
+ fib(2) = 1;
+ fib(n) = fib(n-2) + fib(n-1);
* Methods taking a boolean parameter can now dispatch on the cases
'true' and 'false':
***************
*** 24,28 ****
* Faster compilation for large projects with many classes.
* Bugfixes (anonymous functions inside functionals with constracts,
! typechecking loop tests, ...).
--
--- 34,39 ----
* Faster compilation for large projects with many classes.
* Bugfixes (anonymous functions inside functionals with constracts,
! typechecking loop tests, other fixes to reduce the difference between
! what the parser accepts and the compiler can handle, ...).
--
|