Skip to content

Commit

Permalink
fix type lambda syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
James Thompson committed Jun 10, 2019
1 parent 5e4be2b commit 4ac4185
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/reference/contextual/typeclasses.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ delegate ListMonad for Monad[List] {
List(x)
}

delegate ReaderMonad[Ctx] for Monad[[X] => Ctx => X] {
delegate ReaderMonad[Ctx] for Monad[[X] =>> Ctx => X] {
def (r: Ctx => A) flatMap [A, B] (f: A => Ctx => B): Ctx => B =
ctx => f(r(ctx))(ctx)
def pure[A](x: A): Ctx => A =
Expand Down

0 comments on commit 4ac4185

Please sign in to comment.