object Shapeless extends ScalapropsShapeless
- Annotations
- @deprecated
- Deprecated
(Since version 0.4.3) use ScalapropsShapeless instead
- Source
- ScalapropsShapeless.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Shapeless
- ScalapropsShapeless
- FieldTypeInstances
- DerivedInstances
- CoproductInstances
- HListInstances
- SingletonInstances
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
implicit
def
cogenFieldType[K, H](implicit underlying: Cogen[H]): Cogen[FieldType[K, H]]
- Definition Classes
- FieldTypeInstances
-
implicit
def
cogenSingletonType[S](implicit w: Aux[S]): Cogen[S]
Derives
Cogen[T]
instances forT
a singleton type, likeWitness.
"str"
.T
orWitness.
true
.T
for example.Derives
Cogen[T]
instances forT
a singleton type, likeWitness.
"str"
.T
orWitness.
true
.T
for example.The generated
Cogen[T]
behaves likeCogen[Unit]
, as likeUnit
, singleton types only have one instance.- Definition Classes
- SingletonInstances
- Note
Extra contramap, that inserts a
next
call on the returned seeds, so that case objects are returned the same Cogen here and when derived through Generic.
-
implicit
def
coproductCogen[C <: Coproduct](implicit c: MkCoproductCogen[C]): Cogen[C]
- Definition Classes
- CoproductInstances
-
implicit
def
coproductGen[C <: Coproduct](implicit gen: MkCoproductGen[C]): Gen[C]
- Definition Classes
- CoproductInstances
-
implicit
def
coproductShrink[C <: Coproduct](implicit s: MkCoproductShrink[C]): Shrink[C]
- Definition Classes
- CoproductInstances
-
implicit
def
derivedCogen[T](implicit ev: LowPriority, underlying: Strict[MkCogen[T]]): Cogen[T]
- Definition Classes
- DerivedInstances
-
implicit
def
derivedGen[T](implicit ev: LowPriority, underlying: Strict[MkGen[T]]): Gen[T]
- Definition Classes
- DerivedInstances
-
implicit
def
derivedShrink[T](implicit ev: LowPriority, underlying: Strict[MkShrink[T]]): Shrink[T]
- Definition Classes
- DerivedInstances
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
implicit
def
genFieldType[K, H](implicit underlying: Gen[H]): Gen[FieldType[K, H]]
- Definition Classes
- FieldTypeInstances
-
implicit
def
genSingletonType[S](implicit w: Aux[S]): Gen[S]
- Definition Classes
- SingletonInstances
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
implicit
def
hlistCogen[L <: HList](implicit c: MkHListCogen[L]): Cogen[L]
- Definition Classes
- HListInstances
-
implicit
def
hlistGen[L <: HList](implicit gen: MkHListGen[L]): Gen[L]
- Definition Classes
- HListInstances
-
implicit
def
hlistShrink[L <: HList](implicit s: MkHListShrink[L]): Shrink[L]
- Definition Classes
- HListInstances
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
implicit
def
shrinkFieldType[K, H](implicit underlying: Shrink[H]): Shrink[FieldType[K, H]]
- Definition Classes
- FieldTypeInstances
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()