Class

cats.syntax

ListOpsBinCompat0

Related Doc: package syntax

Permalink

final class ListOpsBinCompat0[A] extends AnyVal

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ListOpsBinCompat0
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ListOpsBinCompat0(la: List[A])

    Permalink

Value Members

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

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

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

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

    Permalink
    Definition Classes
    Any
  5. def getClass(): Class[_ <: AnyVal]

    Permalink
    Definition Classes
    AnyVal → Any
  6. def groupByNec[B](f: (A) ⇒ B)(implicit B: Order[B]): SortedMap[B, NonEmptyChain[A]]

    Permalink

    Groups elements inside this List according to the Order of the keys produced by the given mapping function.

    Groups elements inside this List according to the Order of the keys produced by the given mapping function.

    scala> import cats.data.NonEmptyChain
    scala> import scala.collection.immutable.SortedMap
    scala> import cats.implicits._
    
    scala> val list = List(12, -2, 3, -5)
    
    scala> list.groupByNec(_ >= 0)
    res0: SortedMap[Boolean, NonEmptyChain[Int]] = Map(false -> Chain(-2, -5), true -> Chain(12, 3))
  7. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  8. def toString(): String

    Permalink
    Definition Classes
    Any

Inherited from AnyVal

Inherited from Any

Ungrouped