trait
ToListConstraint[T, +R] extends AnyRef
Abstract Value Members
-
abstract
def
apply(t: T): List[R]
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
def
+(other: String): String
-
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
-
-
-
-
-
-
def
finalize(): Unit
-
def
formatted(fmtstr: String): String
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
Typeclass to convert an object into a list, default implementation is provided in the companion object. Differs from ListBuilderConstraint in that this is typically not built using structural induction, rather uses LubConstraint to fix a lower bound and a ListBuilderConstraint to do the conversion given the lower bound.
Author:
Harshad Deo
Type of the object being constructed
Element type of resultant list
0.1