Skip to content

Commit

Permalink
Update faq.md repl documentation (#3104)
Browse files Browse the repository at this point in the history
* Update faq.md repl documentation

Took me a bit of time to figure out the current way to enable kind projector

* Update docs/src/main/tut/faq.md

Co-Authored-By: Luka Jacobowitz <luka.jacobowitz@gmail.com>
  • Loading branch information
2 people authored and kailuowang committed Oct 9, 2019
1 parent afae69f commit c8244d4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/src/main/tut/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,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._
import $plugin.$ivy.`org.typelevel::kind-projector:0.11.0`
import $ivy.`org.typelevel::cats-core:2.0.0`, 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

0 comments on commit c8244d4

Please sign in to comment.