shapeless.ops

hlist

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

    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]

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

  3. trait Collect[I <: HList, P <: Poly] extends DepFn1[I]

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

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

    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]

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

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

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

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

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

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

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

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

    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]

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

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

    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

  13. trait HKernel extends AnyRef

    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

  15. trait HNilHKernel extends HKernel

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

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

  17. trait Interleave[A, L <: HList] extends DepFn2[A, L]

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

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

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

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

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

  20. trait LeftFolder[L <: HList, In, HF] extends DepFn2[L, In]

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

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

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

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

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

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

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

  24. trait LowPriorityCollect extends AnyRef

  25. trait LowPriorityComapped extends AnyRef

  26. trait LowPriorityPrepend extends AnyRef

  27. trait LowPriorityReversePrepend extends AnyRef

  28. trait LowPriorityRotateLeft extends AnyRef

  29. trait LowPriorityRotateRight extends AnyRef

  30. trait MapCons[A, M <: HList] extends DepFn2[A, M]

  31. trait MapFolder[L <: HList, R, HF] extends AnyRef

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

  32. trait Mapped[L <: HList, F[_]] extends AnyRef

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

  33. trait Mapper[HF, In <: HList] extends DepFn1[In]

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

  34. trait Modifier[L <: HList, U, V] extends DepFn2[L, (U) ⇒ 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.

  35. trait NatTRel[L1 <: HList, F1[_], L2 <: HList, F2[_]] extends AnyRef

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

  36. trait Partition[L <: HList, U] extends DepFn1[L]

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

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

    Type class supporting the patching of an HList

  38. trait Permutations[L <: HList] extends DepFn1[L]

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

  39. trait Prepend[P <: HList, S <: HList] extends DepFn2[P, S]

    Type class supporting prepending to this HList.

  40. trait Remove[L <: HList, E] extends DepFn1[L]

    Type class supporting removal of an element from this HList.

  41. trait RemoveAll[L <: HList, SL <: HList] extends DepFn1[L]

    Type class supporting removal of a sublist from this HList.

  42. trait ReplaceAt[L <: HList, N <: Nat, V] extends DepFn2[L, V]

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

  43. trait Replacer[L <: HList, U, V] extends DepFn2[L, V]

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

  44. trait Reverse[L <: HList] extends DepFn1[L]

    Type class supporting reversing this HList.

  45. trait ReversePrepend[P <: HList, S <: HList] extends DepFn2[P, S]

    Type class supporting reverse prepending to this HList.

  46. trait ReverseSplit[L <: HList, N <: Nat] extends DepFn1[L]

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

  47. trait ReverseSplitLeft[L <: HList, U] extends DepFn1[L]

    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.

  48. trait ReverseSplitRight[L <: HList, U] extends DepFn1[L]

    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.

  49. trait RightFolder[L <: HList, In, HF] extends DepFn2[L, In]

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

  50. trait RightReducer[L <: HList, HF] extends DepFn1[L]

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

  51. trait RightScanner[L <: HList, In, P <: Poly] extends DepFn2[L, In]

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

  52. trait RotateLeft[L <: HList, N <: Nat] extends DepFn1[L]

    Type class supporting rotating a HList left

  53. trait RotateRight[L <: HList, N <: Nat] extends DepFn1[L]

    Type class supporting rotating a HList right

  54. trait Selector[L <: HList, U] extends DepFn1[L]

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

  55. trait Split[L <: HList, N <: Nat] extends DepFn1[L]

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

  56. trait SplitLeft[L <: HList, U] extends DepFn1[L]

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

  57. trait SplitRight[L <: HList, U] extends DepFn1[L]

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

  58. trait SubtypeUnifier[L <: HList, B] extends DepFn1[L]

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

  59. trait Take[L <: HList, N <: Nat] extends DepFn1[L]

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

  60. type ToArray[L <: HList, Lub] = ToTraversable[L, Array] { type Lub = Lub }

    Type aliases and constructors provided for backward compatibility

  61. trait ToCoproduct[L <: HList] extends AnyRef

    Type class computing the coproduct type corresponding to this HList.

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

  63. trait ToSized[L <: HList, M[_]] extends DepFn1[L]

    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.

  64. trait ToTraversable[L <: HList, M[_]] extends DepFn1[L]

    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.

  65. trait Transposer[L <: HList] extends DepFn1[L]

    Type class supporting transposing this HList.

  66. trait Tupler[L <: HList] extends DepFn1[L]

    Type class supporting conversion of this HList to a tuple.

  67. trait Unifier[L <: HList] extends DepFn1[L]

    Type class supporting unification of this HList.

  68. trait Unzip[L <: HList] extends DepFn1[L]

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

  69. trait Zip[L <: HList] extends DepFn1[L]

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

  70. trait ZipApply[FL <: HList, AL <: HList] extends DepFn2[FL, AL]

    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.

  71. trait ZipConst[C, L <: HList] extends DepFn2[C, L]

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

  72. trait ZipOne[H <: HList, T <: HList] extends DepFn2[H, T]

    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.

  73. trait ZipWith[L <: HList, R <: HList, P <: Poly2] extends DepFn2[L, R]

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

  74. trait ZipWithKeys[K <: HList, V <: HList] extends DepFn1[V]

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

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

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

    Definition Classes
    Any
  6. object Align

  7. object At

  8. object Collect extends LowPriorityCollect

  9. object Comapped extends LowPriorityComapped

  10. object ConstMapper

  11. object Drop

  12. object Fill

  13. object Filter

  14. object FilterNot

  15. object FlatMapInterleave

  16. object FlatMapper

  17. object HKernel

  18. object HKernelAux

  19. object HNilHKernel extends HNilHKernel with Product with Serializable

  20. object Init

  21. object Interleave

  22. object IsHCons

  23. object Last

  24. object LeftFolder

  25. object LeftReducer

  26. object LeftScanner

  27. object Length

  28. object MapCons

  29. object MapFolder

  30. object Mapped

  31. object Mapper

  32. object Modifier

  33. object NatTRel

  34. object Partition

  35. object Patcher

  36. object Permutations

  37. object Prepend extends LowPriorityPrepend

  38. object Remove

  39. object RemoveAll

  40. object ReplaceAt

  41. object Replacer

  42. object Reverse

  43. object ReversePrepend extends LowPriorityReversePrepend

  44. object ReverseSplit

  45. object ReverseSplitLeft

  46. object ReverseSplitRight

  47. object RightFolder

  48. object RightReducer

  49. object RightScanner

  50. object RotateLeft extends LowPriorityRotateLeft

  51. object RotateRight extends LowPriorityRotateRight

  52. object Selector

  53. object Split

  54. object SplitLeft

  55. object SplitRight

  56. object SubtypeUnifier

  57. object Take

  58. def ToArray[L <: HList, Lub](l: L)(implicit toArray: ToArray[L, Lub]): ToArray[L, Lub]

  59. object ToCoproduct

  60. def ToList[L <: HList, Lub](l: L)(implicit toList: ToList[L, Lub]): ToList[L, Lub]

  61. object ToSized

  62. object ToTraversable

  63. object Transposer

  64. object Tupler extends TuplerInstances

  65. object Unifier

  66. object Unzip

  67. object Zip

  68. object ZipApply

  69. object ZipConst

  70. object ZipOne

  71. object ZipWith

  72. object ZipWithKeys

  73. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  74. def clone(): AnyRef

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

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

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

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

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

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

  81. implicit object hnilOrdering extends Ordering[HNil]

  82. final def isInstanceOf[T0]: Boolean

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

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

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

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

    Definition Classes
    AnyRef
  87. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped