shapeless.ops

hlist

Related Doc: package ops

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 At[L <: HList, N <: Nat] extends DepFn1[L]

    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.

  2. 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.

  3. trait ConstMapper[C, L <: HList] extends DepFn2[C, L]

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

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

    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.

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

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

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

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

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

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

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

  9. 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.

  10. trait HKernelAux[L <: HList] extends AnyRef

  11. trait HNilHKernel extends HKernel

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

    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.

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

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

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

    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.

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

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

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

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

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

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

  18. trait LowPriorityComapped extends AnyRef

  19. trait LowPriorityPrepend extends AnyRef

  20. trait LowPriorityReversePrepend extends AnyRef

  21. trait LowPriorityToArray extends AnyRef

  22. trait LowPriorityToList extends AnyRef

  23. 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.

  24. 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.

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

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

  26. 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.

    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.

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

    Type class supporting prepending to this HList.

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

    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 U.

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

    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.

  30. 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.

    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.

  31. 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.

    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.

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

    Type class supporting reversing this HList.

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

    Type class supporting reverse prepending to this HList.

  34. 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.

    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.

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

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

    Type class supporting splitting this HList at the first occurence 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.

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

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

    Type class supporting splitting this HList at the last occurence 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.

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

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

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

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

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

    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.

  40. 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.

    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.

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

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

    Type class supporting splitting this HList at the first occurence 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.

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

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

    Type class supporting splitting this HList at the last occurence 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.

  43. 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.

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

    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.

  45. trait ToArray[-L <: HList, Lub] extends AnyRef

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

  46. trait ToList[-L <: HList, Lub] extends AnyRef

    Type class supporting conversion of this HList to an ordinary List with elements typed as the least upper bound of the types of the elements of this HList.

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

    Type class supporting transposing this HList.

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

    Type class supporting conversion of this HList to a tuple.

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

    Type class supporting unification of this HList.

  50. trait Union[L <: HList] extends AnyRef

    Type class computing the coproduct type corresponding to this HList.

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

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

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

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

  53. 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.

    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.

  54. 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})

  55. 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.

  56. 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

  57. trait ZipWithKeys[K <: HList, V <: HList] extends DepFn2[K, V]

    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

    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 Comapped extends LowPriorityComapped

  6. object ConstMapper

  7. object Drop

  8. object Filter

  9. object FilterNot

  10. object FlatMapper

  11. object HKernel

  12. object HKernelAux

  13. object HNilHKernel extends HNilHKernel with Product with Serializable

  14. object Init

  15. object IsHCons

  16. object Last

  17. object LeftFolder

  18. object LeftReducer

  19. object Length

  20. object MapFolder

  21. object Mapped

  22. object Mapper

  23. object NatTRel

  24. object Prepend extends LowPriorityPrepend

  25. object Remove

  26. object RemoveAll

  27. object ReplaceAt

  28. object Replacer

  29. object Reverse

  30. object ReversePrepend extends LowPriorityReversePrepend

  31. object ReverseSplit

  32. object ReverseSplitLeft

  33. object ReverseSplitRight

  34. object RightFolder

  35. object RightReducer

  36. object Selector

  37. object Split

  38. object SplitLeft

  39. object SplitRight

  40. object SubtypeUnifier

  41. object Take

  42. object ToArray extends LowPriorityToArray

  43. object ToList extends LowPriorityToList

  44. object Transposer

  45. object Tupler extends TuplerInstances

  46. object Unifier

  47. object Union

  48. object Unzip

  49. object Zip

  50. object ZipApply

  51. object ZipConst

  52. object ZipOne

  53. object ZipWith

  54. object ZipWithKeys

  55. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  56. def clone(): AnyRef

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

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

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

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

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

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

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

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

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

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

    Definition Classes
    AnyRef
  67. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped