I'm starting Erlang, and I would like to find a way to list all the methods available for this module. What is the best way? In my case, the module ejabberd_odbc.
ejabberd_odbc
You can call Modulename:module_info()to get information about the module in the form of a leaf. To get only export, call Modulename:module_info(exports).
Modulename:module_info()
Modulename:module_info(exports)
I always check the section exportsin the module source.
exports
, edoc, : http://www.erlang.org/doc/man/edoc.html javadoc Erlang .
ejabberd_odbc : http://www.process-one.net/docs/ejabberd/devdoc/trunk/ejabberd_odbc.html
Source: https://habr.com/ru/post/1773374/More articles:Boost.Python: ownership of pointer variables - c ++Are Quartz.NET calendars configured through an ASP.NET page? - asp.netHow to change default text_area size for form in rails 3? - ruby-on-rails-3NGinX authority issue while caching Rails resources - unixChannelFactory: create and delete - wcfHow to increase the counter inside the OnClick viewing event - androidEvents and cursor position - javascriptChoosing an autonomous search server with a custom ranking function, inter-page search - full-text-searchCan IPC :: System :: simple STDERR capture? - redirectRegex that finds consecutive capitalized letters - regexAll Articles