/core/src/main/scala/scalaz/Length.scala
http://github.com/scalaz/scalaz · Scala · 25 lines · 10 code · 5 blank · 10 comment · 0 complexity · dfef1227deff5b3a761c81182fb13066 MD5 · raw file
- package scalaz
- ////
- /**
- *
- */
- ////
- @deprecated("Length is deprecated, use Foldable#length instead", "7.1")
- trait Length[F[_]] { self =>
- ////
- def length[A](fa: F[A]): Int
- // derived functions
- ////
- val lengthSyntax = new scalaz.syntax.LengthSyntax[F] { def F = Length.this }
- }
- @deprecated("Length is deprecated, use Foldable#length instead", "7.1")
- object Length {
- @inline def apply[F[_]](implicit F: Length[F]): Length[F] = F
- ////
- ////
- }