Skip to content

Commit

Permalink
Remove FunctorEmpty and TraverseEmpty
Browse files Browse the repository at this point in the history
Issue typelevel#47
cf. https://github.com/typelevel/cats/pull/2405/files
One instance cannot be discovered in the RWSTT tests,
currently looking into that...
  • Loading branch information
stephen-lazaro committed Aug 21, 2018
1 parent af123f0 commit 8e2596a
Show file tree
Hide file tree
Showing 16 changed files with 2 additions and 834 deletions.
62 changes: 0 additions & 62 deletions core/src/main/scala/cats/mtl/FunctorEmpty.scala

This file was deleted.

58 changes: 0 additions & 58 deletions core/src/main/scala/cats/mtl/TraverseEmpty.scala

This file was deleted.

2 changes: 0 additions & 2 deletions core/src/main/scala/cats/mtl/hierarchy/BaseHierarchy.scala
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ trait BaseHierarchy extends BH0
object base extends BaseHierarchy

private[hierarchy] trait BH0 extends BH1 {
implicit final def functorEmptyFromTraverseEmpty[F[_]](implicit F: TraverseEmpty[F]): FunctorEmpty[F] = F.functorEmpty

implicit final def askFromLocal[F[_], E](implicit local: ApplicativeLocal[F, E]): ApplicativeAsk[F, E] = local.ask

implicit final def tellFromListen[F[_], L](implicit listen: FunctorListen[F, L]): FunctorTell[F, L] = listen.tell
Expand Down
1 change: 0 additions & 1 deletion core/src/main/scala/cats/mtl/instances/all.scala
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,5 @@ trait AllInstances extends EitherTInstances
with RaiseInstances with ReaderTInstances
with LocalInstances with StateInstances
with StateTInstances with WriterTInstances
with EmptyInstances with ReaderWriterStateTInstances
with HandleInstances
with ChronicleInstances with IorTInstances
Loading

0 comments on commit 8e2596a

Please sign in to comment.