[Nickle] const vs. final
Keith Packard
keithp at keithp.com
Fri Aug 20 19:16:55 PDT 2004
Around 16 o'clock on Aug 18, Jamey Sharp wrote:
> The behavior that I want is like Java's 'final'. Assignments to
> uninitialized const values should be allowed. Is there something wrong
> with doing that?
const can only be assigned in their initializer. Given the flexibilty
available with nickle initializers, is there some functionality we're
missing that you need? Your 'enumerate' function seems quite suited to a
comprehension...
-keith
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
Url : /pipermail/nickle/attachments/20040820/dc45a72f/attachment.pgp
More information about the Nickle
mailing list