Trait/Object

http4s.extend.laws

EffectfulLaws

Related Docs: object EffectfulLaws | package laws

Permalink

sealed trait EffectfulLaws[F[_]] extends AnyRef

Effectful, together with its MonadError evidence, should abide by the same laws as cats.effect.Effect

The code below is adapted from the Cats Effect Laws: https://github.com/typelevel/cats-effect/tree/master/laws/shared/src/main/scala/cats/effect/laws

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. EffectfulLaws
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. implicit abstract def ev: Effectful[F]

    Permalink

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def asyncLeftIsRaiseError[A](e: Throwable): IsEq[F[A]]

    Permalink
  6. def asyncRightIsPure[A](a: A): IsEq[F[A]]

    Permalink

    Laws from cats.effect Async[F]

  7. def bindSuspendsEvaluation[A](fa: F[A], a1: A, f: (A, A) ⇒ A): IsEq[F[A]]

    Permalink
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def delayConstantIsPure[A](a: A): IsEq[F[A]]

    Permalink

    Laws from cats.effect Sync[F]

  10. def delayThrowIsRaiseError[A](e: Throwable): IsEq[F[A]]

    Permalink
  11. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  15. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. def mapSuspendsEvaluation[A](fa: F[A], a1: A, f: (A, A) ⇒ A): IsEq[F[A]]

    Permalink
  18. implicit def monadError: MonadError[F, Throwable]

    Permalink
  19. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. def propagateErrorsThroughBindAsync[A](t: Throwable): IsEq[F[Either[Throwable, A]]]

    Permalink
  23. def propagateErrorsThroughBindSuspend[A](t: Throwable): IsEq[F[A]]

    Permalink
  24. def repeatedAsyncEvaluationNotMemoized[A](a: A, f: (A) ⇒ A): IsEq[F[A]]

    Permalink
  25. def repeatedCallbackIgnored[A](a: A, f: (A) ⇒ A): IsEq[IO[A]]

    Permalink
  26. def repeatedSyncEvaluationNotMemoized[A](a: A, f: (A) ⇒ A): IsEq[F[A]]

    Permalink
  27. def runAsyncIgnoresErrorInHandler[A](e: Throwable): IsEq[IO[Unit]]

    Permalink
  28. def runAsyncPureProducesRightIO[A](a: A): IsEq[IO[Either[Throwable, A]]]

    Permalink

    Laws from cats.effect Effect[F]

  29. def runAsyncRaiseErrorProducesLeftIO[A](e: Throwable): IsEq[IO[Either[Throwable, A]]]

    Permalink
  30. def stackSafetyOnRepeatedAttempts: IsEq[F[Unit]]

    Permalink
  31. def stackSafetyOnRepeatedLeftBinds: IsEq[F[Unit]]

    Permalink
  32. def stackSafetyOnRepeatedMaps: IsEq[F[Int]]

    Permalink
  33. def stackSafetyOnRepeatedRightBinds: IsEq[F[Unit]]

    Permalink
  34. def suspendConstantIsPureJoin[A](fa: F[A]): IsEq[F[A]]

    Permalink
  35. def suspendThrowIsRaiseError[A](e: Throwable): IsEq[F[A]]

    Permalink
  36. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  37. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  38. def unsequencedDelayIsNoop[A](a: A, f: (A) ⇒ A): IsEq[F[A]]

    Permalink
  39. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped