enum ViewRight[t: Type] with Eq
case NoneRight
case SomeRight(Chain[t], t)
A datatype for pattern matching on a chain (traversing right-to-left).
instance Eq[ViewRight[t]] with Eq[t]