Prefixed

@implicitNotFound("Could not find an instance of Prefixed[${S}, ${T}]")
trait Prefixed[S, T] extends Serializable

The Prefixed typeclass provides a Prism for a way to prepend or remove elements on the left side of a structure.

Type parameters:
S

the source of a Prism

T

the focus of a Prism

Companion:
object
class Object
trait Matchable
class Any

Value members

Abstract methods

def prefix(s: S): Prism[S, T]