shapeless.ops

tuple

Related Doc: package ops

object tuple

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. tuple
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. trait At[T, N <: Nat] extends DepFn1[T]

    Type class supporting access to the nth element of this tuple.

    Type class supporting access to the nth element of this tuple. Available only if this tuple has at least n elements.

  2. trait Collect[T, P <: Poly] extends DepFn1[T]

    Type Class witnessing that this tuple can be collected with a 'Poly' to produce a new tuple

  3. trait ConstMapper[T, C] extends DepFn2[T, C]

    Type class supporting mapping a constant valued function over this tuple.

  4. trait Drop[T, N <: Nat] extends DepFn1[T]

    Type class supporting removal of the first n elements of this tuple.

    Type class supporting removal of the first n elements of this tuple. Available only if this tuple has at least n elements.

  5. trait Fill[N, A] extends DepFn1[A]

    Type class supporting producing a tuple of shape N filled with elements of type A.

  6. trait Filter[T, U] extends DepFn1[T]

    Type class supporting access to the all elements of this tuple of type U.

  7. trait FilterNot[T, U] extends DepFn1[T]

    Type class supporting access to the all elements of this tuple of type different than U.

  8. trait FlatMapper[T, P] extends DepFn1[T]

    Type class supporting flatmapping a higher ranked function over this tuple.

  9. trait Init[T] extends DepFn1[T]

    Type class supporting access to all but the last element of this tuple.

    Type class supporting access to all but the last element of this tuple. Available only if this tuple has at least one element.

  10. trait IsComposite[P] extends AnyRef

    Type class witnessing that this tuple is composite and providing access to head and tail.

  11. trait Last[T] extends DepFn1[T]

    Type class supporting access to the last element of this tuple.

    Type class supporting access to the last element of this tuple. Available only if this tuple has at least one element.

  12. trait LeftFolder[T, U, P] extends DepFn2[T, U]

    Type class supporting left-folding a polymorphic binary function over this tuple.

  13. trait LeftReducer[T, P] extends DepFn1[T]

    Type class supporting left-reducing a polymorphic binary function over this tuple.

  14. trait LeftScanner[T, In, P <: Poly] extends DepFn2[T, In]

    Type class supporting left-scanning a binary polymorphic function over this tuple.

  15. trait Length[T] extends DepFn1[T]

    Type class supporting computing the type-level Nat corresponding to the length of this tuple.

  16. trait MapFolder[T, R, P] extends AnyRef

    Type class supporting mapping a polymorphic function over this tuple and then folding the result using a monomorphic function value.

  17. trait Mapper[T, P] extends DepFn1[T]

    Type class supporting mapping a higher ranked function over this tuple.

  18. trait Modifier[T, U, V] extends DepFn2[T, (U) ⇒ V]

    Type class supporting replacement of the first element of type U from this tuple with the result of its transformation via a given function into a new element of type V.

    Type class supporting replacement of the first element of type U from this tuple with the result of its transformation via a given function into a new element of type V. Available only if this tuple contains an element of type U.

  19. trait Patcher[N <: Nat, M <: Nat, T, InT] extends DepFn2[T, InT]

    Type class supporting the patching of a tuple.

  20. trait Permutations[T] extends DepFn1[T]

    Typer class supporting the calculation of every permutation of this tuple

  21. trait Prepend[T, U] extends DepFn2[T, U]

    Type class supporting prepending to this tuple.

  22. trait Remove[T, U] extends DepFn1[T]

    Type class supporting removal of an element from this tuple.

    Type class supporting removal of an element from this tuple. Available only if this tuple contains an element of type U.

  23. trait RemoveAll[T, S] extends DepFn1[T]

    Type class supporting removal of a sublist from this tuple.

    Type class supporting removal of a sublist from this tuple. Available only if this tuple contains a sublist of type SL.

    The elements of SL do not have to be contiguous in this tuple.

  24. trait ReplaceAt[T, N <: Nat, U] extends DepFn2[T, U]

    Type class supporting replacement of the Nth element of this tuple with an element of type V.

    Type class supporting replacement of the Nth element of this tuple with an element of type V. Available only if this tuple contains at least N elements.

  25. trait Replacer[T, U, V] extends DepFn2[T, U]

    Type class supporting replacement of the first element of type U from this tuple with an element of type V.

    Type class supporting replacement of the first element of type U from this tuple with an element of type V. Available only if this tuple contains an element of type U.

  26. trait Reverse[T] extends DepFn1[T]

    Type class supporting reversing this tuple.

  27. trait ReversePrepend[T, U] extends DepFn2[T, U]

    Type class supporting reverse prepending to this tuple.

  28. trait ReverseSplit[T, N <: Nat] extends DepFn1[T]

    Type class supporting splitting this tuple at the nth element returning the reverse prefix and suffix as a pair.

    Type class supporting splitting this tuple at the nth element returning the reverse prefix and suffix as a pair. Available only if this tuple has at least n elements.

  29. trait ReverseSplitLeft[T, U] extends DepFn1[T]

    Type class supporting splitting this tuple at the first occurrence of an element of type U returning the reverse prefix and suffix as a pair.

    Type class supporting splitting this tuple at the first occurrence of an element of type U returning the reverse prefix and suffix as a pair. Available only if this tuple contains an element of type U.

  30. trait ReverseSplitRight[T, U] extends DepFn1[T]

    Type class supporting splitting this tuple at the last occurrence of an element of type U returning the reverse prefix and suffix as a pair.

    Type class supporting splitting this tuple at the last occurrence of an element of type U returning the reverse prefix and suffix as a pair. Available only if this tuple contains an element of type U.

  31. trait RightFolder[T, U, P] extends DepFn2[T, U]

    Type class supporting right-folding a polymorphic binary function over this tuple.

  32. trait RightReducer[T, P] extends DepFn1[T]

    Type class supporting right-reducing a polymorphic binary function over this tuple.

  33. trait RightScanner[T, In, P <: Poly] extends DepFn2[T, In]

    Type class supporting right-scanning a binary polymorphic function over this tuple.

  34. trait RotateLeft[T, N <: Nat] extends DepFn1[T]

    Type class supporting rotating a tuple left

  35. trait RotateRight[T, N <: Nat] extends DepFn1[T]

    Type class supporting rotating a tuple right

  36. trait Selector[T, U] extends DepFn1[T]

    Type class supporting access to the first element of this tuple of type U.

    Type class supporting access to the first element of this tuple of type U. Available only if this tuple contains an element of type U.

  37. trait Split[T, N <: Nat] extends DepFn1[T]

    Type class supporting splitting this tuple at the nth element returning the prefix and suffix as a pair.

    Type class supporting splitting this tuple at the nth element returning the prefix and suffix as a pair. Available only if this tuple has at least n elements.

  38. trait SplitLeft[T, U] extends DepFn1[T]

    Type class supporting splitting this tuple at the first occurrence of an element of type U returning the prefix and suffix as a pair.

    Type class supporting splitting this tuple at the first occurrence of an element of type U returning the prefix and suffix as a pair. Available only if this tuple contains an element of type U.

  39. trait SplitRight[T, U] extends DepFn1[T]

    Type class supporting splitting this tuple at the last occurrence of an element of type U returning the prefix and suffix as a pair.

    Type class supporting splitting this tuple at the last occurrence of an element of type U returning the prefix and suffix as a pair. Available only if this tuple contains an element of type U.

  40. trait SubtypeUnifier[T, B] extends DepFn1[T]

    Type class supporting unification of all elements that are subtypes of B in this tuple to B, with all other elements left unchanged.

  41. trait Take[T, N <: Nat] extends DepFn1[T]

    Type class supporting retrieval of the first n elements of this tuple.

    Type class supporting retrieval of the first n elements of this tuple. Available only if this tuple has at least n elements.

  42. trait ToArray[T, Lub] extends DepFn1[T]

    Type class supporting conversion of this tuple to an Array with elements typed as the least upper bound of the types of the elements of this tuple.

    Type class supporting conversion of this tuple to an Array with elements typed as the least upper bound of the types of the elements of this tuple.

    Provided for backward compatibility.

  43. trait ToList[T, Lub] extends DepFn1[T]

    Type class supporting conversion of this tuple to a List with elements typed as the least upper bound of the types of the elements of this tuple.

    Type class supporting conversion of this tuple to a List with elements typed as the least upper bound of the types of the elements of this tuple.

    Provided for backward compatibility.

  44. trait ToSized[T, M[_]] extends DepFn1[T]

    Type class supporting conversion of this tuple to a Sized[M[Lub], N] with elements typed as the least upper bound Lub of the types of the elements of this tuple.

  45. trait ToTraversable[T, M[_]] extends DepFn1[T]

    Type class supporting conversion of this tuple to a M with elements typed as the least upper bound of the types of the elements of this tuple.

  46. trait Transposer[T] extends DepFn1[T]

    Type class supporting transposing this tuple.

  47. trait Unifier[T] extends DepFn1[T]

    Type class supporting unification of this tuple.

  48. trait ZipApply[FT, AT] extends DepFn2[FT, AT]

    Type class supporting zipping this this tuple of monomorphic function values with its argument tuple of correspondingly typed function arguments returning the result of each application as a tuple.

    Type class supporting zipping this this tuple of monomorphic function values with its argument tuple of correspondingly typed function arguments returning the result of each application as a tuple. Available only if there is evidence that the corresponding function and argument elements have compatible types.

  49. trait ZipConst[T, C] extends DepFn2[T, C]

    Type class supporting zipping a tuple with a constant, resulting in a tuple of tuples of the form ({element from input tuple}, {supplied constant})

  50. trait ZipOne[H, T] extends DepFn2[H, T]

    Type class supporting zipping this tuple with a tuple of tuples returning a tuple of tuples with each element of this tuple prepended to the corresponding tuple element of the argument tuple.

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. object At

  5. object Collect

  6. object ConstMapper

  7. object Drop

  8. object Fill

  9. object Filter

  10. object FilterNot

  11. object FlatMapper

  12. object Init

  13. object IsComposite

  14. object Last

  15. object LeftFolder

  16. object LeftReducer

  17. object LeftScanner

  18. object Length

  19. object MapFolder

  20. object Mapper

  21. object Modifier

  22. object Patcher

  23. object Permutations

  24. object Prepend

  25. object Remove

  26. object RemoveAll

  27. object ReplaceAt

  28. object Replacer

  29. object Reverse

  30. object ReversePrepend

  31. object ReverseSplit

  32. object ReverseSplitLeft

  33. object ReverseSplitRight

  34. object RightFolder

  35. object RightReducer

  36. object RightScanner

  37. object RotateLeft

  38. object RotateRight

  39. object Selector

  40. object Split

  41. object SplitLeft

  42. object SplitRight

  43. object SubtypeUnifier

  44. object Take

  45. object ToArray

  46. object ToList

  47. object ToSized

  48. object ToTraversable

  49. object Transposer

  50. object Unifier

  51. object ZipApply

  52. object ZipConst

  53. object ZipOne

  54. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  55. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  56. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  57. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  58. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  59. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  60. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  61. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  62. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  63. final def notify(): Unit

    Definition Classes
    AnyRef
  64. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  65. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  66. def toString(): String

    Definition Classes
    AnyRef → Any
  67. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  68. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  69. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped