Update of /cvsroot/nice/Nice
In directory sc8-pr-cvs1:/tmp/cvs-serv28036/nice
Modified Files:
NEWS
Log Message:
Enums can implement interfaces now.
Index: NEWS
===================================================================
RCS file: /cvsroot/nice/Nice/NEWS,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** NEWS 15 Jan 2004 21:39:19 -0000 1.12
--- NEWS 16 Jan 2004 00:14:06 -0000 1.13
***************
*** 1,6 ****
nice (0.9.6)
! * Additional fields can be defined for enums, example:
! enum Coin(int value) {penny(1), nickel(5), dime(10), quarter(25)}
* Alternative syntax for calling methods that takes an closure with no
arguments. For example 'loop(5) { doSomeThing(); }' is shorthand for
--- 1,8 ----
nice (0.9.6)
! * Additional fields can be defined for enums and enums can implement
! interfaces, example:
! enum Coin(int value) implements Currency
! {penny(1), nickel(5), dime(10), quarter(25)}
* Alternative syntax for calling methods that takes an closure with no
arguments. For example 'loop(5) { doSomeThing(); }' is shorthand for
|