[swift-users] import module into REPL

Jonas Fredriksson jonas.mb at gmail.com
Tue Dec 22 15:38:51 CST 2015


if I have a source code in file A, how can I compile it as an module and
import it to REPL (I am using swift on ubuntu)?
I am looking for something similar like %run in ipython.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-users/attachments/20151222/88ef5d75/attachment.html>


More information about the swift-users mailing list