cps.monads
Members list
Type members
Classlikes
FreeCpsMonad with async support. Used when you want use test free monad with API which uses callbacks.
FreeCpsMonad with async support. Used when you want use test free monad with API which uses callbacks.
Attributes
- Companion
- object
- Source
- FreeCpsMonad.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
Attributes
- Companion
- trait
- Source
- FreeCpsMonad.scala
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
AsyncFreeMonad.type
Attributes
- Source
- CompletableFutureCpsMonad.scala
- Supertypes
-
class Objecttrait Matchableclass AnyShow all
- Self type
Attributes
- Source
- CpsIdentityMonad.scala
- Supertypes
-
trait CpsTryMonad[CpsIdentity]trait CpsTrySupport[CpsIdentity]trait CpsThrowMonad[CpsIdentity]trait CpsThrowSupport[CpsIdentity]trait CpsMonad[CpsIdentity]class Objecttrait Matchableclass AnyShow all
- Self type
-
CpsIdentityMonad.type
Attributes
- Source
- FutureAsyncMonad.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class FutureContext
Implementation for FreeCpsMonad. It is intentionally defiend at top-level, to fire 'implicitAmbigious' error when async is called without parameters and without select instance of CpsMonad in scope.
Implementation for FreeCpsMonad. It is intentionally defiend at top-level, to fire 'implicitAmbigious' error when async is called without parameters and without select instance of CpsMonad in scope.
Attributes
- Source
- FreeCpsMonad.scala
- Supertypes
-
trait CpsTryMonad[FreeMonad]trait CpsTrySupport[FreeMonad]trait CpsThrowMonad[FreeMonad]trait CpsThrowSupport[FreeMonad]class Objecttrait Matchableclass AnyShow all
- Self type
-
FreeCpsMonad.type
FreeCpsMonad Typical pattern - use FreeCpsMonad and custom interpreter in test.
FreeCpsMonad Typical pattern - use FreeCpsMonad and custom interpreter in test.
Attributes
- Companion
- object
- Source
- FreeCpsMonad.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
Attributes
- Companion
- trait
- Source
- FreeCpsMonad.scala
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
FreeMonad.type
Default CpsMonad implementation for Future
Default CpsMonad implementation for Future
Attributes
- Source
- FutureAsyncMonad.scala
- Supertypes
-
trait CpsSchedulingMonad[Future]trait CpsConcurrentMonad[Future]trait CpsAsyncMonad[Future]trait CpsTryMonad[Future]trait CpsTrySupport[Future]trait CpsThrowMonad[Future]trait CpsThrowSupport[Future]trait CpsMonad[Future]class Objecttrait Matchableclass AnyShow all
Attributes
- Source
- FutureAsyncMonad.scala
- Supertypes
-
trait ExecutionContextProvidertrait CpsTryMonadContext[Future]trait CpsThrowMonadContext[Future]trait CpsMonadContext[Future]class Objecttrait Matchableclass AnyShow all
Monad for iterable collection. typical usage:
Monad for iterable collection. typical usage:
def allpairs[A](l:List[A]):List((A,A)) = reify[List] {
(reflect(l),reflect(l))
}
Attributes
- Source
- IterableCpsMonad.scala
- Supertypes
-
trait CpsThrowMonadInstanceContext[C]trait CpsThrowMonad[C]trait CpsThrowSupport[C]trait CpsMonad[C]class Objecttrait Matchableclass AnyShow all
Attributes
- Source
- TailRecCpsMonad.scala
- Supertypes
-
trait CpsThrowMonadInstanceContext[TailRec]trait CpsThrowMonad[TailRec]trait CpsThrowSupport[TailRec]trait CpsMonad[TailRec]class Objecttrait Matchableclass AnyShow all
- Self type
Types
Dependency-less version of IdentityMonad
Value members
Concrete methods
Timed await -- await for future or throw TimeoutException after duration
Timed await -- await for future or throw TimeoutException after duration
Attributes
- Source
- TimedAwait.scala
Attributes
- Source
- TimedAwait.scala
Givens
Givens
Attributes
Implementation for FreeCpsMonad. It is intentionally defiend at top-level, to fire 'implicitAmbigious' error when async is called without parameters and without select instance of CpsMonad in scope.
Implementation for FreeCpsMonad. It is intentionally defiend at top-level, to fire 'implicitAmbigious' error when async is called without parameters and without select instance of CpsMonad in scope.
Attributes
- Source
- FreeCpsMonad.scala
Attributes
- Source
- FutureAsyncMonad.scala
Attributes
- Source
- FutureAsyncMonad.scala
Attributes
- Source
- IterableCpsMonad.scala
Attributes
- Source
- TailRecCpsMonad.scala
Attributes
- Source
- CpsIdentityMonad.scala
Attributes
- Source
- IterableCpsMonad.scala
Attributes
- Source
- FutureAsyncMonad.scala
Extensions
Extensions
Create a future which will return true or false fa
has no completed duriong duration
Create a future which will return true or false fa
has no completed duriong duration
Attributes
- Source
- TimedAwait.scala
Create a future which will return true or false fa
has no completed duriong duration
Create a future which will return true or false fa
has no completed duriong duration
Attributes
- Source
- TimedAwait.scala
Create a future which will return or value of original future fa
or raise a timeout exception, if fa
has no completed duriong duration
Create a future which will return or value of original future fa
or raise a timeout exception, if fa
has no completed duriong duration
Attributes
- Source
- TimedAwait.scala