Heavy

final case class Heavy[W, A](weight: W, density: W, value: A) extends Weighted[W, A]
class Weighted[W, A]
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def isWeightless: false

Inherited methods

final def ===[B >: A](that: Weighted[W, B])(using evidence$3: Eq[B], Eq[W]): Boolean
Inherited from:
Weighted
final def imap[B](f: A => B)(g: B => A): Weighted[W, B]
Inherited from:
Weighted
final def importance(f: A => W)(using Semifield[W], Eq[W]): Weighted[W, A]
Inherited from:
Weighted
final def importanceA[F[_]](f: A => F[W])(using evidence$1: Applicative[F], Semifield[W], Eq[W]): F[Weighted[W, A]]
Inherited from:
Weighted
final def isHeavy: Boolean
Inherited from:
Weighted
final def product[B](b: Weighted[W, B])(using Semiring[W], Eq[W]): Weighted[W, (A, B)]
Inherited from:
Weighted
Inherited from:
Product
final def show[B >: A](using evidence$2: Show[B], Show[W]): String
Inherited from:
Weighted
final override def toString: String
Definition Classes
Weighted -> Any
Inherited from:
Weighted