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

scalaz.Length.scala Maven / Gradle / Ivy

The newest version!
package org.specs2.internal.scalaz

////
/**
 *
 */
////
trait Length[F[_]]  { self =>
  ////
  def length[A](fa: F[A]): Int
  // derived functions

  ////
  val lengthSyntax = new org.specs2.internal.scalaz.syntax.LengthSyntax[F] { def F = Length.this }
}

object Length {
  @inline def apply[F[_]](implicit F: Length[F]): Length[F] = F

  ////

  ////
}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy