shapeless

package shapeless

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

Type Members

  1. sealed trait :+:[+H, +T <: Coproduct] extends Coproduct

  2. final case class ::[+H, +T <: HList](head: H, tail: T) extends HList with Product with Serializable

    Non-empty HList element type.

  3. trait <:!<[A, B] extends AnyRef

  4. trait =:!=[A, B] extends AnyRef

  5. trait AdditiveCollection[Repr] extends Serializable

    Evidence that Repr instances can be nested in a Sized.

    Evidence that Repr instances can be nested in a Sized.

    Should assert that a Builder[_, Repr] given n elements will result in a Repr of length n.

  6. class ApplyEverything[F <: Poly] extends AnyRef

  7. trait ApplyUnapplyFacet extends ProductISOFacet

  8. trait BasisConstraint[L <: HList, M <: HList] extends Serializable

    Type class witnessing that every element of L is an element of M.

  9. sealed trait CNil extends Coproduct

  10. class CachedImplicitMacros extends AnyRef

  11. trait CaseClassFacet extends AnyRef

  12. trait CaseClassMacros extends ReprTypes

  13. trait CaseInst extends AnyRef

  14. trait Cases extends AnyRef

  15. type Const[C] = AnyRef { type λ[T] = C }

  16. sealed trait Coproduct extends AnyRef

  17. trait CopyFacet extends CaseClassFacet

  18. trait Coselect[T] extends AnyRef

  19. trait Data[F, T, R] extends Serializable

    Type class representing one-level generic queries.

  20. trait Data0 extends AnyRef

  21. trait Data1 extends Data0

  22. trait DataT[F, T] extends Serializable

    Type class representing one-level generic transformations.

  23. trait DataT0 extends AnyRef

  24. trait DataT1 extends DataT0

  25. trait DefaultCaseClassDefns extends ApplyUnapplyFacet with ProductFacet with PolymorphicEqualityFacet with CopyFacet with ToStringFacet

  26. trait DefaultSymbolicLabelling[T] extends DepFn0 with Serializable

  27. trait DepFn0 extends AnyRef

    Dependent nullary function type.

  28. trait DepFn1[T] extends AnyRef

    Dependent unary function type.

  29. trait DepFn2[T, U] extends AnyRef

    Dependent binary function type.

  30. trait DerivationContext extends CaseClassMacros

  31. type Everything[F <: Poly, K <: Poly, T] = Case[EverythingAux[F, K], ::[T, HNil]]

    The SYB everything combinator

  32. class EverythingAux[F, K] extends Poly

  33. type Everywhere[F <: Poly, T] = Case[EverywhereAux[F], ::[T, HNil]]

    The SYB everywhere combinator

  34. class EverywhereAux[F] extends Poly

  35. trait FieldOf[V] extends AnyRef

    Field with values of type V.

    Field with values of type V.

    Record keys of this form should be objects which extend this trait. Keys may also be arbitrary singleton typed values, however keys of this form enforce the type of their values.

  36. trait FieldPoly extends Poly1

    Polymorphic function that allows modifications on record fields while preserving the original key types.

  37. trait Fin[N <: Succ[_]] extends AnyRef

    Base trait for type level finite numbers, i.e.

    Base trait for type level finite numbers, i.e. numbers less than some bound N

  38. case class FinSucc[N <: Succ[_], P <: Fin[N]]() extends Fin[Succ[N]] with Product with Serializable

    Encoding of successor.

  39. case class FinZero[N <: Succ[_]]() extends Fin[N] with Product with Serializable

    Encoding of zero.

  40. trait Generic[T] extends Serializable

  41. trait Generic1[F[_], FR[_[_]]] extends Serializable

  42. class Generic1Macros extends CaseClassMacros

  43. class GenericMacros extends CaseClassMacros

  44. sealed trait HList extends Product with Serializable

    HList ADT base trait.

  45. class HMap[R[_, _]] extends Poly1

    Heterogenous map with type-level key/value associations that are fixed by an arbitrary relation R.

    Heterogenous map with type-level key/value associations that are fixed by an arbitrary relation R.

    HMaps extend Poly and hence are also polymorphic function values with type-specific cases corresponding to the map's type-level key/value associations.

  46. class HMapBuilder[R[_, _]] extends AnyRef

  47. sealed trait HNil extends HList

    Empty HList element type.

  48. trait HasCoproductGeneric[T] extends Serializable

  49. trait HasProductGeneric[T] extends Serializable

  50. type Id[+T] = T

  51. trait InferProduct[C <: Coproduct, K] extends AnyRef

  52. final case class Inl[+H, +T <: Coproduct](head: H) extends :+:[H, T] with Product with Serializable

  53. final case class Inr[+H, +T <: Coproduct](tail: T) extends :+:[H, T] with Product with Serializable

  54. trait IsCCons1[L[_], FH[_[_]], FT[_[_]]] extends AnyRef

  55. class IsCCons1Macros extends IsCons1Macros

  56. trait IsCons1Macros extends CaseClassMacros

  57. trait IsHCons1[L[_], FH[_[_]], FT[_[_]]] extends AnyRef

  58. class IsHCons1Macros extends IsCons1Macros

  59. trait IsTuple[T] extends Serializable

  60. trait KeyConstraint[L <: HList, M <: HList] extends Serializable

    Type class witnessing that every element of L is of the form FieldType[K, V] where K is an element of M.

  61. trait LUBConstraint[L <: HList, B] extends Serializable

    Type class witnessing that every element of L is a subtype of B.

  62. trait LabelledGeneric[T] extends Generic[T]

  63. class LabelledMacros extends SingletonTypeUtils with CaseClassMacros

  64. trait LabelledProductTypeClass[C[_]] extends AnyRef

    A type class abstracting over the product operation of type classes over types of kind *, as well as deriving instances using an isomorphism.

    A type class abstracting over the product operation of type classes over types of kind *, as well as deriving instances using an isomorphism. Refines ProductTypeClass with the addition of runtime String labels corresponding to the names of the product elements.

  65. trait LabelledProductTypeClassCompanion[C[_]] extends AnyRef

  66. trait LabelledTypeClass[C[_]] extends LabelledProductTypeClass[C]

    A type class additionally abstracting over the coproduct operation of type classes over types of kind *.

    A type class additionally abstracting over the coproduct operation of type classes over types of kind *.

    Name hints can be safely ignored.

  67. trait LabelledTypeClassCompanion[C[_]] extends LabelledProductTypeClassCompanion[C]

  68. trait Lazy[+T] extends Serializable

  69. class LazyMacros extends AnyRef

  70. trait Lens[S, A] extends Dynamic with Serializable

  71. trait LowPriorityMkPathOptic extends AnyRef

  72. trait LowPriorityMkSelectDynamicOptic extends AnyRef

  73. trait LowPrioritySegment extends AnyRef

  74. trait LowPrioritySized extends AnyRef

  75. trait LowPriorityTypeable extends AnyRef

  76. trait LowPriorityWitnessWith extends AnyRef

  77. trait Lub[-A, -B, Out] extends Serializable

    Type class witnessing the least upper bound of a pair of types and providing conversions from each to their common supertype.

  78. trait MkCoproductSelectPrism[C <: Coproduct, T] extends Serializable

  79. trait MkCtorPrism[A, B] extends AnyRef

  80. trait MkFieldLens[A, K] extends AnyRef

  81. trait MkGenericLens[T] extends Serializable

  82. trait MkHListNthLens[L <: HList, N <: Nat] extends Serializable

  83. trait MkHListSelectLens[L <: HList, U] extends Serializable

  84. trait MkLabelledGenericLens[T] extends Serializable

  85. trait MkNthFieldLens[A, N <: Nat] extends AnyRef

  86. trait MkPathOptic[S, P <: HList] extends AnyRef

  87. trait MkRecordSelectLens[R <: HList, K] extends Serializable

  88. trait MkSelectDynamicOptic[R, A, K, B] extends AnyRef

  89. trait Nat extends AnyRef

    Base trait for type level natural numbers.

  90. trait Nats extends AnyRef

  91. trait OpticComposer[L, R] extends AnyRef

  92. case class Orphan[F[_], D, T](instance: F[T]) extends Product with Serializable

  93. trait OrphanDeriver[F[_], D] extends AnyRef

  94. class OrphanMacros extends CaseClassMacros

  95. trait Path[T <: HList] extends Dynamic

  96. trait Poly extends PolyApply with Serializable

    Base trait for polymorphic values.

  97. trait Poly0 extends Poly

    Trait simplifying the creation of polymorphic values.

  98. trait Poly1 extends Poly

  99. trait Poly10 extends Poly

  100. trait Poly11 extends Poly

  101. trait Poly12 extends Poly

  102. trait Poly13 extends Poly

  103. trait Poly14 extends Poly

  104. trait Poly15 extends Poly

  105. trait Poly16 extends Poly

  106. trait Poly17 extends Poly

  107. trait Poly18 extends Poly

  108. trait Poly19 extends Poly

  109. trait Poly2 extends Poly

  110. trait Poly20 extends Poly

  111. trait Poly21 extends Poly

  112. trait Poly22 extends Poly

  113. trait Poly3 extends Poly

  114. trait Poly4 extends Poly

  115. trait Poly5 extends Poly

  116. trait Poly6 extends Poly

  117. trait Poly7 extends Poly

  118. trait Poly8 extends Poly

  119. trait Poly9 extends Poly

  120. trait PolyApply extends AnyRef

  121. trait PolyInst extends AnyRef

  122. class PolyMacros extends AnyRef

  123. trait PolymorphicEqualityFacet extends ProductISOFacet

  124. trait Prism[S, A] extends Dynamic with Serializable

  125. trait ProductArgs extends Dynamic

    Trait supporting mapping dynamic argument lists to HList arguments.

    Trait supporting mapping dynamic argument lists to HList arguments.

    Mixing in this trait enables method applications of the form,

    lhs.method(23, "foo", true)

    to be rewritten as,

    lhs.methodProduct(23 :: "foo" :: true)

    ie. the arguments are rewritten as HList elements and the application is rewritten to an application of an implementing method (identified by the "Product" suffix) which accepts a single HList argument.

  126. trait ProductFacet extends ProductISOFacet

  127. trait ProductISOFacet extends CaseClassFacet

  128. trait ProductLensBuilder[C, P <: Product] extends Lens[C, P]

  129. class ProductMacros extends SingletonTypeUtils

  130. trait ProductPrismBuilder[C, P <: Product] extends Prism[C, P]

  131. trait ProductTypeClass[C[_]] extends AnyRef

    A type class abstracting over the product operation of type classes over types of kind *, as well as deriving instances using an isomorphism.

  132. trait ProductTypeClassCompanion[C[_]] extends AnyRef

  133. trait RecordArgs extends Dynamic

    Trait supporting mapping named argument lists to record arguments.

    Trait supporting mapping named argument lists to record arguments.

    Mixing in this trait enables method applications of the form,

    lhs.method(x = 23, y = "foo", z = true)

    to be rewritten as,

    lhs.methodRecord('x ->> 23 :: 'y ->> "foo", 'z ->> true)

    ie. the named arguments are rewritten as record fields with the argument name encoded as a singleton-typed Symbol and the application is rewritten to an application of an implementing method (identified by the "Record" suffix) which accepts a single record argument.

  134. class RecordMacros extends AnyRef

  135. trait ReprTypes extends AnyRef

  136. trait Segment[P, S, T <: HList] extends AnyRef

  137. trait Select[T] extends AnyRef

  138. trait SingletonProductArgs extends Dynamic

    Trait supporting mapping dynamic argument lists to singleton-typed HList arguments.

    Trait supporting mapping dynamic argument lists to singleton-typed HList arguments.

    Mixing in this trait enables method applications of the form,

    lhs.method(23, "foo", true)

    to be rewritten as,

    lhs.methodProduct(23.narrow :: "foo".narrow :: true.narrow)

    ie. the arguments are rewritten as singleton-typed HList elements and the application is rewritten to an application of an implementing method (identified by the "Product" suffix) which accepts a single HList argument.

  139. class SingletonTypeMacros extends SingletonTypeUtils

  140. trait SingletonTypeUtils extends ReprTypes

  141. final class Sized[+Repr, L <: Nat] extends AnyVal

    Wrapper for a collection type witnessing that it has the statically specified length.

    Wrapper for a collection type witnessing that it has the statically specified length. Can be applied to any type which can be viewed as a GenTraversableLike, ie. standard collections, Arrays, Strings etc.

  142. class SizedBuilder[CC[_]] extends AnyRef

  143. class SizedOps[A0, Repr, L <: Nat] extends AnyRef

    Carrier for Sized operations.

    Carrier for Sized operations.

    These operations are implemented here as extension methods of the minimal Sized type to avoid issues that would otherwise be caused by its covariance.

  144. case class Succ[P <: Nat]() extends Nat with Product with Serializable

    Encoding of successor.

  145. trait ToStringFacet extends ProductFacet

  146. trait TupleTypeableInstances extends AnyRef

  147. trait TypeCase[T] extends Serializable

    Extractor for use of Typeable in pattern matching.

    Extractor for use of Typeable in pattern matching.

    Thanks to Stacy Curl for the idea.

  148. trait TypeClass[C[_]] extends ProductTypeClass[C]

    A type class additionally abstracting over the coproduct operation of type classes over types of kind *.

  149. trait TypeClassCompanion[C[_]] extends ProductTypeClassCompanion[C]

  150. trait Typeable[T] extends Serializable

    Type class supporting type safe cast.

  151. class TypeableMacros extends SingletonTypeUtils

  152. trait UnaryTCConstraint[L <: HList, TC[_]] extends Serializable

    Type class witnessing that every element of L has TC as its outer type constructor.

  153. class UnionMacros extends AnyRef

  154. trait Unpack1[-PP, FF[_], A] extends AnyRef

    Type class witnessing that type PP is equal to FF[A] for some higher kinded type FF[_] and type(s) A.

  155. trait Unpack10[-PP, FF[_, _, _, _, _, _, _, _, _, _], A, B, C, D, E, F, G, H, I, J] extends AnyRef

    Type class witnessing that type PP is equal to FF[A, B, C, D, E, F, G, H, I, J] for some higher kinded type FF[_, _, _, _, _, _, _, _, _, _] and type(s) A, B, C, D, E, F, G, H, I, J.

  156. trait Unpack11[-PP, FF[_, _, _, _, _, _, _, _, _, _, _], A, B, C, D, E, F, G, H, I, J, K] extends AnyRef

    Type class witnessing that type PP is equal to FF[A, B, C, D, E, F, G, H, I, J, K] for some higher kinded type FF[_, _, _, _, _, _, _, _, _, _, _] and type(s) A, B, C, D, E, F, G, H, I, J, K.

  157. trait Unpack12[-PP, FF[_, _, _, _, _, _, _, _, _, _, _, _], A, B, C, D, E, F, G, H, I, J, K, L] extends AnyRef

    Type class witnessing that type PP is equal to FF[A, B, C, D, E, F, G, H, I, J, K, L] for some higher kinded type FF[_, _, _, _, _, _, _, _, _, _, _, _] and type(s) A, B, C, D, E, F, G, H, I, J, K, L.

  158. trait Unpack13[-PP, FF[_, _, _, _, _, _, _, _, _, _, _, _, _], A, B, C, D, E, F, G, H, I, J, K, L, M] extends AnyRef

    Type class witnessing that type PP is equal to FF[A, B, C, D, E, F, G, H, I, J, K, L, M] for some higher kinded type FF[_, _, _, _, _, _, _, _, _, _, _, _, _] and type(s) A, B, C, D, E, F, G, H, I, J, K, L, M.

  159. trait Unpack14[-PP, FF[_, _, _, _, _, _, _, _, _, _, _, _, _, _], A, B, C, D, E, F, G, H, I, J, K, L, M, N] extends AnyRef

    Type class witnessing that type PP is equal to FF[A, B, C, D, E, F, G, H, I, J, K, L, M, N] for some higher kinded type FF[_, _, _, _, _, _, _, _, _, _, _, _, _, _] and type(s) A, B, C, D, E, F, G, H, I, J, K, L, M, N.

  160. trait Unpack15[-PP, FF[_, _, _, _, _, _, _, _, _, _, _, _, _, _, _], A, B, C, D, E, F, G, H, I, J, K, L, M, N, O] extends AnyRef

    Type class witnessing that type PP is equal to FF[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O] for some higher kinded type FF[_, _, _, _, _, _, _, _, _, _, _, _, _, _, _] and type(s) A, B, C, D, E, F, G, H, I, J, K, L, M, N, O.

  161. trait Unpack16[-PP, FF[_, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _], A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P] extends AnyRef

    Type class witnessing that type PP is equal to FF[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P] for some higher kinded type FF[_, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _] and type(s) A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P.

  162. trait Unpack17[-PP, FF[_, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _], A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q] extends AnyRef

    Type class witnessing that type PP is equal to FF[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q] for some higher kinded type FF[_, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _] and type(s) A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q.

  163. trait Unpack18[-PP, FF[_, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _], A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R] extends AnyRef

    Type class witnessing that type PP is equal to FF[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R] for some higher kinded type FF[_, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _] and type(s) A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R.

  164. trait Unpack19[-PP, FF[_, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _], A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S] extends AnyRef

    Type class witnessing that type PP is equal to FF[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S] for some higher kinded type FF[_, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _] and type(s) A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S.

  165. trait Unpack2[-PP, FF[_, _], A, B] extends AnyRef

    Type class witnessing that type PP is equal to FF[A, B] for some higher kinded type FF[_, _] and type(s) A, B.

  166. trait Unpack20[-PP, FF[_, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _], A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T] extends AnyRef

    Type class witnessing that type PP is equal to FF[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T] for some higher kinded type FF[_, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _] and type(s) A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T.

  167. trait Unpack21[-PP, FF[_, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _], A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U] extends AnyRef

    Type class witnessing that type PP is equal to FF[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U] for some higher kinded type FF[_, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _] and type(s) A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U.

  168. trait Unpack22[-PP, FF[_, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _], A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V] extends AnyRef

    Type class witnessing that type PP is equal to FF[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V] for some higher kinded type FF[_, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _] and type(s) A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V.

  169. trait Unpack3[-PP, FF[_, _, _], A, B, C] extends AnyRef

    Type class witnessing that type PP is equal to FF[A, B, C] for some higher kinded type FF[_, _, _] and type(s) A, B, C.

  170. trait Unpack4[-PP, FF[_, _, _, _], A, B, C, D] extends AnyRef

    Type class witnessing that type PP is equal to FF[A, B, C, D] for some higher kinded type FF[_, _, _, _] and type(s) A, B, C, D.

  171. trait Unpack5[-PP, FF[_, _, _, _, _], A, B, C, D, E] extends AnyRef

    Type class witnessing that type PP is equal to FF[A, B, C, D, E] for some higher kinded type FF[_, _, _, _, _] and type(s) A, B, C, D, E.

  172. trait Unpack6[-PP, FF[_, _, _, _, _, _], A, B, C, D, E, F] extends AnyRef

    Type class witnessing that type PP is equal to FF[A, B, C, D, E, F] for some higher kinded type FF[_, _, _, _, _, _] and type(s) A, B, C, D, E, F.

  173. trait Unpack7[-PP, FF[_, _, _, _, _, _, _], A, B, C, D, E, F, G] extends AnyRef

    Type class witnessing that type PP is equal to FF[A, B, C, D, E, F, G] for some higher kinded type FF[_, _, _, _, _, _, _] and type(s) A, B, C, D, E, F, G.

  174. trait Unpack8[-PP, FF[_, _, _, _, _, _, _, _], A, B, C, D, E, F, G, H] extends AnyRef

    Type class witnessing that type PP is equal to FF[A, B, C, D, E, F, G, H] for some higher kinded type FF[_, _, _, _, _, _, _, _] and type(s) A, B, C, D, E, F, G, H.

  175. trait Unpack9[-PP, FF[_, _, _, _, _, _, _, _, _], A, B, C, D, E, F, G, H, I] extends AnyRef

    Type class witnessing that type PP is equal to FF[A, B, C, D, E, F, G, H, I] for some higher kinded type FF[_, _, _, _, _, _, _, _, _] and type(s) A, B, C, D, E, F, G, H, I.

  176. trait ValueConstraint[L <: HList, M <: HList] extends Serializable

    Type class witnessing that every element of L is of the form FieldType[K, V] where V is an element of M.

  177. trait Witness extends Serializable

  178. trait WitnessWith[TC[_]] extends Witness

  179. case class Zipper[C, L <: HList, R <: HList, P](prefix: L, suffix: R, parent: P) extends Product with Serializable

    Generic Zipper for any type with a representation via Generic.

  180. class _0 extends Nat with Serializable

    Encoding of zero.

  181. class nonGeneric extends Annotation with StaticAnnotation

  182. type |¬|[T] = AnyRef { type λ[U] = shapeless.package.<:!<[U,T] }

  183. type |∨|[T, U] = AnyRef { type λ[X] = <:<[shapeless.package.¬¬[X],shapeless.package.∨[T,U]] }

  184. class ~?>[K[_], V[_]] extends Serializable

    Type class witnessing the existence of a natural transformation between K[_] and V[_].

    Type class witnessing the existence of a natural transformation between K[_] and V[_].

    Use this trait to represent an HMap relation of the form K[T] maps to V[T].

  185. type ¬[T] = (T) ⇒ Nothing

  186. type ¬¬[T] = (¬[T]) ⇒ Nothing

  187. type [P[_]] = ([[X](P[X]) ⇒ Nothing]) ⇒ Nothing

  188. type [P[_]] = P[_]

  189. type [T, U] = T with U

  190. type [T, U] = ([¬[T], ¬[U]]) ⇒ Nothing

Value Members

  1. object AdditiveCollection extends Serializable

  2. object BasisConstraint extends Serializable

  3. object BuildInfo extends Product with Serializable

  4. object Coproduct extends Dynamic

  5. object Data extends Data1 with Serializable

  6. object DataT extends DataT1 with Serializable

  7. object DefaultSymbolicLabelling extends Serializable

  8. object DerivationContext

  9. object EverythingAux extends Serializable

  10. object EverywhereAux extends Serializable

  11. object Fin

  12. object Generic extends Serializable

  13. object Generic1 extends Serializable

  14. object HList extends Dynamic with Serializable

  15. object HMap extends Serializable

  16. object HNil extends HNil with Product with Serializable

    Empty HList value.

  17. object HasCoproductGeneric extends Serializable

  18. object HasProductGeneric extends Serializable

  19. object InferProduct

  20. object IsCCons1

  21. object IsHCons1

  22. object IsTuple extends Serializable

  23. object KeyConstraint extends Serializable

  24. object LUBConstraint extends Serializable

  25. object LabelledGeneric extends Serializable

  26. object Lazy extends Serializable

  27. object LazyMacros

  28. object Lub extends Serializable

  29. object MkCoproductSelectPrism extends Serializable

  30. object MkCtorPrism

  31. object MkFieldLens

  32. object MkGenericLens extends Serializable

  33. object MkHListNthLens extends Serializable

  34. object MkHListSelectLens extends Serializable

  35. object MkLabelledGenericLens extends Serializable

  36. object MkNthFieldLens

  37. object MkPathOptic extends LowPriorityMkPathOptic

  38. object MkRecordSelectLens extends Serializable

  39. object MkSelectDynamicOptic extends LowPriorityMkSelectDynamicOptic

  40. object Nat extends Nats

    Type level encoding of the natural numbers.

  41. object NatMacros

  42. object OpticComposer

  43. object OpticDefns

  44. object Orphan extends Serializable

  45. object Path extends Path[HNil]

  46. object Poly extends PolyInst with Serializable

    Provides implicit conversions from polymorphic function values to monomorphic function values, eg.

    Provides implicit conversions from polymorphic function values to monomorphic function values, eg. for use as arguments to ordinary higher order functions.

  47. object PolyDefns extends Cases

  48. object Segment extends LowPrioritySegment

  49. object Sized extends LowPrioritySized

  50. object TheMacros

  51. object Tuple

  52. object TypeCase extends Serializable

  53. object Typeable extends TupleTypeableInstances with LowPriorityTypeable with Serializable

    Provides instances of Typeable.

    Provides instances of Typeable. Also provides an implicit conversion which enhances arbitrary values with a cast[T] method.

  54. object UnaryTCConstraint extends Serializable

  55. object Unpack1

  56. object Unpack10

  57. object Unpack11

  58. object Unpack12

  59. object Unpack13

  60. object Unpack14

  61. object Unpack15

  62. object Unpack16

  63. object Unpack17

  64. object Unpack18

  65. object Unpack19

  66. object Unpack2

  67. object Unpack20

  68. object Unpack21

  69. object Unpack22

  70. object Unpack3

  71. object Unpack4

  72. object Unpack5

  73. object Unpack6

  74. object Unpack7

  75. object Unpack8

  76. object Unpack9

  77. object ValueConstraint extends Serializable

  78. object Witness extends Dynamic with Serializable

  79. object WitnessWith extends LowPriorityWitnessWith with Serializable

  80. object Zipper extends Serializable

  81. val ^: Path.type

  82. macro def cachedImplicit[T]: T

  83. def everything(f: Poly): ApplyEverything[f.type]

  84. def everywhere(f: Poly): EverywhereAux[f.type]

  85. val fin: Fin.type

    'Fin'

  86. object labelled

  87. object lazily

  88. val lens: OpticDefns.type

  89. val nat: Nat.type

    Nat literals

  90. implicit def neq[A, B]: =:!=[A, B]

  91. implicit def neqAmbig1[A]: =:!=[A, A]

  92. implicit def neqAmbig2[A]: =:!=[A, A]

  93. object newtype

  94. implicit def nsub[A, B]: <:!<[A, B]

  95. implicit def nsubAmbig1[A, B >: A]: <:!<[A, B]

  96. implicit def nsubAmbig2[A, B >: A]: <:!<[A, B]

  97. package ops

  98. val optic: OpticDefns.type

    Optic definitions

  99. val poly: PolyDefns.type

    Poly definitions

  100. val prism: OpticDefns.type

  101. object productElements extends Poly1

    Higher ranked function which converts products to HLists.

  102. object record

    Record operations on HList's with field-like elements.

  103. package syntax

  104. object tag

  105. package test

  106. object the extends Dynamic

    An enhanced alternative to Predef.implicitly.

    An enhanced alternative to Predef.implicitly.

    Used as a term the[T] yields the unique implicit value of type T in the current implicit scope, if any. It is a compile time error if there is no such value. Its primary advantage over Predef.implicitly is that it will preserve any refinement that the implicit definition has, resulting in more precisely typed, and hence often more useful, values,

    scala> trait Foo { type T ; val t: T }
    defined trait Foo
    
    scala> implicit val intFoo: Foo { type T = Int } = new Foo { type T = Int ; val t = 23 }
    intFoo: Foo{type T = Int} = $anon$1@6067b682
    
    scala> implicitly[Foo].t  // implicitly loses precision
    res0: Foo#T = 23
    
    scala> implicitly[Foo].t+13
    <console>:13: error: type mismatch;
     found   : Int(13)
     required: String
                  implicitly[Foo].t+13
                                    ^
    
    scala> the[Foo].t         // the retains it
    res1: Int = 23
    
    scala> the[Foo].t+13
    res2: Int = 36

    Unlike implicitly, the can also be used in type position, thanks to a trick due to Denys Shabalin (@den_sh) and Eugene Burmako (@xeno_by). Here we use a combination of selectDynamic and backticks to embed a type in a path which appears to the compiler as stable,

    scala> val i: implicitly[Foo].T = 23  // syntax error
    <console>:1: error: ';' expected but '.' found.
           val i: implicitly[Foo].T = 23
                                 ^
    scala> val i: the.`Foo`.T = 23        // OK
    i: Int = 23
  107. object tupled extends Poly1

    Higher ranked function which converts HLists to tuples.

  108. def unexpected: Nothing

  109. object union

  110. object ~?> extends Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped