The swift run command has a new –repl option which launches the Swift REPL with support for importing library targets of a package. The Swift distribution comes with a REPL for the Swift language .
The swift run command has a new –repl option which launches the Swift REPL with support for importing library targets of a package. The Swift distribution comes with a REPL for the Swift language .