case class Zipper[A](family: MTree[A], index: Int = 0, parents: List[Zipper[A]] = Nil) extends Product with Serializable
TODO try to generalize this Zipper to the different kinds of trees instead of just the MTree
- a alternate type indexer
- use a Either based Index-er TODO try to add some variance to this zipper type
- Source
- tree.scala
- Alphabetic
- By Inheritance
- Zipper
- Serializable
- Product
- Equals
- AnyRef
- Any
- by richDrxAny
- by DrxBoundOps
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Instance Constructors
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- def ->[B](y: B): (Zipper[A], B)
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def applyIf(t: Boolean, f: (Zipper[A]) => Zipper[A]): Zipper[A]
- Implicit
- This member is added by an implicit conversion from Zipper[A] toDrxAny[Zipper[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def applyIf(t: (Zipper[A]) => Boolean)(f: (Zipper[A]) => Zipper[A]): Zipper[A]
better chaining for types
better chaining for types
- Implicit
- This member is added by an implicit conversion from Zipper[A] toDrxAny[Zipper[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def depth: Int
- def down(i: Int): ZOpt[A]
- def elementOf(xs: Set[Zipper[A]]): Boolean
- Implicit
- This member is added by an implicit conversion from Zipper[A] toDrxAny[Zipper[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def ensuring(cond: (Zipper[A]) => Boolean, msg: => Any): Zipper[A]
- def ensuring(cond: (Zipper[A]) => Boolean): Zipper[A]
- def ensuring(cond: Boolean, msg: => Any): Zipper[A]
- def ensuring(cond: Boolean): Zipper[A]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val family: MTree[A]
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def formatted(fmtstr: String): String
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val index: Int
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def left: ZOpt[A]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def next: ZOpt[A]
- def node: MTree[A]
- def noneIf(f: (Zipper[A]) => Boolean): Option[Zipper[A]]
- Implicit
- This member is added by an implicit conversion from Zipper[A] toDrxAny[Zipper[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def optionIf(f: (Zipper[A]) => Boolean): Option[Zipper[A]]
optionally wrap an object
optionally wrap an object
- Implicit
- This member is added by an implicit conversion from Zipper[A] toDrxAny[Zipper[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def parent: ZOpt[A]
- val parents: List[Zipper[A]]
- def preApply[B](f: (Zipper[A]) => B): B
a preApply f => f(a)
a preApply f => f(a)
- Implicit
- This member is added by an implicit conversion from Zipper[A] toDrxAny[Zipper[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def right: ZOpt[A]
- def sibling(i: Int): ZOpt[A]
- def sideEffect(f: (Zipper[A]) => Unit): Zipper[A]
side effect filter
side effect filter
- Implicit
- This member is added by an implicit conversion from Zipper[A] toDrxAny[Zipper[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def someIf(f: (Zipper[A]) => Boolean): Option[Zipper[A]]
- Implicit
- This member is added by an implicit conversion from Zipper[A] toDrxAny[Zipper[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val thisAny: Zipper[A]
- Implicit
- This member is added by an implicit conversion from Zipper[A] toDrxAny[Zipper[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def till(maxArg: Zipper[A]): Bound[Zipper[A]]
Bound construction since the Range constructor is deprecated
Bound construction since the Range constructor is deprecated
- def toKson: String
- def toString(): String
- Definition Classes
- Zipper → AnyRef → Any
- def up: ZOpt[A]
- def value: A
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
Deprecated Value Members
- def ?>(f: (Zipper[A]) => Boolean): Option[Zipper[A]]
alias for option if
alias for option if
- Implicit
- This member is added by an implicit conversion from Zipper[A] toDrxAny[Zipper[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- Annotations
- @deprecated
- Deprecated
(Since version v0.2.15) to many symbols are hard to undertand
- def |>[B](f: (Zipper[A]) => B): B
- Implicit
- This member is added by an implicit conversion from Zipper[A] toDrxAny[Zipper[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- Annotations
- @deprecated
- Deprecated
(Since version v0.2.15) use
preApply
if you must (symbols are concise without concision)
- def →[B](y: B): (Zipper[A], B)
- Implicit
- This member is added by an implicit conversion from Zipper[A] toArrowAssoc[Zipper[A]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.