All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ammonite.shell.example-predef-bare.sc Maven / Gradle / Ivy

There is a newer version: 2.4.1-2-63e98591
Show newest version
// Basically a copy of example-predef.sc that's used for the test suite
import ammonite.ops._
import ammonite.interp.api.IvyConstructor.scalaBinaryVersion
val scalaVersion = scala.util.Properties.versionNumberString
val ammVersion = ammonite.Constants.version
interp.load.cp(Path(sys.env("AMMONITE_SHELL"), pwd))
@
val shellSession = ammonite.shell.ShellSession()
import shellSession._
import ammonite.ops._
import ammonite.shell._

// Doesn't work in the test suite, where it's run as a script rather than
// as a REPL

// ammonite.shell.Configure(interp, repl, wd)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy