From the Swift REPL, how do I get a list of available modules?

后端 未结 1 508
既然无缘
既然无缘 2021-02-19 03:47

From the Swift REPL, I can import framework modules like Foundation by doing import Foundation.

What command can I give on the REPL that will produce a list

相关标签:
1条回答
  • 2021-02-19 03:57

    If you're looking simply for the list, you might want to use:

    :target modules list 
    

    That returns the full list of modules. Hope this help.

    0 讨论(0)
提交回复
热议问题