InitLast

sealed trait InitLast[A, B] extends Serializable

Type class supporting accessing both the init (all but the last element) and the last element of a tuple.

Companion:
object
Source:
InitLast.scala
class Object
trait Matchable
class Any

Type members

Types

type C <: Product

Value members

Abstract methods

def init(c: C): A
def last(c: C): B