opnsense-ports/devel/ammonite/pkg-message
Franco Fichtner 054ebd424e */*: sync with upstream
Taken from: FreeBSD
2023-01-09 17:44:31 +01:00

18 lines
416 B
Text

[
{ type: install
message: <<EOM
To use ammonite fully you should setup a configuration file
~/.ammonite/predef.sc. Below is an example:
interp.load.ivy("com.lihaoyi" %% "os-lib" % "0.9.0")
interp.load.ivy("org.typelevel" %% "cats-core" % "2.9.0")
// This @ is necessary for Ammonite to process the `interp.load.ivy`
// before continuing.
@
import cats._
import cats.data._
import cats.syntax.all._
EOM
}
]