From: Matthias Felleisen (matthias at ccs.neu.edu) Date: Thu Apr 3 11:45:22 EDT 2014 |
|
On Apr 3, 2014, at 9:04 AM, Matthew Flatt <mflatt at cs.utah.edu> wrote: > In other words, defining a variable in a signature is a lot like > defining a method in an Java interface. Defining `y` as a constant is > not especially useful If you follow the Java precedent, it is somewhat useful to have interfaces that define 'global' constants: width = 10 height = width * 2 ... Same here. -- Matthias
Posted on the users mailing list. |
|