Skip to content

Commit

Permalink
remove unused StubIO
Browse files Browse the repository at this point in the history
  • Loading branch information
goshacodes committed Jan 9, 2025
1 parent 1817e1f commit 2b3c1f4
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions core/shared/src/main/scala/org/scalamock/stubs/StubIO.scala
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,4 @@ trait StubIO[F[+_, +_]]:
type Underlying[+A, +B] = F[A, B]

def succeed[T](t: => T): F[Nothing, T]
def flatMap[E, EE >: E, T, T2](fa: F[E, T])(f: T => F[EE, T2]): F[EE, T2]

private[stubs]
object StubIO:
trait Mono[F[+_]]:
def succeed[T](t: => T): F[T]
def flatMap[E, EE >: E, T, T2](fa: F[T])(f: T => F[T2]): F[T2]
def flatMap[E, EE >: E, T, T2](fa: F[E, T])(f: T => F[EE, T2]): F[EE, T2]

0 comments on commit 2b3c1f4

Please sign in to comment.