behaviours

Thomas Lindgren thomasl_erlang@REDACTED
Tue Jul 29 18:36:15 CEST 2003


--- Fredrik Linder <fredrik.linder@REDACTED>
wrote:

> Good point. Versioning is definitely desired,
> perhaps something like:
> 
> behaviour_info(callbacks) -> [{Function, Arity}];
> behaviour_info(version) -> Version;
> behaviour_info(_) -> undefined.

It would be nice to integrate behaviour versions with
applications and releases too. I'm not sure what's
right, though. It might be straightforward. (Simply
take the vsn attribute?)

A complicating case: several versions active in the
system at the same time (due to use of legacy code,
say).

Best,
Thomas


__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com



More information about the erlang-questions mailing list