Packages

case class ShapedValue[T, U](value: T, shape: Shape[_ <: FlatShapeLevel, T, U, _]) extends Rep[U] with Product with Serializable

A value together with its Shape

Source
Shape.scala
Linear Supertypes
Serializable, Product, Equals, Rep[U], AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ShapedValue
  2. Serializable
  3. Product
  4. Equals
  5. Rep
  6. AnyRef
  7. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ShapedValue(value: T, shape: Shape[_ <: FlatShapeLevel, T, U, _])

Value Members

  1. def <>[R](f: (U) => R, g: (R) => Option[U])(implicit arg0: ClassTag[R]): MappedProjection[R, U]
  2. def encodeRef(path: Node): ShapedValue[T, U]

    Encode a reference into this Rep.

    Encode a reference into this Rep.

    Definition Classes
    ShapedValueRep
  3. macro def mapTo[R <: Product with Serializable](implicit rCT: ClassTag[R]): MappedProjection[R, U]
  4. def packedValue[R](implicit ev: Shape[_ <: FlatShapeLevel, T, _, R]): ShapedValue[R, U]
  5. def productElementNames: Iterator[String]
    Definition Classes
    Product
  6. val shape: Shape[_ <: FlatShapeLevel, T, U, _]
  7. def shaped: ShapedValue[T, U]
    Annotations
    @inline()
  8. def toNode: Node

    Get the Node for this Rep.

    Get the Node for this Rep.

    Definition Classes
    ShapedValueRep
  9. def toString(): String
    Definition Classes
    Rep → AnyRef → Any
  10. val value: T
  11. def zip[T2, U2](s2: ShapedValue[T2, U2]): ShapedValue[(T, T2), (U, U2)]