-behavior is customizable!

Shawn Pearce spearce@REDACTED
Tue Feb 10 05:23:01 CET 2004

I'm sure this is old news to everyone here, but I just wanted to
thank the folks who made it possible for us common folk to define
our own behaviors, and actually have erl_lint validate that the
user modules implement the behaviour properly.

Thanks to gen and sys modules, and the (new to me) behaviour_info
callback function I've been able to roll my own OTP compliant behaviour
in just a few hours.

If I'm ever in your part of the world again, you folks can have a beer
on me.  :)

One thing I just noticed, the spellings are not the same:



Did the attribute definer learn American English and the erl_lint author
learn British?  This dumb American just killed a few minutes trying to
get my behavio(u)rs to validate with erl_lint.  :-)


More information about the erlang-questions mailing list