Ref.Custom.Containers

trait Containers[A]

Custom Containers Setup

This trait customizes generic containers with given Ref type.

Custom.Containers are already mixed with Custom.Data, so the application code usually uses them indirectly when defining data elements.

Generally there is no performance difference when using customized vs. generic containers, just better readability. For example:

 val s: ~[String] = \/
 // is equivalent to
 val s: String.~  = \/

 val o: Opt[String] = \/
 // is equivalent to
 val o: String.Opt  = \/
Source
__.scala
class java.lang.Object
trait scala.Matchable
class Any
class Ref.Custom.Data[A, Ref.Custom.Data.BASE]
object BigDecimal
object BigInteger
class Ref.Custom.Data.Ordered[A, Ref.Custom.Data.Ordered.BASE]

Alias

@scala.annotation.targetName("Stream")
type ~ = ~[A]
Source
__.scala
@scala.annotation.targetName("Stream")
val ~: ~
Source
__.scala
@scala.annotation.targetName("Range")
type <> = <>[A]
Source
__.scala
@scala.annotation.targetName("Range")
Source
__.scala
@scala.annotation.targetName("Pack")
type >< = ><[A]
Source
__.scala
@scala.annotation.targetName("Pack")
Source
__.scala
type Buffer = Ref.Buffer[A]
Source
__.scala
type Idx = Idx[A]
Source
__.scala
type Lookup[B] = Lookup[A, B]
Source
__.scala
type Opt = Opt[A]
Source
__.scala
type Pro = Pro[A]
Source
__.scala
type Promise = Promise[A]
Source
__.scala
type Result = Result[A]
Source
__.scala