Object

shapeless.ops

hlist

Related Doc: package ops

Permalink

object hlist

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

Type Members

  1. trait Align[L <: HList, M <: HList] extends (L) ⇒ M with Serializable

    Permalink

    Type class supporting permuting this HList into the same order as another HList with the same element types.

  2. trait At[L <: HList, N <: Nat] extends DepFn1[L] with Serializable

    Permalink

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

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

    Annotations
    @implicitNotFound( ... )
  3. trait Collect[I <: HList, P <: Poly] extends DepFn1[I] with Serializable

    Permalink

    Type Class witnessing that an 'HList' can be collected with a 'Poly' to produce an 'HList'

  4. trait Comapped[L <: HList, F[_]] extends Serializable

    Permalink

    Type class witnessing that the result of stripping type constructor F off each element of HList L is Out.

  5. trait ConstMapper[C, L <: HList] extends DepFn2[C, L] with Serializable

    Permalink

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

  6. trait Drop[L <: HList, N <: Nat] extends DepFn1[L] with Serializable

    Permalink

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

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

    Annotations
    @implicitNotFound( ... )
  7. trait Fill[N, A] extends DepFn1[A] with Serializable

    Permalink

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

  8. trait Filter[L <: HList, U] extends DepFn1[L] with Serializable

    Permalink

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

  9. trait FilterNot[L <: HList, U] extends DepFn1[L] with Serializable

    Permalink

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

  10. trait FlatMapInterleave[A, M <: HList] extends DepFn2[A, M] with Serializable

    Permalink

    Type class supporting interleaving an element into each row of this HMatrix (HList of HLists)

  11. trait FlatMapper[HF, In <: HList] extends DepFn1[In] with Serializable

    Permalink

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

  12. final case class HConsHKernel[H, T <: HKernel](tail: T) extends HKernel with Product with Serializable

    Permalink
  13. trait HKernel extends AnyRef

    Permalink

    Type class providing minimally witnessed operations on HLists which can be derived from L by wrapping each of its elements in a type constructor.

  14. trait HKernelAux[L <: HList] extends DepFn0

    Permalink
  15. trait HNilHKernel extends HKernel

    Permalink
  16. trait Init[L <: HList] extends DepFn1[L] with Serializable

    Permalink

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

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

    Annotations
    @implicitNotFound( ... )
  17. trait Interleave[A, L <: HList] extends DepFn2[A, L] with Serializable

    Permalink

    Type class supporting adding an element to each possible position in this HList

  18. trait IsHCons[L <: HList] extends Serializable

    Permalink

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

  19. trait Last[L <: HList] extends DepFn1[L] with Serializable

    Permalink

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

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

    Annotations
    @implicitNotFound( ... )
  20. trait LeftFolder[L <: HList, In, HF] extends DepFn2[L, In] with Serializable

    Permalink

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

  21. trait LeftReducer[L <: HList, HF] extends DepFn1[L] with Serializable

    Permalink

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

  22. trait LeftScanner[L <: HList, In, P <: Poly] extends DepFn2[L, In] with Serializable

    Permalink

    Type class supporting left scanning of this HList with a binary polymorphic function.

  23. trait Length[L <: HList] extends DepFn0 with Serializable

    Permalink

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

  24. trait LowPriorityCollect extends AnyRef

    Permalink
  25. trait LowPriorityComapped extends AnyRef

    Permalink
  26. trait LowPriorityPrepend extends LowestPriorityPrepend

    Permalink
  27. trait LowPriorityReversePrepend extends AnyRef

    Permalink
  28. trait LowPriorityRotateLeft extends AnyRef

    Permalink
  29. trait LowPriorityRotateRight extends AnyRef

    Permalink
  30. trait LowestPriorityPrepend extends AnyRef

    Permalink
  31. trait MapCons[A, M <: HList] extends DepFn2[A, M] with Serializable

    Permalink
  32. trait MapFolder[L <: HList, R, HF] extends Serializable

    Permalink

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

  33. trait Mapped[L <: HList, F[_]] extends Serializable

    Permalink

    Type class witnessing that the result of wrapping each element of HList L in type constructor F is Out.

  34. trait Mapper[HF, In <: HList] extends DepFn1[In] with Serializable

    Permalink

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

  35. trait Modifier[L <: HList, U, V] extends DepFn2[L, (U) ⇒ V] with Serializable

    Permalink

    Type class supporting replacement of the first element of type U from this HList 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 HList with the result of its transformation via a given function into a new element of type V. Available only if this HList contains an element of type U.

    Annotations
    @implicitNotFound( ... )
  36. trait NatTRel[L1 <: HList, F1[_], L2 <: HList, F2[_]] extends Serializable

    Permalink

    Type class witnessing that HLists L1 and L2 have elements of the form F1[Ln] and F2[Ln] respectively for all indices n.

    Type class witnessing that HLists L1 and L2 have elements of the form F1[Ln] and F2[Ln] respectively for all indices n. This implies that a natural transform F1 ~> F2 will take a list of type L1 onto a list of type L2.

  37. trait Partition[L <: HList, U] extends DepFn1[L] with Serializable

    Permalink

    Type class supporting partitioning this HList into those elements of type U and the remainder

  38. trait Patcher[N <: Nat, M <: Nat, L <: HList, In <: HList] extends DepFn2[L, In] with Serializable

    Permalink

    Type class supporting the patching of an HList

  39. trait Permutations[L <: HList] extends DepFn1[L] with Serializable

    Permalink

    Type class supporting the calculation of every permutation of this 'HList'

  40. trait Prepend[P <: HList, S <: HList] extends DepFn2[P, S] with Serializable

    Permalink

    Type class supporting prepending to this HList.

  41. trait Remove[L <: HList, E] extends DepFn1[L] with Serializable

    Permalink

    Type class supporting removal of an element from this HList.

    Type class supporting removal of an element from this HList. Available only if this HList contains an element of type E.

    Annotations
    @implicitNotFound( ... )
  42. trait RemoveAll[L <: HList, SL <: HList] extends DepFn1[L] with Serializable

    Permalink

    Type class supporting removal of a sublist from this HList.

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

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

    Annotations
    @implicitNotFound( ... )
  43. trait ReplaceAt[L <: HList, N <: Nat, V] extends DepFn2[L, V] with Serializable

    Permalink

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

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

    Annotations
    @implicitNotFound( ... )
  44. trait Replacer[L <: HList, U, V] extends DepFn2[L, V] with Serializable

    Permalink

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

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

    Annotations
    @implicitNotFound( ... )
  45. trait Reverse[L <: HList] extends DepFn1[L] with Serializable

    Permalink

    Type class supporting reversing this HList.

  46. trait ReversePrepend[P <: HList, S <: HList] extends DepFn2[P, S] with Serializable

    Permalink

    Type class supporting reverse prepending to this HList.

  47. trait ReverseSplit[L <: HList, N <: Nat] extends DepFn1[L] with Serializable

    Permalink

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

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

    Annotations
    @implicitNotFound( ... )
  48. trait ReverseSplitLeft[L <: HList, U] extends DepFn1[L] with Serializable

    Permalink

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

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

    Annotations
    @implicitNotFound( ... )
  49. trait ReverseSplitRight[L <: HList, U] extends DepFn1[L] with Serializable

    Permalink

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

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

    Annotations
    @implicitNotFound( ... )
  50. trait RightFolder[L <: HList, In, HF] extends DepFn2[L, In] with Serializable

    Permalink

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

  51. trait RightReducer[L <: HList, HF] extends DepFn1[L] with Serializable

    Permalink

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

  52. trait RightScanner[L <: HList, In, P <: Poly] extends DepFn2[L, In] with Serializable

    Permalink

    Type class supporting right scanning of this HList with a binary polymorphic function.

  53. trait RotateLeft[L <: HList, N <: Nat] extends DepFn1[L] with Serializable

    Permalink

    Type class supporting rotating a HList left

  54. trait RotateRight[L <: HList, N <: Nat] extends DepFn1[L] with Serializable

    Permalink

    Type class supporting rotating a HList right

  55. trait Selector[L <: HList, U] extends DepFn1[L] with Serializable

    Permalink

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

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

    Annotations
    @implicitNotFound( ... )
  56. trait Split[L <: HList, N <: Nat] extends DepFn1[L] with Serializable

    Permalink

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

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

    Annotations
    @implicitNotFound( ... )
  57. trait SplitLeft[L <: HList, U] extends DepFn1[L] with Serializable

    Permalink

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

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

    Annotations
    @implicitNotFound( ... )
  58. trait SplitRight[L <: HList, U] extends DepFn1[L] with Serializable

    Permalink

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

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

    Annotations
    @implicitNotFound( ... )
  59. trait SubtypeUnifier[L <: HList, B] extends DepFn1[L] with Serializable

    Permalink

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

  60. trait Take[L <: HList, N <: Nat] extends DepFn1[L] with Serializable

    Permalink

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

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

    Annotations
    @implicitNotFound( ... )
  61. type ToArray[L <: HList, Lub] = ToTraversable[L, Array] { type Lub = Lub }

    Permalink

    Type aliases and constructors provided for backward compatibility

  62. trait ToCoproduct[L <: HList] extends Serializable

    Permalink

    Type class computing the coproduct type corresponding to this HList.

  63. type ToList[L <: HList, Lub] = ToTraversable[L, List] { type Lub = Lub }

    Permalink
  64. trait ToSized[L <: HList, M[_]] extends DepFn1[L] with Serializable

    Permalink

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

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

    About serializability, see the comment in ToTraversable.

  65. trait ToTraversable[L <: HList, M[_]] extends DepFn1[L] with Serializable

    Permalink

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

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

    Serializable if the CanBuildFroms it implicitly finds are too. Note that the CanBuildFroms from the standard library are *not* serializable. See the tests for how to make your own serializable CanBuildFrom available to ToTraversable.

  66. trait Transposer[L <: HList] extends DepFn1[L] with Serializable

    Permalink

    Type class supporting transposing this HList.

  67. trait Tupler[L <: HList] extends DepFn1[L] with Serializable

    Permalink

    Type class supporting conversion of this HList to a tuple.

  68. trait Unifier[L <: HList] extends DepFn1[L] with Serializable

    Permalink

    Type class supporting unification of this HList.

  69. trait Unzip[L <: HList] extends DepFn1[L] with Serializable

    Permalink

    Type class supporting unzipping this HList of tuples returning a tuple of HLists.

  70. trait Zip[L <: HList] extends DepFn1[L] with Serializable

    Permalink

    Type class supporting zipping this HList of HLists returning an HList of tuples.

  71. trait ZipApply[FL <: HList, AL <: HList] extends DepFn2[FL, AL] with Serializable

    Permalink

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

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

    Annotations
    @implicitNotFound( ... )
  72. trait ZipConst[C, L <: HList] extends DepFn2[C, L] with Serializable

    Permalink

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

  73. trait ZipOne[H <: HList, T <: HList] extends DepFn2[H, T] with Serializable

    Permalink

    Type class supporting zipping this HList with an HList of HLists returning an HList of HLists with each element of this HList prepended to the corresponding HList element of the argument HList.

  74. trait ZipWith[L <: HList, R <: HList, P <: Poly2] extends DepFn2[L, R] with Serializable

    Permalink

    Type class supporting zipping an 'HList' with another 'HList' using a 'Poly2' resulting in an HList

  75. trait ZipWithKeys[K <: HList, V <: HList] extends DepFn1[V] with Serializable

    Permalink

    Type class supporting zipping an HList of values with an HList of keys to create a record.

Value Members

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. object Align extends Serializable

    Permalink
  5. object At extends Serializable

    Permalink
  6. object Collect extends LowPriorityCollect with Serializable

    Permalink
  7. object Comapped extends LowPriorityComapped with Serializable

    Permalink
  8. object ConstMapper extends Serializable

    Permalink
  9. object Drop extends Serializable

    Permalink
  10. object Fill extends Serializable

    Permalink
  11. object Filter extends Serializable

    Permalink
  12. object FilterNot extends Serializable

    Permalink
  13. object FlatMapInterleave extends Serializable

    Permalink
  14. object FlatMapper extends Serializable

    Permalink
  15. object HKernel

    Permalink
  16. object HKernelAux

    Permalink
  17. object HNilHKernel extends HNilHKernel with Product with Serializable

    Permalink
  18. object Init extends Serializable

    Permalink
  19. object Interleave extends Serializable

    Permalink
  20. object IsHCons extends Serializable

    Permalink
  21. object Last extends Serializable

    Permalink
  22. object LeftFolder extends Serializable

    Permalink
  23. object LeftReducer extends Serializable

    Permalink
  24. object LeftScanner extends Serializable

    Permalink
  25. object Length extends Serializable

    Permalink
  26. object MapCons extends Serializable

    Permalink
  27. object MapFolder extends Serializable

    Permalink
  28. object Mapped extends Serializable

    Permalink
  29. object Mapper extends Serializable

    Permalink
  30. object Modifier extends Serializable

    Permalink
  31. object NatTRel extends Serializable

    Permalink
  32. object Partition extends Serializable

    Permalink
  33. object Patcher extends Serializable

    Permalink
  34. object Permutations extends Serializable

    Permalink
  35. object Prepend extends LowPriorityPrepend with Serializable

    Permalink
  36. object Remove extends Serializable

    Permalink
  37. object RemoveAll extends Serializable

    Permalink
  38. object ReplaceAt extends Serializable

    Permalink
  39. object Replacer extends Serializable

    Permalink
  40. object Reverse extends Serializable

    Permalink
  41. object ReversePrepend extends LowPriorityReversePrepend with Serializable

    Permalink
  42. object ReverseSplit extends Serializable

    Permalink
  43. object ReverseSplitLeft extends Serializable

    Permalink
  44. object ReverseSplitRight extends Serializable

    Permalink
  45. object RightFolder extends Serializable

    Permalink
  46. object RightReducer extends Serializable

    Permalink
  47. object RightScanner extends Serializable

    Permalink
  48. object RotateLeft extends LowPriorityRotateLeft with Serializable

    Permalink
  49. object RotateRight extends LowPriorityRotateRight with Serializable

    Permalink
  50. object Selector extends Serializable

    Permalink
  51. object Split extends Serializable

    Permalink
  52. object SplitLeft extends Serializable

    Permalink
  53. object SplitRight extends Serializable

    Permalink
  54. object SubtypeUnifier extends Serializable

    Permalink
  55. object Take extends Serializable

    Permalink
  56. def ToArray[L <: HList, Lub](implicit toArray: ToArray[L, Lub]): ToArray[L, Lub]

    Permalink
  57. object ToCoproduct extends Serializable

    Permalink
  58. def ToList[L <: HList, Lub](implicit toList: ToList[L, Lub]): ToList[L, Lub]

    Permalink
  59. object ToSized extends Serializable

    Permalink
  60. object ToTraversable extends Serializable

    Permalink
  61. object Transposer extends Serializable

    Permalink
  62. object Tupler extends TuplerInstances with Serializable

    Permalink
  63. object Unifier extends Serializable

    Permalink
  64. object Unzip extends Serializable

    Permalink
  65. object Zip extends Serializable

    Permalink
  66. object ZipApply extends Serializable

    Permalink
  67. object ZipConst extends Serializable

    Permalink
  68. object ZipOne extends Serializable

    Permalink
  69. object ZipWith extends Serializable

    Permalink
  70. object ZipWithKeys extends Serializable

    Permalink
  71. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  72. def clone(): AnyRef

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  78. implicit def hlistOrdering[H, T <: HList](implicit hOrdering: Ordering[H], tOrdering: Ordering[T]): Ordering[::[H, T]]

    Permalink
  79. implicit object hnilOrdering extends Ordering[HNil]

    Permalink
  80. final def isInstanceOf[T0]: Boolean

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

    Permalink
    Definition Classes
    AnyRef
  82. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  83. final def notifyAll(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  85. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped