BEAM implementation questions

Dominic Williams erlang-list@REDACTED
Wed Jan 26 10:45:14 CET 2005


Thomas Lindgren wrote:

> I'd like support for this, perhaps even moreso if
> there was some language support for declaring
> "constant data".

I'm curious about why you'd want any specific support. 
What's wrong with a constant function, e.g.:

pi() -> 3.1415.
max_users() -> 50.

Regards,

Dominic Williams
http://www.dominicwilliams.net

----




More information about the erlang-questions mailing list