获取IEx中所有elixir模块的列表 [英] Get a list of all elixir modules in IEx
本文介绍了获取IEx中所有elixir模块的列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
要获取IEx模块中所有功能的列表,我可以运行:
To get a list of all functions on a module in IEx I can run:
Map.__info__(:functions)
# or
Enum.__info__(:functions)
使用 {Module} .__ info __(:functions)
格式。
如何我可以获取所有标准lib模块的列表吗?
How can I get a list of all the standard lib modules?
推荐答案
从IEx中,您可以输入: + Tab 获取所有可用模块的列表。
From IEx you can type : + Tab to get a list of all available modules.
这篇关于获取IEx中所有elixir模块的列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文