scalqa.val.idx.z.DefaultStream.scala Maven / Gradle / Ivy
package scalqa; package `val`; package idx; package z; import language.implicitConversions
private[scalqa] class DefaultStream[A](v: Idx[A]) extends ~[A] with Able.Size:
private var i = 0
private val sz = v.size
@tn("read_Opt") def read_? = { var o:Opt[A] = \/; if(i