Skip to content

Commit

Permalink
Remove FunctorEmpty and TraverseEmpty (#51)
Browse files Browse the repository at this point in the history
* Remove FunctorEmpty and TraverseEmpty

Issue #47
cf. https://github.com/typelevel/cats/pull/2405/files
One instance cannot be discovered in the RWSTT tests,
currently looking into that...

* Add back ReaderWriterStateTInstances

Adds back accidentally deleted instances
  • Loading branch information
stephen-lazaro authored and Luka Jacobowitz committed Sep 6, 2018
1 parent dbc7a59 commit a5105e6
Show file tree
Hide file tree
Showing 15 changed files with 1 addition and 832 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
2 changes: 1 addition & 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,6 @@ trait AllInstances extends EitherTInstances
with RaiseInstances with ReaderTInstances
with LocalInstances with StateInstances
with StateTInstances with WriterTInstances
with EmptyInstances with ReaderWriterStateTInstances
with ReaderWriterStateTInstances
with HandleInstances
with ChronicleInstances with IorTInstances
Loading

0 comments on commit a5105e6

Please sign in to comment.