Constrained

object Constrained
class Object
trait Matchable
class Any

Value members

Concrete methods

def apply[A, B](value: A): Constrained[A, B]

Public "constructor" for Constrained.

Public "constructor" for Constrained.

Type Params
A

value's type

B

the passed constraint's dummy

Value Params
value

the value to be wrapped

Returns

The Constrained version of value