Skip to content

Commit

Permalink
Add explicit return type to impure compiler in freemonad docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ceedubs committed Feb 13, 2016
1 parent b33be92 commit ee36b14
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 @@ -173,7 +173,7 @@ import scala.collection.mutable
// the program will crash if a key is not found,
// or if a type is incorrectly specified.
def impureCompiler =
def impureCompiler: KVStoreA ~> Id =
new (KVStoreA ~> Id) {
// a very simple (and imprecise) key-value store
Expand Down

0 comments on commit ee36b14

Please sign in to comment.