WeightedT

object WeightedT extends WeightedTInstances
class WeightedTInstances
class WeightedTInstances0
class WeightedTInstances1
class WeightedTInstances2
class WeightedTInstances3
class WeightedTInstances4
class WeightedTInstances5
class WeightedTInstances6
class WeightedTInstances7
class WeightedTInstances8
class WeightedTInstances9
class WeightedTInstances10
class WeightedTInstances11
class WeightedTInstances12
class WeightedTInstances13
class WeightedTInstances14
class WeightedTInstances15
class Object
trait Matchable
class Any

Value members

Concrete methods

def apply[F[_], W, A](fwa: F[Weighted[W, A]]): WeightedT[F, W, A]
def fromWeighted[F[_], W, A](wa: Weighted[W, A])(using evidence$7: Applicative[F]): WeightedT[F, W, A]
def liftF[F[_], W, A](fa: F[A])(using evidence$3: Functor[F], evidence$4: MultiplicativeMonoid[W]): WeightedT[F, W, A]
def liftFunctionK[F[_], G[_], A](f: FunctionK[F, G]): FunctionK[[_] =>> WeightedT[F, A, _$10], [_] =>> WeightedT[G, A, _$11]]
def liftK[F[_], W](using evidence$5: Applicative[F], evidence$6: MultiplicativeMonoid[W]): FunctionK[F, [_] =>> WeightedT[F, W, _$6]]
def pure[F[_], W, A](a: A)(using evidence$1: Applicative[F], evidence$2: MultiplicativeMonoid[W]): WeightedT[F, W, A]

Givens

Inherited givens

given given_Alternative_WeightedT[F[_], W](using Alternative[F], Rig[W], Eq[W]): Alternative[[_] =>> WeightedT[F, W, _$72]]
Inherited from:
WeightedTInstances12
given given_ApplicativeError_WeightedT_E[F[_], W, E](using ApplicativeError[F, E], Rig[W], Eq[W]): ApplicativeError[[_] =>> WeightedT[F, W, _$70], E]
Inherited from:
WeightedTInstances11
given given_Applicative_WeightedT[F[_], W](using Applicative[F], Rig[W], Eq[W]): Applicative[[_] =>> WeightedT[F, W, _$82]]
Inherited from:
WeightedTInstances14
given given_Apply_WeightedT[F[_], W](using Apply[F], Rig[W], Eq[W]): Apply[[_] =>> WeightedT[F, W, _$86]]
Inherited from:
WeightedTInstances15
given given_Aux_WeightedT_WeightedT[M[_], W](using evidence$10: Rig[W], evidence$11: Eq[W], P: Parallel[M]): Aux[[_] =>> WeightedT[M, W, _$49], [_] =>> WeightedT[F, W, _$50]]
Inherited from:
WeightedTInstances7
given given_Clock_WeightedT[F[_], W, E](using Applicative[F], Clock[F], Rig[W], Eq[W]): Clock[[_] =>> WeightedT[F, W, _$37]]
Inherited from:
WeightedTInstances1
given given_ContravariantMonoidal_WeightedT[F[_], W](using ContravariantMonoidal[F]): ContravariantMonoidal[[_] =>> WeightedT[F, W, _$74]]
Inherited from:
WeightedTInstances12
given given_Contravariant_WeightedT[F[_], W](using Contravariant[F]): Contravariant[[_] =>> WeightedT[F, W, _$78]]
Inherited from:
WeightedTInstances13
given given_Defer_WeightedT[F[_], W](using F: Defer[F]): given_Defer_WeightedT[F, W]
Inherited from:
WeightedTInstances4
given given_Distribution_WeightedT_P_S[F[_], W, P, S](using evidence$8: Monad[F], evidence$9: Monoid[W], r: Distribution[F, P, S], d: Distribution[Density[F, W], P, S]): given_Distribution_WeightedT_P_S[F, W, P, S]
Inherited from:
WeightedTInstances
given given_Eq_WeightedT[F[_], W, A](using Eq[F[Weighted[W, A]]]): Eq[WeightedT[F, W, A]]
Inherited from:
WeightedTInstances8
given given_GenConcurrent_WeightedT_E[F[_], W, E](using GenConcurrent[F, E], Rig[W], Eq[W]): GenConcurrent[[_] =>> WeightedT[F, W, _$35], E]
Inherited from:
WeightedTInstances1
given given_GenSpawn_WeightedT_E[F[_], W, E](using ev1: GenSpawn[F, E], ev2: Rig[W], ev3: Eq[W]): GenSpawn[[_] =>> WeightedT[F, W, _$39], E]
Inherited from:
WeightedTInstances2
given given_GenTemporal_WeightedT_E[F[_], W, E](using GenTemporal[F, E], Rig[W], Eq[W]): GenTemporal[[_] =>> WeightedT[F, W, _$33], E]
Inherited from:
WeightedTInstances0
given given_Invariant_WeightedT[F[_], W](using Invariant[F]): Invariant[[_] =>> WeightedT[F, W, _$84]]
Inherited from:
WeightedTInstances14
given given_MonadCancel_WeightedT_E[F[_], W, E](using MonadCancel[F, E], Rig[W], Eq[W]): MonadCancel[[_] =>> WeightedT[F, W, _$41], E]
Inherited from:
WeightedTInstances3
given given_MonadError_WeightedT_E[F[_], W, E](using MonadError[F, E], Rig[W], Eq[W]): MonadError[[_] =>> WeightedT[F, W, _$47], E]
Inherited from:
WeightedTInstances7
given given_Monad_WeightedT[F[_], W](using Monad[F], Rig[W], Eq[W]): Monad[[_] =>> WeightedT[F, W, _$66]]
Inherited from:
WeightedTInstances9
given given_MonoidK_WeightedT[F[_], W](using MonoidK[F]): MonoidK[[_] =>> WeightedT[F, W, _$76]]
Inherited from:
WeightedTInstances13
given given_Monoid_WeightedT[F[_], W, A](using Monoid[F[Weighted[W, A]]]): Monoid[WeightedT[F, W, A]]
Inherited from:
WeightedTInstances9
given given_Order_WeightedT[F[_], W, A](using Ord: Order[F[Weighted[W, A]]]): given_Order_WeightedT[F, W, A]
Inherited from:
WeightedTInstances5
given given_PartialOrder_WeightedT[F[_], W, A](using Ord: PartialOrder[F[Weighted[W, A]]]): given_PartialOrder_WeightedT[F, W, A]
Inherited from:
WeightedTInstances6
given given_SemigroupK_WeightedT[F[_], W](using SemigroupK[F]): SemigroupK[[_] =>> WeightedT[F, W, _$80]]
Inherited from:
WeightedTInstances14
given given_Semigroup_WeightedT[F[_], W, A](using Semigroup[F[Weighted[W, A]]]): Semigroup[WeightedT[F, W, A]]
Inherited from:
WeightedTInstances10
given given_Show_WeightedT[F[_], W, A](using x$1: Show[F[Weighted[W, A]]]): given_Show_WeightedT[F, W, A]
Inherited from:
WeightedTInstances7
given given_Sync_WeightedT[F[_], W](using Sync[F], Rig[W], Eq[W]): Sync[[_] =>> WeightedT[F, W, _$31]]
Inherited from:
WeightedTInstances0
given schrodingerMonteCarloAsyncForWeightedT[F[_], W](using Async[F], Rig[W], Eq[W]): Async[[_] =>> WeightedT[F, W, _$26]]
Inherited from:
WeightedTInstances

Extensions

Extensions

extension [F[_], W, A](wfa: WeightedT[F, W, A])
def compare(that: WeightedT[F, W, A])(using Ord: Order[F[Weighted[W, A]]]): Int
def contramap[B](f: B => A)(using F: Contravariant[F]): WeightedT[F, W, B]
def flatMap[B](f: A => WeightedT[F, W, B])(using F: Monad[F], W0: Rig[W], W1: Eq[W]): WeightedT[F, W, B]
def flatMapF[B](f: A => F[Weighted[W, B]])(using F: Monad[F], W0: Rig[W], W1: Eq[W]): WeightedT[F, W, B]
def imap[B](f: A => B)(g: B => A)(using F: Invariant[F]): WeightedT[F, W, B]
def importance(f: A => W)(using F: Applicative[F], W0: Semifield[W], W1: Eq[W]): WeightedT[F, W, A]
def importanceF(f: A => F[W])(using F: Monad[F], W0: Semifield[W], W1: Eq[W]): WeightedT[F, W, A]
def map[B](f: A => B)(using F: Functor[F]): WeightedT[F, W, B]
def mapK[G[_]](f: FunctionK[F, G]): WeightedT[G, W, A]
def semiflatMap[B](f: A => F[B])(using F: Monad[F]): WeightedT[F, W, B]
def semiflatTap[B](f: A => F[B])(using F: Monad[F]): WeightedT[F, W, A]
def show(using F: Show[F[Weighted[W, A]]]): String
def subflatMap[B](f: A => Weighted[W, B])(using F: Functor[F], W0: Rig[W], W1: Eq[W]): WeightedT[F, W, B]
def value: F[Weighted[W, A]]