Skip to content

Commit

Permalink
Use kind-projector syntax in FreeAp
Browse files Browse the repository at this point in the history
  • Loading branch information
markus1189 committed May 11, 2015
1 parent cf547c8 commit 31518f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/scala/scalaz/FreeAp.scala
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ sealed abstract class FreeAp[F[_],A] {
* Embeds this program in the free monad on `F`.
*/
def monadic(implicit F: Functor[F]): Free[F,A] =
foldMap[({type λ[α] = Free[F,α]})#λ](new (F ~> ({type λ[α] = Free[F,α]})#λ) {
foldMap[Free[F,?]](new (F ~> Free[F,?]) {
def apply[B](fb: F[B]) = Free.liftF(fb)
})

Expand Down

0 comments on commit 31518f9

Please sign in to comment.