All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.tarao.collection.Implicits.scala Maven / Gradle / Ivy

The newest version!
package com.github.tarao
package collection

import collection.relation.Join
import scala.language.higherKinds

object Implicits {
  import scala.language.implicitConversions

  implicit def iterableOps[ItLike, A, It[X] <: IterableLike[X, It, It[X]]](
    it: ItLike
  )(implicit toIt: ItLike => It[A]): IterableOps[A, It] =
    new IterableOps(toIt(it))

  class IterableOps[A, It[X] <: IterableLike[X, It, It[X]]](
    override protected val it: It[A]
  ) extends AnyVal with collection.IterableOps[A, It]
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy