Skip to content

Commit

Permalink
Merge pull request #847 from ceedubs/fix-free-monad-docs
Browse files Browse the repository at this point in the history
Fix State import in free monad docs
  • Loading branch information
ceedubs committed Feb 1, 2016
2 parents 5df87d3 + 6131be0 commit 6b961b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/main/tut/freemonad.md
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ works, but you might prefer folding your `Free` in a "purer" way. The
state in an immutable map, avoiding mutation altogether.

```tut:silent
import cats.state.State
import cats.data.State
type KVStoreState[A] = State[Map[String, Any], A]
val pureCompiler: KVStoreA ~> KVStoreState = new (KVStoreA ~> KVStoreState) {
Expand Down

0 comments on commit 6b961b0

Please sign in to comment.