From the Swift REPL, I can import framework modules like Foundation by doing import Foundation.
import Foundation
What command can I give on the REPL that will produce a list
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.