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] with Serializable

    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] with Serializable

    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] with Serializable

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

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

    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] with Serializable

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

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

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

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

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

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

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

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

    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 Serializable

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

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

    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] with Serializable

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

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

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

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

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

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

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

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

    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] with Serializable

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

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

    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] with Serializable

    Type class supporting the patching of a tuple.

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

    Typer class supporting the calculation of every permutation of this tuple

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

    Type class supporting prepending to this tuple.

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

    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] with Serializable

    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] with Serializable

    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] with Serializable

    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] with Serializable

    Type class supporting reversing this tuple.

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

    Type class supporting reverse prepending to this tuple.

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

    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] with Serializable

    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] with Serializable

    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] with Serializable

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

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

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

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

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

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

    Type class supporting rotating a tuple left

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

    Type class supporting rotating a tuple right

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

    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] with Serializable

    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] with Serializable

    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] with Serializable

    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] with Serializable

    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] with Serializable

    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] with Serializable

    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] with Serializable

    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] with Serializable

    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] with Serializable

    Type class supporting transposing this tuple.

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

    Type class supporting unification of this tuple.

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

    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] with Serializable

    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] with Serializable

    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 extends Serializable

  5. object Collect extends Serializable

  6. object ConstMapper extends Serializable

  7. object Drop extends Serializable

  8. object Fill extends Serializable

  9. object Filter extends Serializable

  10. object FilterNot extends Serializable

  11. object FlatMapper extends Serializable

  12. object Init extends Serializable

  13. object IsComposite extends Serializable

  14. object Last extends Serializable

  15. object LeftFolder extends Serializable

  16. object LeftReducer extends Serializable

  17. object LeftScanner extends Serializable

  18. object Length extends Serializable

  19. object MapFolder extends Serializable

  20. object Mapper extends Serializable

  21. object Modifier extends Serializable

  22. object Patcher extends Serializable

  23. object Permutations extends Serializable

  24. object Prepend extends Serializable

  25. object Remove extends Serializable

  26. object RemoveAll extends Serializable

  27. object ReplaceAt extends Serializable

  28. object Replacer extends Serializable

  29. object Reverse extends Serializable

  30. object ReversePrepend extends Serializable

  31. object ReverseSplit extends Serializable

  32. object ReverseSplitLeft extends Serializable

  33. object ReverseSplitRight extends Serializable

  34. object RightFolder extends Serializable

  35. object RightReducer extends Serializable

  36. object RightScanner extends Serializable

  37. object RotateLeft extends Serializable

  38. object RotateRight extends Serializable

  39. object Selector extends Serializable

  40. object Split extends Serializable

  41. object SplitLeft extends Serializable

  42. object SplitRight extends Serializable

  43. object SubtypeUnifier extends Serializable

  44. object Take extends Serializable

  45. object ToArray

  46. object ToList extends Serializable

  47. object ToSized extends Serializable

  48. object ToTraversable extends Serializable

  49. object Transposer extends Serializable

  50. object Unifier extends Serializable

  51. object ZipApply extends Serializable

  52. object ZipConst extends Serializable

  53. object ZipOne extends Serializable

  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