Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update faq for ammonite #3455

Merged
merged 2 commits into from
Jun 7, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/src/main/tut/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -268,8 +268,8 @@ Of course. [sbt-catalysts](https://github.com/typelevel/sbt-catalysts) is create

The easiest way is probably using [Ammonite-REPL](http://ammonite.io/). Install it following the instructions there. Then in the amm console you can type in
```scala
interp.configureCompiler(_.settings.YpartialUnification.value = true)
import $ivy.`org.typelevel::cats-core:1.0.1`, cats.implicits._
# interp.configureCompiler(_.settings.YpartialUnification.value = true) # If using scala 2.11 or 2.12
psilospore marked this conversation as resolved.
Show resolved Hide resolved
import $ivy.`org.typelevel::cats-core:2.1.1`, cats._, cats.data._, cats.implicits._
```
Or if you want, you can add these lines to `~/.ammonite/predef.sc` so that they are enabled every ammonite session.

Expand Down