scalqa.lang.float.g.Idx.scala Maven / Gradle / Ivy
package scalqa; package lang; package float; package g; import language.implicitConversions
trait Idx[A<:RAW] extends Val.Idx[A] with Collection[A]:
/**/ def apply(i: Int) : A
@tn("stream") override def ~ : Stream[A] = Z.Stream_ofIdx(this)
/**/ override def contains(v: A): Boolean = {var i=0; val sz=size; while(i