[erlang-questions] Is there a way to test on a module's behaviors?

Andrew Berman <>
Fri May 11 01:53:01 CEST 2012


Awesome, thanks!

On Thu, May 10, 2012 at 4:25 PM, Francesco Mazzoli
<>wrote:

> You can use `module_info/0', amongst the other things it'll return a list
> of module attributes, including the behaviors.
>
> Francesco.
>
>
> On 11/05/12 00:15, Andrew Berman wrote:
>
>> I was wondering if there is a way to test on behaviors of a module.
>>  Essentially what I'm looking to do is say, if this module has x
>> behavior, do this.  I couldn't find any way to get at the module's
>> behaviors, did I miss something or is this something that cannot be done?
>>
>> Thanks!
>>
>> Andrew
>>
>>
>> ______________________________**_________________
>> erlang-questions mailing list
>> 
>> http://erlang.org/mailman/**listinfo/erlang-questions<http://erlang.org/mailman/listinfo/erlang-questions>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20120510/5897d7c9/attachment.html>


More information about the erlang-questions mailing list