[swift-dev] Importing .swift file into REPL?

Austin Zheng austinzheng at gmail.com
Wed Apr 20 17:23:53 CDT 2016

Hello developers,

Is there a way to import a .swift source file into the interactive REPL? There are times I'd like to debug code by importing it into the REPL and then typing in various interactive commands. However, copy-pasting does not always work properly, especially if the code is long and contains line breaks.


More information about the swift-dev mailing list